STM32F070 SPI NSS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎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 #nss- Labels:
-
SPI
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-06-13 1:09 PM
I haven't fought with this recently, but ST's design is known to be brain damaged...
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-06-13 1:53 PM
While reading the SPI chapter in RM0360, you may want to focus on the NSS pulse mode subchapter.
JW
