The basic Kinetis K60 port works
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3892 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
60869cb75a
commit
e30dfc462f
@ -18,6 +18,7 @@ Contents
|
||||
- Connections via the General Purpose Tower Plug-in (TWRPI) Socket
|
||||
- Connections via the Tower Primary Connector Side A
|
||||
- Connections via the Tower Primary Connector Side B
|
||||
- TWR-SER Serial Board Connection
|
||||
o Development Environment
|
||||
o GNU Toolchain Options
|
||||
o IDEs
|
||||
@ -121,6 +122,30 @@ B50 SCL1 PTE1/I2C1_SCL
|
||||
B51 SDA1 PTE0/I2C1_SDA
|
||||
B52 GPIO5 / SD_CARD_DET PTA16
|
||||
|
||||
TWR-SER Serial Board Connection
|
||||
===============================
|
||||
|
||||
The serial board connects into the tower and then maps to the tower pins to
|
||||
yet other functions (see TWR-SER.pdf).
|
||||
|
||||
For the serial port, the following jumpers are required:
|
||||
|
||||
J15: 1-2 (default)
|
||||
J17: 1-2 (default)
|
||||
J18: 1-2 (default)
|
||||
J19: 1-2 (default)
|
||||
|
||||
The two connections map as follows:
|
||||
|
||||
A41 RXD0 - Not connected
|
||||
A42 TXD0 - Not connected
|
||||
A43 RXD1 - ELE_RXD (connects indirectory to DB-9 connector J8)
|
||||
A44 TXD1 - ELE_TXD (connects indirectory to DB-9 connector J8)
|
||||
|
||||
Finally, we can conclude that
|
||||
|
||||
UART5 (PTE8/9) is associated with the DB9 connector
|
||||
|
||||
Development Environment
|
||||
=======================
|
||||
|
||||
|
@ -18,6 +18,7 @@ Contents
|
||||
- Connections via the General Purpose Tower Plug-in (TWRPI) Socket
|
||||
- Connections via the Tower Primary Connector Side A
|
||||
- Connections via the Tower Primary Connector Side B
|
||||
- TWR-SER Serial Board Connection
|
||||
o LEDs
|
||||
o Development Environment
|
||||
o GNU Toolchain Options
|
||||
@ -229,6 +230,33 @@ B78 EBI_D2 PTC13
|
||||
B79 EBI_D1 PTC14
|
||||
B80 EBI_D0 PTC15
|
||||
|
||||
TWR-SER Serial Board Connection
|
||||
===============================
|
||||
|
||||
The serial board connects into the tower and then maps to the tower pins to
|
||||
yet other functions (see TWR-SER.pdf).
|
||||
|
||||
For the serial port, the following jumpers are required:
|
||||
|
||||
J15: 1-2 (default)
|
||||
J17: 1-2 (default)
|
||||
J18: 1-2 (default)
|
||||
J19: 1-2 (default)
|
||||
|
||||
The two connections map as follows:
|
||||
|
||||
A41 RXD0 - Not connected
|
||||
A42 TXD0 - Not connected
|
||||
A43 RXD1 - ELE_RXD (connects indirectory to DB-9 connector J8)
|
||||
A44 TXD1 - ELE_TXD (connects indirectory to DB-9 connector J8)
|
||||
|
||||
Finally, we can conclude that:
|
||||
|
||||
UART4 (PTE24/25) is not connected, and
|
||||
UART3 (PTC16/17) is associated with the DB9 connector
|
||||
|
||||
NOTE: UART5 is associated with OSJTAG bridge and may also be usable.
|
||||
|
||||
LEDs
|
||||
====
|
||||
|
||||
|
@ -257,6 +257,16 @@
|
||||
* A80 EBI_AD0 PTD6
|
||||
*/
|
||||
|
||||
/* PTE 26/27 */
|
||||
|
||||
#define PIN_UART3_RX PIN_UART3_RX_2
|
||||
#define PIN_UART3_TX PIN_UART3_TX_2
|
||||
|
||||
/* PTE 24/25 */
|
||||
|
||||
#define PIN_UART4_RX PIN_UART4_RX_2
|
||||
#define PIN_UART4_TX PIN_UART4_TX_2
|
||||
|
||||
/* Connections via the Tower Primary Connector Side B
|
||||
* --- -------------------- --------------------------------
|
||||
* PIN NAME USAGE
|
||||
|
@ -152,9 +152,9 @@ CONFIG_KINETIS_FLEXBUS=n
|
||||
CONFIG_KINETIS_UART0=n
|
||||
CONFIG_KINETIS_UART1=n
|
||||
CONFIG_KINETIS_UART2=n
|
||||
CONFIG_KINETIS_UART3=n
|
||||
CONFIG_KINETIS_UART3=y
|
||||
CONFIG_KINETIS_UART4=n
|
||||
CONFIG_KINETIS_UART5=y
|
||||
CONFIG_KINETIS_UART5=n
|
||||
CONFIG_KINETIS_ENET=n
|
||||
CONFIG_KINETIS_RNGB=n
|
||||
CONFIG_KINETIS_FLEXCAN0=n
|
||||
@ -225,9 +225,9 @@ CONFIG_KINETIS_PORTEINTS=n
|
||||
CONFIG_UART0_SERIAL_CONSOLE=n
|
||||
CONFIG_UART1_SERIAL_CONSOLE=n
|
||||
CONFIG_UART2_SERIAL_CONSOLE=n
|
||||
CONFIG_UART3_SERIAL_CONSOLE=n
|
||||
CONFIG_UART3_SERIAL_CONSOLE=y
|
||||
CONFIG_UART4_SERIAL_CONSOLE=n
|
||||
CONFIG_UART5_SERIAL_CONSOLE=y
|
||||
CONFIG_UART5_SERIAL_CONSOLE=n
|
||||
|
||||
CONFIG_UART0_TXBUFSIZE=256
|
||||
CONFIG_UART1_TXBUFSIZE=256
|
||||
|
Loading…
x
Reference in New Issue
Block a user