Hi, in my previous post I was able to get 16-bit data on MOSI line (here). Now I moved to work on receiving data on MISO line. I am testing this with a SPI device and trying to receive some data. For which using AD5592, which has a feature of writing to some register and then reading them back to verify the SPI write operation done correctly. Tested communication with AD5592 by using native SPI and able to write and read back the register content of AD5592. Then worked on receiving the data with USART based SPI find the attachment. But not receiving anything. The data should be received in RHR but when polled RXRDY bit in the US_CSR register shows 0 indicating did not receive any data.
If I want to implement a USART receive handler how it can be done in Arduino Due?
Signal in Green is SCK
Signal in Yellow is MOSI
Signal in Blue is MISO
Signal in Pink is CS
First two bytes are writing to AD5592 read configuration register with 0b1010000 00100000 to make CH5 as input. And next two bytes are for sending NOP (all 0's) to get the readback on MISO. It should read 0b100000.