lpc1769 uart 3

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

lpc1769 uart 3

1,264件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by nanimo on Wed Mar 30 03:03:01 MST 2011
hello

i have the lpc1769 and in my project i want to use the the uart 3.
from the datasheet i see that the p0.25 and p0.26 are the TXD3,RXD3 (also AD0.2 AD0.3 ) but in the the schematic of the board in the getting started document i dont see the pins listed as TXD3,RXD3 only as AD0.2,AD0.3/AOUT.

can i use the pins as uart 3 ?
0 件の賞賛
返信
4 返答(返信)

1,150件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by NXP_Europe on Tue May 17 08:02:52 MST 2011
Hello nanimo,

on different locations the UART3 can be connected to the pins.

Normal way of working is:
1e download the latest User Manual UM10360 from the NXP-website
2e choose which TXD3/RXD3 fits you most
3e program the proper PINSELx

example:
1e downloaded was UM10360 version August 19 2010
2e search via the 'find function' e.g. the TXD3 ... 3 possibilities appeare P0[0], P0[25] and P4[28]. Choose which one fits you most ... it depends on your layout or on other functionalities offered on the pins.
3e when you made a choice e.g. P4[28] is TXD3 then bit 24 and 25 are to be set on [11].
0 件の賞賛
返信

1,150件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Tue May 17 05:29:35 MST 2011

Quote: paksoft
check the manual again :)   http://www.keil.com/dd/docs/datashts/philips/lpc17xx_um.pdf

It is P0.0 TXD3 and P0.1 RXD3.



check the original manual again :) [U]http://www.nxp.com/documents/user_manual/UM10360.pdf[/U]

[COLOR=Red]Or[/COLOR]  P0.25 TXD3 and P0.26 RXD3.
0 件の賞賛
返信

1,150件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by paksoft on Tue May 17 05:04:26 MST 2011

Quote: nanimo
hello

i have the lpc1769 and in my project i want to use the the uart 3.
from the datasheet i see that the p0.25 and p0.26 are the TXD3,RXD3 (also AD0.2 AD0.3 ) but in the the schematic of the board in the getting started document i dont see the pins listed as TXD3,RXD3 only as AD0.2,AD0.3/AOUT.

can i use the pins as uart 3 ?



check the manual again    http://www.keil.com/dd/docs/datashts/philips/lpc17xx_um.pdf

It is P0.0 TXD3 and P0.1 RXD3.

    //Set P0.0 to 10 - TXD3
    LPC_PINCON->PINSEL0    |= (2 << 0);
    //Set P0.1 to 10 - RXD3
    LPC_PINCON->PINSEL0    |= (2 << 2);
    //Set P0.0 and P0.1 to 10 - Pin has neither pull-up nor pull-down resistor enabled.
    LPC_PINCON->PINMODE0 |= (2 << 0);
    LPC_PINCON->PINMODE0 |= (3 << 2);


Regards,
pak
0 件の賞賛
返信

1,150件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Wed Mar 30 03:12:13 MST 2011
Of course, use PINSEL1 to select RXD3 / TXD3.

Use user manual UM10360.
0 件の賞賛
返信