F767zi UART
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-06-02 7:24 PM
I tried 2 demo printf using HAL and UART Tx using LL from your examples. LL demo runs ok and getting message display on Serial COM console. HAL printf demo got not message display. Any suggestion? I hv another board NUCLEO-F411RE works ok for HAL UART. This will proof my PC (win10) and CubeIDE(1.6.1) setup are ok
- Labels:
-
STM32F7 Series
-
UART-USART
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-06-02 8:00 PM
USART3
PD8/PD9 AF7
HSE_VALUE 8000000
Works for me
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-06-02 9:08 PM
> HAL printf demo got not message display.
With HAL, Tx using other methods than printf() (i.e. directly calling HAL functions) works?
JW
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-06-02 9:13 PM
not sure which part should change
same ioc works for Examples_LL/USART/USART_Communication_Tx/Src/main.c
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-06-02 9:25 PM
What's the "2" do here?
HAL_UART_Transmit(&huart3, "Z", "2", 100);
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-06-02 9:30 PM
typo:
HAL_UART_Transmit(&huart3, "Z", 2, 100)
"Z" is the char to send out
2 is the size
but not working as well
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-06-02 11:50 PM
Observe Tx pin using oscilloscope/logic analyzer.
Try to transmit by simply writing to the Tx data register a byte and then performing a long enough delay, in a loop.
Read out and check/compare UART and relevant GPIO registers content between working and non-working case. Also check your clocks setup, e.g. by outputting PWM from a timer on the same APB bus, with the same settings, and observe output waveform.
JW
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-06-10 6:03 AM
I found the solution. I hv to set the RCC: HSE Bypass, & LSE Crystal
thanks all comments and help
