LPCXpresso845-MAX pin define

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

LPCXpresso845-MAX pin define

746件の閲覧回数
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 返信

733件の閲覧回数
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 件の賞賛
返信