SPI on STM32F4
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2013-03-06 6:41 PM
Posted on March 07, 2013 at 03:41
Red.
Hello,
migrating from STM32F1xx to STM32F407. Having difficulties configuring 4-wire serial, sub-optimal documentation for the F4 series, in my opinion. There's a nice section in the reference manual for the F1 about configuring the GPIO's (p. 160 of the RM0008 doc., CD00171190), see below. Is there anything similar for the F4?
This discussion is locked. Please start a new topic to ask your question.
4 REPLIES 4
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2013-03-06 8:51 PM
Posted on March 07, 2013 at 05:51
The F2/F4 are simpler, define all pins as AF_PP or AF_OD, and the peripheral will take care of the direction.
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Up vote any posts that you find helpful, it shows what's working..
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2013-03-07 11:09 AM
Posted on March 07, 2013 at 20:09
Even the NSS pin?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2013-03-07 11:23 AM
Posted on March 07, 2013 at 20:23
Yes, but mind
https://my.st.com/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/DispForm.aspx?ID=28505&RootFolder=%2fpublic%2fSTe2ecommunities%2fmcu%2fLists%2fcortex%5fmx%5fstm32%2fSPI%20problem%20with%20hardware%20NSS%20management&Source=https%3A%2F%2Fmy%2Est%2Ecom%2Fpublic%2FSTe2ecommunities%2Fmcu%2FLists%2Fc...Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2013-03-07 2:17 PM
Posted on March 07, 2013 at 23:17
Even the NSS pin?
Yes, If it is controlled by the peripheral. If you're using some GPIO pin you toggle manually, the peripheral is not involved, and you'll want to configure it as a GPIO.
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Up vote any posts that you find helpful, it shows what's working..
