Hi,
In SERCOM SPI slave communication , the slave is returning the same data what master sends instead of returning the slave data (when Master trasnmit 0xAA ,slave should transmit 0x56) .
Suspecting that DATA register is not cleared after transmission. How to verify the data register cleared or not ?
Since INTFLAG.DRE bit in sercom_d51.h file is hardware register , can i access it through my software directly?