STM32H7 UART Library issues

General discussion on mikroBasic PRO for ARM.
Post Reply
Author
Message
s_sergiu
Posts: 77
Joined: 10 Jan 2012 15:09

STM32H7 UART Library issues

#1 Post by s_sergiu » 20 May 2020 15:13

Hello,

Cannot make working UART 4,6,7 and 8 in STM32H743ZI.
I think library __Lib_UART_32H7xx_12345678.emcl have some issues.

UART6_Init_Advanced(115200, _UART_8_BIT_DATA, _UART_NOPARITY, _UART_ONE_STOPBIT, @_GPIO_MODULE_UART6_PG14_9)
UART7_Init_Advanced(115200, _UART_8_BIT_DATA, _UART_NOPARITY, _UART_ONE_STOPBIT, @_GPIO_MODULE_UART7_PF76)

The port pins PG14, PG9, PF6 and PF7 are working properly when configured as digital input or output so is not HW problem.

USART's 1,2,3,5 are working properly.

Any help is appreciated.
Sergiu

User avatar
filip.grujcic
Posts: 822
Joined: 14 May 2018 08:34

Re: STM32H7 UART Library issues

#2 Post by filip.grujcic » 21 May 2020 09:30

Hello,

Please extract the file from the attachment and copy it to:
...\Mikroelektronika\mikroBasic PRO for ARM\Uses\ST M7

This should fix the issues with UART you are having.

Regards,
Attachments
__Lib_GPIO_32H7xx_Defs.zip
(4.61 KiB) Downloaded 84 times
Filip Grujcic

s_sergiu
Posts: 77
Joined: 10 Jan 2012 15:09

Re: STM32H7 UART Library issues

#3 Post by s_sergiu » 21 May 2020 10:07

Thank you Filip.
All UART's are working now.
Sergiu

Post Reply

Return to “mikroBasic PRO for ARM General”