2025-06-18 6:32 PM
Hello, I am using the STM32F429I-Disc1 development board and am trying to communicate with the external adc "ADS131M06". In order to do so, it requires full duplex spi communication with 24 bit words. Our board does not have 24 bit words so instead I am using 8 bit words with DMA communication for minimal if not 0 delay between words. To test that I can properly communicate with the chip, I have set it up with CPOL=LOW, and CPHA=2 edge. I then send 0x00, 0x11, 0x00, (repeat 0x00 21 times). This is because a full communication frame includes an instruction, followed by data, followed by 6 received frames.
When I send the reset command the response from the device is correct but in my memory I receive 0xFE27. Does anyone know what could cause the last bit of each word to be off? I noticed it is also random so sometimes it is correct. The device says it reads on a rising edge and writes on a falling edge, and here DIN transitions at the same edge as DOUT so maybe its that, but no other spi configs worked.
2025-06-19 1:16 AM
Hello @DTarter
Please share your schematic.
did you try to decrease the bitrate ?