If you have a divider and the clamping diodes you should be ok - note that an opto coupler would be more robust especially against variations in ground potential - depends how fast a signal though.
No idea, it was and maybe still is a silicon bug, or it might have been fixed. The nice thing about the MCP23S17 is you can multiplex 8 on the same SPI bus with only one CS line, which makes it a no-brainer to chose SPI over I2C if its...
No, with I2C the A7 and B7 pins cannot be used reliably as inputs. This is a known silicon bug in the MCP23017, the SPI version (MCP23S17) is OK though - so its 7 encoders per 23017, 8 per 23S17.
If you had an RC filter at the analog input of the Teensy you'd have to wait about 8 or 9 time constants after changing the multiplexer before taking a reading to allow it to settle to 12 bit accuracy. You can have individual RC filters on each...
Table 8 in the SGTL5000 datasheet explains the various combinations of sample rate and clock multiplier supported: https://www.nxp.com/docs/en/data-sheet/SGTL5000.pdf
Audio DACs/ADCs typically claim to support only a set of fixed rates, but in...
Those are transformer-based couplers which can be pretty noisy for EMI, especially at high speeds or the ones with internal oscillators. Fast opto and capacitive couplers are also available.
Above about 30Mbit/s you start to require careful attention to track impedance and routing, for instance don't expect things to work reliably on a breadboard up at 80Mbit/s, even with careful layout and short wiring.
There are 3 main types of isolator, optical, capacitive and magnetic. Of the optical sort there are standard phototransistor types (all very slow), and faster ones using photo-diodes and amplification. Capacitive and magnetic ones are usually...
Piezo elements typically electrically look like a type II ceramic capacitor (which is kind of what they are) in parallel with a current source, and its best to add some protection around them. All type II ceramic caps are microphonic.
Why not use a suitable H-bridge driver chip - many advantages that way, like undervoltage lockout, programmable deadtime etc. Then standard PWM can be used.
The HIP4081A has too short a deadtime, but I'm sure there's something else suitable out...
MCP23S17 interrupts? That's 16 (or maybe 8) interrupt pins unless you common them as open-drain? That would reduce the bandwidth needed on their SPI bus.
Yes, those are standard dupont-style female headers(*). Just make sure the plating matches, tin for tin, gold for gold. Mixing tin and gold is bad news over time.
(*) Hundreds of manufacturers make them
In general if the processor has an FPU use it... As I understand it with dual-issue support the T4's support single float ops upto 1.2GFlops, and double floats upto 0.6GFlops. Assuming the compiler gets everything just right of course...
Note that a zener diode won't prevent damage if the Teensy is unpowered when the LEDs are powered - then the protection diodes do all the work. Its best to use Schottky diodes to back a CMOS chip's internal protection diodes, as Schottky diodes...
rotary encoder switches, or on motor shafts? The bandwidth requirements are very different... What polling frequency are you using with the buttons and encoders?
Cheap hook up wires are often AWG 26 or thinnner and CCA rather than copper. Basically they save money by using wire so thin its not compatible with the crimps used, so its not unknown for bad wires to occur (correctly crimped wires are...
And there's contact resistance to consider, should be milliohms but can be > 0.1 ohm in bad cases, and there are 4 contacts in the power/ground cable wiring all in series too...
That's not an air-cored transformer, its a toroidal transformer(*). Could it be a thermal-cutout switch operating? Or a damaged winding internally responding to thermal changes?
(*) the core is ring shaped within the windings.
Conformal coating you mean? For a marine environment I'd recommend conformal coating _and_ hermetically sealed enclosures and connectors, salt water and salty air really destroys electronics and rapidly.
ESD? induced transient from nearby high voltage wiring? - can happen - its best to protect low bandwidth inputs with capacitors to ground as that will protect against such transients. For a pot input 100nF is going to do nicely.
Metal cans like crystals/oscillators absorb radiated IR heat less well than epoxy components, so I suspect the reflow profile wasn't quite right, leaving some un-flowed solder paste under them.
Years ago I did something to handle high datarates on another system using SDRAM (original 100MHz style, not DDR). Basically ran a datapath using SDRAMs, 16 bit D-Q latches (TI "widebus" series, 74AC16374), and generated the control signals for...
More power supply decoupling per strip, quite large values are needed, maybe 330uF to several mF, as the base frequencies are in the kHz range. Some strips have access to the power at both ends, try adding decoupling at both ends.
Heavy filtering? USB is notoriously noisy and its probably wise to only use USB cables with big ferrites at each end. It may also just be noise from the 5V power over USB which comes from the laptop - a powered hub might be worth trying...
And makes sure its 1.8V version too - I got caught out, I realized I'd ordered the A version, so I ordered R version but didn't check the voltage, so had to reorder again...
Many discrete 12 bits ADC are fully monotonic and highly linear, but yes no ADC can remove noise or such, but careful PCB design (separate analog and digital ground planes) around the ADC will always be much better than any microcontroller with...
Keep any inductor away from the crystal oscillator pins which can be sensitive to pickup. Normally with a BGA device the underside is peppered with lots of small decoupling caps so they can be close to the chip.
ADCs on microcontrollers are always a compromise as they are in a noisy environment and made with a less than ideal process. Go with a external 12 bit ADC I reckon, that's plenty of resolution for a rotary knob (5 minutes of arc!). There's a 16...