Send data over SPI instead of serial wire debug
I am developing some trackers for personal use in VR and have found an excellent solution that meets my needs using the STM32CubeIDE environment and some boards. I create and test the files, but I realize that debugging over serial communication is not my preferred method. Instead, I want to transmit the data using an nRF module to a PC program that will utilize this information, to achieve this I'm using this part as a drop-in circuit and then linking it to the RF side of things. The STM32 will contain the flash and output the fused data raw to the NRF which includes all the connection and base firmware code, How can I modify the serial communication(or change it in the cube ide environment) to use protocols like I2C or SPI so that I can integrate it into a circuit? after I figure this out I can move to making the boards.
