I have a mcp3208 ADC chip in a breadboard wired to an stm32 board. The board is powered via the USB, SPI frequency is 160Hz
Things work great only if I have a USB logical analyzer connected to the MISO line. With the analyzer plugged into another USB port, I have a 100% success rate in my SPI communications.
As soon as I disconnect the analyzer, I start seeing a 30-50-80% error rate: the initial bits of the response are wrong in half of the SPI responses.
I've tried grounding the MISO line with 2pf. 10pf. 100pf etc capacitors to no avail. Please help
I have no idea how the analyzer fixes what problem, but it must be doing something?
Here is a picture just to give a better idea of my setup:
Things work great only if I have a USB logical analyzer connected to the MISO line. With the analyzer plugged into another USB port, I have a 100% success rate in my SPI communications.
As soon as I disconnect the analyzer, I start seeing a 30-50-80% error rate: the initial bits of the response are wrong in half of the SPI responses.
I've tried grounding the MISO line with 2pf. 10pf. 100pf etc capacitors to no avail. Please help
Here is a picture just to give a better idea of my setup:
