cancel
Showing results for 
Search instead for 
Did you mean: 

STMCube MX STM32L053 LPUART pin settings bug

green_om_2006
Associate III
Posted on April 01, 2018 at 00:54

Hello,

I just faced a problem in STMCube MX for STM32L053R8T6, there is no option to select alternative function OPEN DRAIN output for LPUART1.

I see the option for USART1 or USART2 GPIO settings but not for LPUART1.

I First thought that option is not available for LPUART peripheral, so checked all datasheet's related pages ... but didn't find any note about it.

Finally i changed the generated code (LPUART1 MspInit part) manually and set the TX pin of LPUART1 output mode to GPIO_MODE_AF_OD, then it worked.

I just wanted to inform you to correct this bug in the software for future.

The Installed package for L0 series in STMCube is V1.10.0 (The last update).

Thanks & Regards.

#push-pull-output-or-open-drain-output #lpuart #stmcube-mx #stm32l0-lpuart-output-mode
1 REPLY 1
Imen.D
ST Employee
Posted on April 02, 2018 at 17:09

Hello

fallah.omid

Thank you for your reported issue.This is highlighted internally to CubeMx team.

Best Regards,

Imen

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen