cancel
Showing results for 
Search instead for 
Did you mean: 

A Hint to Drive the VL53L4CD using STM32WL55JC

AElgh
Associate III

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.

0693W00000aIb4ZQAS.pngI 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.

0693W00000aIazVQAS.png 

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

1 REPLY 1
AElgh
Associate III

My apologies, I didn't see this part in the application-note

0693W00000aIkTTQA0.png 

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!!

0693W00000aIkURQA0.png