Other Parts Discussed in Thread: ADS1299
Tool/software:
I'm interfacing AM2434 with ADS1299 via SPI. I'm reading data for 8 channels, and storing it in a 27-byte buffer (3 status bytes + 24 channel data bytes).
-
The first 3 bytes (status) match with logic analyzer output.
-
The remaining 24 bytes (channel data) don't match the logic analyzer.
-
I'm using MCSPI in Mode 1, SCLK = 20 MHz.
-
Suspecting a possible issue with MCSPI initialization or timing.
I have attached the MCSPI_transaction initialization image below.
I'm attaching the observed logic analyzer data vs Serial monitor data tried to print.
Has anyone faced a similar issue?
What could be causing the mismatch in channel data?
Thanks in advance