How to enable SPI in STM32WB5MMG using STMCubeIDE?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-01-19 6:00 AM
We made a custom PCB board using STM32WB5MMG. We tried connecting with ADS1299 using SPI, but we are new to this controller. So we didn't know how to enable SPI and transfer and receive data from it.
Thanks,
- Labels:
-
SPI
-
STM32CubeIDE
-
STM32WB series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-01-19 7:04 AM
Hi @Anandbalu​,
download STM32CubeMX - STM32Cube initialization code generator - STMicroelectronics and use this tool to set the target configuration in the GUI. Then the tool will generate the project with initalization code for you.
BR,
J
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-01-19 9:38 AM
And code for transfer you found on firmware folder examples or on STM32CubeWB/Projects at master · STMicroelectronics/STM32CubeWB · GitHub
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-01-22 10:08 PM
Hi @MM..1​
Thank you for your reply,
The mentioned link has QSPI examples. Can we have any simple SPI1 or SPI2 examples?
It would be more helpful to us.
Thanks,
Ananthakumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-01-22 10:59 PM
STM32CubeWB/Projects/P-NUCLEO-WB55.Nucleo/Examples/SPI at master · STMicroelectronics/STM32CubeWB (github.com)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-01-23 12:11 AM
If youre using cubeMX, and HAL libraries it should be the same as in https://controllerstech.com/how-to-use-spi-with-stm32/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-01-23 4:16 AM
Stm32cubeIDE have same wizard for config board simply click on SPI and setup for example
or for module
