2023-09-11 08:58 AM
I'm fairly new to embedded work and noted that the pin layout that was given for X-NUCLEO-53L5A1 was for the F401RE, which I initially tested, but when attempting to configure it with the H743ZI2 I wanted to maintain the use of the ETH and USB port pinouts.
If anyone has a bit of insight on how I can do this that would be gratefully appreciated!
Solved! Go to Solution.
2024-04-25 11:33 AM - edited 2024-04-25 11:54 AM
Sorry for the late reply @Sime200992 , but I was able to adapt the stm32h743ZI. Let me know if you have already completed this or need some assistance. I'd be happy to help!
The image below showing I only configured 3 Pins. 2 for the i2c messages(SDA and SCL): PB8 and PB9. The other pin is incorrectly labeled, but it is the pin(if i recall ) to supply power: PB1.
Here are a few other screenshots to help:
2023-09-11 09:34 AM
Hello @JahKMC
Best regards.
II
2023-09-11 12:27 PM
@Issamos Yes this is what I am currently attempting to do. Would you happen to know if the MX_USB pins can be used to communicate over serial? rather than utilize UART?
2023-09-11 12:56 PM
For a serial communication with the board, you should always use UART2 interface.
Best regards.
II
2023-09-12 08:54 AM
Thank you @Issamos I'm currently referencing the build example for the F401RE(https://www.st.com/en/embedded-software/stsw-img023.html) , though I believe I've done the necessary changes I see to be receiving a hard fault. Left is H7 and F4 is right. This has been the only change to the Main.c file and this is with H7 loaded default with the Tof F software pack.
2023-09-12 09:04 AM - edited 2023-09-12 09:04 AM
You also have to change the gpio you are going to use, the configuration, the modes,....
Also don't forget the difference between the cortex M7 and cortex M4. You have to rebuild the code from scratch.
Best regards.
II
2023-09-14 12:58 PM - edited 2023-09-14 01:03 PM
Yes @Issamos I began with configuration of the pins in CubeMX along with making the changes( The only real change was to the GPIO pin used and the USART pin used),without having to use any wires:
I also used the Software Pack X-CUBE-TOF-1, Board Extension 53L5A1:
As you can see from the screenshot it seems to be failing
2023-10-16 03:22 PM
Hallo JahKMC,
Have you already solved the problem by adapting to the stm32h743zi? I will soon be faced with the same problem and would like to adapt the Nucleo VL53L5CX sensor board to the STM32H743ZI.
with kind regards
Sime
2024-04-25 11:33 AM - edited 2024-04-25 11:54 AM
Sorry for the late reply @Sime200992 , but I was able to adapt the stm32h743ZI. Let me know if you have already completed this or need some assistance. I'd be happy to help!
The image below showing I only configured 3 Pins. 2 for the i2c messages(SDA and SCL): PB8 and PB9. The other pin is incorrectly labeled, but it is the pin(if i recall ) to supply power: PB1.
Here are a few other screenshots to help: