Not able to transmit data using LPUART .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-10-16 12:54 AM
Hey Guys ,
I have stm32l053r8 custom board . I am trying to send the data using LPUART but unable to send any data. I have shared the snapshot of the code and the configuration . Please do let me know what I am doing wrong ?
Thanks in advance.
- Labels:
-
LPUART
-
STM32CubeMX
-
STM32L0 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-10-16 8:03 AM
Is it initialized with HAL_UART_Init?
What is the return value from HAL_UART_Transmit?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-10-16 9:14 AM
All the initialization has been done through CubeMx .
​
HAL_UART_Transmit returns 0 as value.
​
One more thing , I have external pull up resistor connected to LPUART TX and RX line of 3.3 v.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-10-16 11:51 AM
Perhaps stop approaching this like a software engineer,and put a scope on the pins (both RX and TX) whilst sending a U character.
Check the signal and the timing.
Perhaps rely less on CubeMX doing the right thing.
What pins are involved?
What are they connecting too to determine the "not working" state?
Can you share this section of the schematic?
Present the problem in a way others may understand the prescient issues.
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-10-16 2:16 PM
There are not any obvious bugs within the information that you have presented.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-10-16 9:45 PM
I am sharing the schematics of my hardware configuration.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-10-16 9:46 PM
