2018-06-13 12:42 PM
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 #nss2018-06-13 01:09 PM
I haven't fought with this recently, but ST's design is known to be brain damaged...
2018-06-13 01:53 PM
While reading the SPI chapter in RM0360, you may want to focus on the NSS pulse mode subchapter.
JW