LPCXpresso845-MAX pin define

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LPCXpresso845-MAX pin define

737 Views
Jason_fx
Contributor I

I did not find any documentation on the LPCXpresso845-MAX pin define on the official website, and I could not correspond to the pins on the board during the FW development process.

0 Kudos
Reply
1 Reply

724 Views
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

As you know that the the LPC845 has SWM module(Switch Matrix Module), which enables the peripheral pin to route any port pin.

For example, if you write the code:

CLOCK_EnableClock(kCLOCK_Swm);

SWM0->PINASSIGN_DATA[0]=0x00;

SWM0->PINASSIGN_DATA[0]|=0x03|0x04<<8; //the P0_3 will function as uart_txd pin. the P0_4 will function as uart_rxd pin. 

xiangjun_rong_0-1688635070120.png

Hope it is helpful

BR

XiangJun Rong

 

 

0 Kudos
Reply