Hello,
I have a TM4C123GXL board. For UART0 initialization, I follow the usual steps :
SYSCTL_RCGC1_R |= SYSCTL_RCGC1_UART0; // activate UART0 SYSCTL_RCGC2_R |= SYSCTL_RCGC2_GPIOA; // activate port A
... and so on.
For UART1 intialization, the first line would become :
SYSCTL_RCGC1_R |= SYSCTL_RCGC1_UART1; // activate UART1
SYSCTL_RCGC1_UART0 (=0x01), SYSCTL_RCGC1_UART1 (=0x02) and SYSCTL_RCGC1_UART2 (=0x04) are all defined in the tm4c123gh6pm.h file.
However, the versions of similar constants for UART 3 to 7 do not seem to be included in this file (with SYSCTL_RCGC1_UART3 =0x08...). Is it that the initialization should be different for UART 3 to 7,
and that therefore SYSCTL_RCGC1_UART3 to 7 are not needed? Or maybe that I am not using the right .h file? Or maybe something else?
Thanks for helping,
Jean