AnsweredAssumed Answered

Code for transfer of multiple bytes over SPI using Interrupt and NSS_Hard

Question asked by on Nov 26, 2015
Good Evening,

Does anyone have a working example for transfer of multiple bytes over SPI between 2 STM32 using Interrupts and NSS_Hard ?

I have tried coding both the Master and Slave Side. Both are receiving and transmitting data but there is no synchronization and garbage value is received. I have taken care that NSS is low during transfer and high otherwise.  On scope , I see data those garbage data. But I really cannot figure out where I am getting out of Sync.

If someone could provide me the code , I would be very grateful.