Skip to main content
Henry Jacobs
Associate
January 7, 2018
Question

How do I enable UART4 on the B-L475E-IOT01A? It appears that UART4 needs to be defined; but in which header file. What else needs to be done to enable and use the port?

  • January 7, 2018
  • 2 replies
  • 722 views
Posted on January 07, 2018 at 06:35

I desire to use UART4 to talk to a GPS module over serial communications on an Arduino shield board. To do this I need to use UART4, but it does not appear to be enabled. 

    This topic has been closed for replies.

    2 replies

    Bogdan Golab
    Lead
    January 7, 2018
    Posted on January 07, 2018 at 09:56

    I tried to enable the UART4 from the STMCubeMX - it seems to works as for other boards (actually I do not have this one). Probably you need to share more details about the issue you are facing. What have you tried?

    Tesla DeLorean
    Guru
    January 7, 2018
    Posted on January 07, 2018 at 15:32

    Can we try not to put the entire question in the summary.

    Make sure STM32L475xx is defined (compiler command line)

    Check stm32l475xx.h shows as a dependency (via stm32l4xx.h)

    Make sure the pins are properly configured.

    The clocks are all enabled.

    I've used GPS on the IoT shield, UART4 works.

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