- L4 based IOC is being used and you may follow the process mentioned in task1 of Getting Started with STMicroelectronics STM32 Processor Based Boards - MATLAB & Simulink - MathWorks India to create the IOC file for L4 based hardware.
- If you want to use native USART that is capable of the serial over USB, USART is to be updated in Simulink Configuration settings and USART should be matching with the one in IOC.
- Also, COM port need to be updated in Simulink Configuration settings.
- If you are not using the native USART, you may need to use external FTDI and corresponding USART configuration and COM port are to be updated in IOC and Configuration settings.
Monitoring and Tuning Using STMicroelectronics STM32 STM32L4xx
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I am trying to do the example "Communicating with STMicroelectronics STM32F4xx Based Hardware Board" but I received connection error. The board is working well when I tried Built,Deploy&Start,so it can comminicate through ST-Link but It cannot through the UART. What can be the reason. Thank you for your answers.
1 Kommentar
Goutham Varanasi
am 30 Aug. 2023
Bearbeitet: Goutham Varanasi
am 30 Aug. 2023
Hi Ahmed,
In case you are using EVAL kit from ST, ensure the following
If custom board is being used, external FTDI cable need to be used and configuration settings has to be updated accordingly in IOC and Simulink Configuration settings.
If the issue persists, you may connect with Mathworks Technical Support with associated files and description of the issue and setup details.
Antworten (2)
AADITHYA KUMAR
am 17 Okt. 2023
the USART 1 pins are also multiplexed with the USB pins and also has 4.7 uF of capacitors connected to them due to which the characters gets distorted and therefore the communication gets effected. So use other USART rather than USART 1.
0 Kommentare
Ramakrishna
am 10 Okt. 2024
HI, Im having the same issue and i tried most of the things out but couldnt find any solution.
I just want to ask that did you over come it (any solution)Please reply IM struggling with this for 2 days
3 Kommentare
Ramakrishna
am 15 Okt. 2024
Okay sir, And I want to ask one more thing How to read analog values I have tried different ways but none of them worked. Please suggest any method..
And the XCP ERROR Ive tried the same thing with nucleo stm32F302R8 it work perfectly #with monitor and tune after changing baud rate
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!