LPCXpresso845-MAX pin define

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

LPCXpresso845-MAX pin define

739 次查看
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 项奖励
回复
1 回复

726 次查看
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 项奖励
回复