2022-02-22 05:31 PM
Hi ST,
I am unable to establish UART communication between ST MotorPilot and STEVAL-SPIN3202.
I am uploading one of the two STEVAL-SPIN3202 examples.
Setting up 9600 baud rate (same as in Cube MX settings). Using correct COM port.
Hardware setup:
Power 24VDC connected.
USB connected.
J9: OPEN (BOOT0). (closing does not do any change)
J7: OPEN.
If I debug it:
and resume,I observe green/red USB LEDs blinking.
I am trying to connect with ST MotorPilot - result:
If I run it:
it does not blink red/green USB LEDS and result is the same, no matter whether If close J9 or not and reset the MCU.
Result is the same, :
What am I doing wrong?
Should I Run or Debug?
Regards,
Edward.
Solved! Go to Solution.
2022-02-25 06:27 AM
Hello,
May I ask a question, did you check on workbench interface if UART IP is available (digital i/o box)?
In the example below, it is not available...
If it is the case, I assume that you are using a WB5.Y. if yes, could you try with WB5.4.8 please?
Best regards
2022-02-25 06:27 AM
Hello,
May I ask a question, did you check on workbench interface if UART IP is available (digital i/o box)?
In the example below, it is not available...
If it is the case, I assume that you are using a WB5.Y. if yes, could you try with WB5.4.8 please?
Best regards
2022-02-25 07:31 AM
Hi GMA,
Thank you for the answer.
I ran WB4.5.8
Now UART is active.
I am not sure where I can find UART IP (digital i/o box) on Workbench interface.
In MX, Hardware control is disable by default.
After attempt to copmpile and run:
It does not fit to RAM by 24 bytes.
How can I fix this?
Regards,
Edward.
2022-02-25 08:32 AM
Could you try using "LL - Low Level" for "Drive Type" on Project generation option?
2022-02-25 08:58 AM
Hi GMA,
Thank you very much!
I changed the Drive Type as you suggested.
Now UART communication with Monitor works.
Regards,
Edward.
2022-04-20 02:32 PM
Had this same problem today. To recap for others when using STEVAL-SPIN3202: