2024-12-01 06:54 AM - last edited on 2024-12-06 08:21 AM by Amel NASRI
Hi everyone,
I have STM Nucleo-F401RE and X-Nucleo-53L7A1. I downloaded the SDK en.X-TOF1. When I check the pin configuration, I saw that X-Nucleo-53L7A1 I2C_RST (PB3) pin is SWO pin on F401RE board at the same time. I needed to delete PB3 pin configuration to connect F401RE board.
However, disconnecting PB3 did not allow me to communicate with ToF camera but I recognized that when I connect PWR_EN (PB0) pin and run the code I also lost debugger connection. When I disconnect the PB0 PWR_EN pin, the code runs but ToF sensor cannot be initialized. I am not sure if it is because Power consumption or not. Should I change pin configuration of SDK? What should I do to understand and solve the problem?
2024-12-20 01:56 AM
Hello,
Can you let us now which version of the X-CUBE-TOF1 you are using ?
Did you have a look to example codes delivered within the X-CUBE-TOF1 to know how to allocate pins ?