radio init planting
Hello,
I'm using a STM32WL55JC in dual core configuration to communicate with LoRa protocol.
I'm also working on an OLED display interface using I2C communication on the same MCU.
I have a working application using LoRa communication without OLED interface.
The OLED interface work well also without the LoRa application.
But when I join the two project, the radio init function drive me into errorhandler...
After investigating I find some weird happening...
First, the radio init bug occured only when I'm calling ssd1306_WriteString. But it doesn't matter what is in this function, in fact if I comment everythings in it, its still bugging... So just the fact that I'm calling it make my programm bug... May it come from parameters of the fonction ?
Secondly, If I call ssd1306_WriteString before the radio init, it print what I want on the screen and when radio init happen it's bugging... But also, if I'm calling ssd1306_WriteString after radio init, it's bugging on radio init... How it can be possible ?? ssd1306_WriteString was never called and it make bug radio ???
I really can't find any links between all of this....
There is more detail on ssd1306_WriteString font parameter :
typedef struct {
const uint8_t FontWidth; /*!< Font width in pixels */
uint8_t FontHeight; /*!< Font height in pixels */
const uint16_t *data; /*!< Pointer to data font data array */
} FontDef;
