Skip to main content
kjais
Associate
December 14, 2018
Question

Does STM32F746ZG, supports low level drivers for UART???

  • December 14, 2018
  • 8 replies
  • 1764 views

If I am making UART6, as HAL layer, it's working fine but if it configure it as LL api, it's giving garbage values.

This topic has been closed for replies.

8 replies

After Forever
Senior III
December 14, 2018

Yes STM32CubeF7 does include LL drivers, and UART/USART is supported.

You must be doing something wrong. Show your code.

kjais
kjaisAuthor
Associate
December 17, 2018

I am sharing my code in the Attachment.

please check and let me know, what I am doing wrong.

Basically I am configuring 2 UART

UART2 and UART6

UART6 on HAL layer

UART2 on LL

it giving me a garbage value on UART6

but if I make both on HAL layer, it's giving me correct value on the comport

Tesla DeLorean
Guru
December 14, 2018

Review the peripheral register settings in the working and non-working cases, compare and contrast.

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
kjais
kjaisAuthor
Associate
December 17, 2018

thanks for your reply.

Kindly let me know, how can I check the peripheral register settings?

Tesla DeLorean
Guru
December 23, 2018

Use the debugger? Open a "Peripheral View" or equivalent option, dump the memory region?

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
waclawek.jan
Super User
December 23, 2018

Read out the registers' content and compare.

Also make sure the related APB clocks are set as you expect them to be.

JW