cancel
Showing results for 
Search instead for 
Did you mean: 

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?

Henry Jacobs
Associate II
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. 

2 REPLIES 2
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?

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
Up vote any posts that you find helpful, it shows what's working..