2023-01-19 06: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,
2023-01-19 07: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.
2023-01-19 09:38 AM
And code for transfer you found on firmware folder examples or on STM32CubeWB/Projects at master · STMicroelectronics/STM32CubeWB · GitHub
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
2023-01-22 10:59 PM
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/
2023-01-23 04:16 AM
Stm32cubeIDE have same wizard for config board simply click on SPI and setup for example
or for module