2023-03-09 07:20 AM
Hello, I tested the VL53L4CD with the Nucleo-STM32F401 using the ST-Example and I got Ranging readings. However, when I port the code to use the STM32WL55JC, I always get an I/O Error.
I use the same pin configurations to drive the sensor as in the Example(STM32F4) but with no luck.
The I2C is working but the Ranging is not, I noticed that CubeMX doesn't activate the NVIC interrupt-line for the GPIO1(The Sensor-interrupt-pin) and I can't enable it.
I have 2 Questions:
1- Are there any special configurations related to the STM32WL55JC when dealing with the GPIOs that I should take care of?
2- How I can enable the EXTI-Lines for the interrupt pins that I'm using?
Thank you
Amir
2023-03-12 10:13 AM
My apologies, I didn't see this part in the application-note
It seems that the interrupt is very limited for the peripherals when activating the dual-core.
My issue was solved by selecting only a single core.
But now LoRaWAN can't be enabled anymore from CubeMX!!