SPI communication basic STM32F103ZE
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-06-03 12:24 AM
Posted on June 03, 2014 at 09:24
Hello,
This is my first time I am working on STM, previously I successfully work on PIC32.I want really basic information about SPI communication in STM32F103ZE.my questions are,1. How to set the SPI mode, which register ? (STM datasheets are so different than PIC, i didn't find clear info) 2. What library file? can you please specify any SPI libraries ? Thank you.
This discussion is locked. Please start a new topic to ask your question.
3 REPLIES 3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-06-03 1:45 AM
Posted on June 03, 2014 at 10:45
Hi
'' 2. What library file? can you please specify any SPI libraries ?'' ST provide a whole library for all the peripherals in the processor, they call it the Standard Peripheral Libray. It can be download here : http://www.st.com/web/catalog/tools/FM147/CL1794/SC961/SS1743/PF257890 If it is like the library for the STM32F4 parts, the library file contains examples for all the peripherals (including the SPI). In addition, all the software samples for this device are here : http://www.st.com/stonline/stappl/productcatalog/app?page=partNumberSearchPage&levelid=LN1565&parentid=1743&resourcetype=SWOptions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-06-03 5:18 PM
Posted on June 04, 2014 at 02:18
Thank you for reply..
Can you tell me how to initialize the SPI ?Thank youOptions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-06-03 6:17 PM
Posted on June 04, 2014 at 03:17
STM32F10x_StdPeriph_Lib_V3.5.0\Project\STM32F10x_StdPeriph_Examples\SPI\SPI_FLASH
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..
