cancel
Showing results for 
Search instead for 
Did you mean: 

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

nemisha
Associate II
Posted on November 26, 2015 at 16:38

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.

Regards

#stm32f4 #device #spi #discovery
0 REPLIES 0