LPC824 to LPC84x

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

LPC824 to LPC84x

600件の閲覧回数
Will0328
Contributor I

In the LPC824 based project, I used the following code to initialize the UART:

LPC_SWM->PINASSIGN[0] &= ~( 0xFFFF << 0 );
LPC_SWM->PINASSIGN[0] |= ( 4 << 0 ); 
LPC_SWM->PINASSIGN[0] |= ( 0 << 8 ); 
LPC_SYSCON->UARTCLKDIV = 1; 
LPC_SYSCON->SYSAHBCLKCTRL |= (1 << 14); 
...............

But I couldn't find the definition of UARTCLKDIV in the syscon of LP844.h and LP845.h files.

0 件の賞賛
返信
1 返信

568件の閲覧回数
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello @Will0328 

They are not the same, please refer to UART demo for LPC845 under SDK.

Download from:

https://mcuxpresso.nxp.com/en/select  

 

BR

Alice

 

0 件の賞賛
返信