Jump to content
43oh

Serial1 on LaunchPad Stellaris: UART(1) is active on PC_4 / PC_5 but not on PB_0 / PB_1


Recommended Posts

UART(1) is active on PC_4 / PC_5 but not on PB_0 / PB_1.


 


The Stellaris® LM4F120H5QR Microcontroller Datasheet (lm4f120h5qr) mentions those pins, for example on tables 21-5 and 21-6, consistent with the pins map I've released.


 


But why the pins aren't defined on HardwareSerial.cpp?



//*****************************************************************************
//
// The list of UART GPIO configurations.
//
//*****************************************************************************
static const unsigned long g_ulUARTConfig[8][2] =
{
{GPIO_PA0_U0RX, GPIO_PA1_U0TX}, {GPIO_PC4_U1RX, GPIO_PC5_U1TX},
{GPIO_PD6_U2RX, GPIO_PD7_U2TX}, {GPIO_PC6_U3RX, GPIO_PC7_U3TX},
{GPIO_PC4_U4RX, GPIO_PC5_U4TX}, {GPIO_PE4_U5RX, GPIO_PE5_U5TX},
{GPIO_PD4_U6RX, GPIO_PD5_U6TX}, {GPIO_PE0_U7RX, GPIO_PE1_U7TX}
};

Is there a reason?


 


How to use Serial1 on PB_0 / PB_1? I need then to the library for the 4D Systems screen.


 


This is a cross-post with the 43oh forum.


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...