STM32G0318 MCU: Does anyone have an example of using SPI with this MCU? I get the reset handler called after initialization, when this line is called: __HAL_SPI_ENABLE(hspi); in HAL_SPI_Transmit.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-04-05 7:57 PM
I used STM32CubeMX to generate a simple project, have a simple breakout board with nothing connected to it other than power, programmer, and ground.
Labels:
- Labels:
-
SPI
-
STM32CubeMX
-
STM32G0 Series
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
‎2020-04-05 10:09 PM
Blinking a LED works?
SPI pins aren't shorted to ground/other pins?
JW
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-04-05 10:19 PM
Thank you for the response:
No the pin are not shorted, I can blink LEDS connected to the same pins.
Thanks!
No the pin are not shorted, I can blink LEDS connected to the same pins.
Thanks!
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-04-06 8:44 AM
Try to write a simple polled register-based SPI transmitter routine, avoiding Cube/HAL.
JW
