Hi,
I am relatively new to the Nordic family of chips and I am very impressed with the level of documentation and support available, so many thanks for that.
I am working on trying to interface an NRF52810 with an STM32L451RxT6 on a custom board over UART (more specifically USART1 on the STM side). I am using SDK 15.2 and Segger embedded studio for programming and debugging the NRF and Atollic TrueSTUDIO on the STM32 side.
I have confirmed that the connection between the STM and NRF is working correctly and have built a small sample application to send some data across in both directions with HW flow control (CTS/RTS) enabled. I am now at the stage where I want to run a serialized application.
I have read all of the serialization documentation here and understand the basics about how it is supposed to work. The next task is to port the serialization library over to the STM32, which I assume is found under nRF5_SDK_15.2.0\components\serialization but please correct me if I am wrong or I am missing things from elsewhere! I think I may also need the components\softdevice and components\ble but it is not clear to me, forgive my ignorance!
I have found an example project from ST where they interface an STM32L1xx with an NRF51822 (link) which has been helpful in setting up ISRs and GPIO in the correct way on the STM; however I think that this may be leading me down the wrong path because the example is for the NRF51 family rather than 52. The layout and structure of the serialization library looks to be very different and I fear will not be compatible with the 52810.
The example under nRF5_SDK_15.2.0\examples\ble_peripheral\ble_app_hrs\pca10040\ser_s132_uart also looks to be quite useful (different SoftDevice but the principles look applicable) which I have studied and it looks like this may be a better starting point to do the porting from. It is quite complex however and I want to make sure that I am doing the right thing first.
If you have any advice or could guide me in the right place to look, I would be very appreciative! Or if there is a more up to date example of serialization for an STM32 that you are aware of, that would be perfect! (maybe I am being a bit too hopeful on that last point!
Many thanks for reading!
Kind regards,
Andy