STM32MP157-DK2: UART7 is not working .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-06-26 11:00 AM
UART7 is not working when configured with same pin numbers as given in the STMCubeMX code.
When connected as per schematic pin config, it is working.(Corresponding code also changed)
So why is this happening like this?
Please help.
Solved! Go to Solution.
- Labels:
-
STM32MP15 Lines
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-06-27 01:11 AM
Hello,
STM32CubeMX setup for STM32MP157C-DK2 board does not automatically allocate Arduino peripherals on right location (as not used in our Starter Package demo and Arduino pins could be used for many usages). Simply activating UART7 make CubeMx to assign RX/TX to a free ball, without guarantee it is the one corresponding on the board schematics.
Under CubeMx, you have to assign manually the UART7_TX/RX on PE8/PE7 respectively:
- either type PE8 (or PE7) in lower right search box to make it blinking, then right click on the ball to select the UART7 function. This work before or after UART7 enable in CubeMx.
- or type UART7 in lower right search box to make balls blinking, then CTRL+click to drag to the correct 'blue highlighted' ball you want (i.e. PE8/PE7). This obviously only work after UART7 is enabled in CubeMx.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-06-27 01:11 AM
Hello,
STM32CubeMX setup for STM32MP157C-DK2 board does not automatically allocate Arduino peripherals on right location (as not used in our Starter Package demo and Arduino pins could be used for many usages). Simply activating UART7 make CubeMx to assign RX/TX to a free ball, without guarantee it is the one corresponding on the board schematics.
Under CubeMx, you have to assign manually the UART7_TX/RX on PE8/PE7 respectively:
- either type PE8 (or PE7) in lower right search box to make it blinking, then right click on the ball to select the UART7 function. This work before or after UART7 enable in CubeMx.
- or type UART7 in lower right search box to make balls blinking, then CTRL+click to drag to the correct 'blue highlighted' ball you want (i.e. PE8/PE7). This obviously only work after UART7 is enabled in CubeMx.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-06-27 01:29 AM
Hello Patrick,
Thank you for the clarification.
We have a more important problem in the same area. Combination of OpenAMP framework and UART7.
I created a separate question for that.
This is very important for us. Please clarify.
Thank you.
Best Regards,
Upendar Reddy Sama