cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F070 SPI NSS

Brother Theo
Associate II
Posted on June 13, 2018 at 21:42

Hi,

I am trying to get the hardware to control the NSS line on a SPI bus but it is not cooperating. I am talking to a DAC that requires 16 bits per transmission and 4 transmissions because its a quad DAC. The NSS line needs to go low at the beginning of the transmission (16 bits) and then go high again until the next transmission. I tried all the setting but could not get the hardware to do this. I am generating NSS manually through software right now, but I want to use DMA for this and need the hardware to handle the NSS line. Any ideas?

Thanks!

#spi #nss
2 REPLIES 2
Posted on June 13, 2018 at 22:09

I haven't fought with this recently, but ST's design is known to be brain damaged...

Tips, buy me a coffee, or three.. PayPal Venmo Up vote any posts that you find helpful, it shows what's working..
Posted on June 13, 2018 at 22:53

While reading the SPI chapter in RM0360, you may want to focus on the NSS pulse mode subchapter.

JW