2021-05-14 12:48 AM
I bet mostly everyone who's had their hands on a Nucleo board and an S2LP addon board encountered the lack of support for the CubeIDE integration.
So my question is: did anyone get the S2LP-DK or S2LP-SigFox-DK demo projects working with CubeIDE or do I need to move away from the official ST software and install another toolchain (EWARM/MDK-ARM) just so I can get this to work? Would you be able to share the project?
Thanks and regards,
Paul
2021-07-27 01:32 PM
Hi Paul,
My recommendation is to build your own program. Probably not what you wanted to hear, but I struggled for a long time trying to get the example programs working before giving up and writing my own, which (surprisingly) wasn't too difficult. If you can use the CubeMX tool and the HAL libraries, its fairly straight forward. The S2-LP-DX GUI provides you with the set up values for the S2-LP, and then you just need to get SPI running to communicate with the transceiver. The auto-generated code from the STM32CubeIDE should do the majority of the set up for you.
If you can find the reference manual for the microcontroller on the Nucleo board, it's a gold mine of information about how the chip works. I've also attached the User Manual for the Nucleo boards which contains the pinout of each of the different board types. Hopefully this helps you get started, feel free to reach out if you have any questions :smiling_face_with_smiling_eyes: