I am trying to program the Nordic nRF51822 MDBT40 Series module to communicate to an STM32 processor chip. The way I understand the procedure is as follows:
First, I must flash the soft device to the module. I am not sure whether the correct version for this module is the s110 or the s130 and I'm not sure how to find out. Here is more info on the module I am using: https://www.raytac.com/upload/download_files/67c126f04087aeb26db74ad04625782e.pdf
Once this is completed, I can connect to the module via the nRF Connect app.
Is the soft device the only thing I need to flash to the bluetooth module to enable it to transmit to and receive data from the stm32 chip via a UART connection?
Are there any C code examples you're aware of that I could learn from to program the STM32 chip?
Thanks