Other Parts Discussed in Thread: AFE4403, AFE4400,
Hello,
I am using AFE4403 EVM board, and for the SPI communication with an external MCU (arduino), I remove the registers given inn table 3 of EVM userguide.
I have no issue in write any register, but when I try to read, I get half of the value. For example If I write 8 in register A, I get 4 when I read register A.
I am attaching a Picture of logic analyzer and the sequence of operation is like this:
Green Box = SPI read Disable (AFE ready to write)
Pink Box = Writing 0x8 to address 0xA.
Red Box = SPI read enable (AFE ready to read)
Blue Box = reading 0x4 from register 0xA. (Half of what I previosly storeed in 0xA)
.
Code for read: