Borrar filtros
Borrar filtros

Embedded Coder Support for STM32 Nucleo-H7a3zi-q

2 visualizaciones (últimos 30 días)
Yohannh
Yohannh el 27 de Mzo. de 2024
Respondida: Asim el 12 de Jul. de 2024
I have trying to get the NUCLEO-H7A3ZI-Q to work with Embedded Coder Support for STM32. So far I have gotten simple models with GPIO digital write and sending data on UART working and running properly from simulink. But basic models using the ADC and PWM blocks of Embedded Coder Support for STM32 STM32H7xx(single core) library is not working. Also monitor and tune function is also not working and giving XCP Internal timeout error. I've done all the steps mentioned in the following thread too
Is there any documentation or material available speciifally for configuring simulnk and stmcubemx parameter for the stm32h7a3zi processors and nucleo boards to build and run models from simulink? I am using NUCLEO-H7A3ZI-Q as the developmemt board. The board mentionioned in embedded coder support package supported board list is NUCLEO-H7A3ZITQ but I am assuming this is the same as mine as I can't find any NUCLEO-H7A3ZITQ board.
  2 comentarios
Yohannh
Yohannh el 27 de Mzo. de 2024
Any example models built and working on STM32H7xx(single core) or NUCLEO-H7A3ZI-Q is appreciated.
Nithin
Nithin el 2 de Abr. de 2024
Could you try disabling ADC calibration from the model's Configuration Parameters and then check? Additionally, you could also try keeping only one of ADC of PWM blocks active (by commenting out the other), and then running Monitor & Tune. This will help isolate the problem at hand.

Iniciar sesión para comentar.

Respuestas (1)

Asim
Asim el 12 de Jul. de 2024
Hello Yohannh,
I have encountered a similar error related to the 'XCP Internal Timeout Error' in external mode. Here is a workaround that helped me resolve the issue:
1. Check Serial Communication: Ensure that serial communication is functioning correctly.
2. Vary Baud Rates: If serial communication is not happening, try adjusting the baud rates on both the IOC and the configuration parameters of the Simulink model.
3. Correct Port Selection: Make sure the correct port is selected for data transfer.
I hope this helps!
Best Regards,
Asim Asrar

Productos


Versión

R2023b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by