SEARCH
TOOLBOX
LANGUAGES
modified on 27 January 2016 at 18:56 ••• 42,640 views

Lincoln-60 Manual/User Interfaces, Connectors, and Jumpers

From Manuals

Revision as of 18:56, 27 January 2016 by Support (Talk | contribs)
Jump to: navigation, search

The following image shows where the connectors, headers, and jumpers are located on the Lincoln 60.

Lincoln 60 User Interfaces, Connectors, and Jumpers Diagram
Lincoln 60 User Interfaces, Connectors, and Jumpers

Contents

Power Supply

The main power for the Lincoln 60 SBC can be from the J1 connector, the USB device port, or by the debugger (external or onboard) depending on how JP1 is set. Figure 4.1 is the pin-out for JP1 and shows the board being powered by J1. The typical current requirements are 60 mA for the Lincoln 60 and 160 mA for the Lincoln 60E.

Lincoln-60
Figure 4.1: Power supply selection jumper


J1 comes standard with a 2.5 mm positive center tapped female power supply jack. It can be populated with a 2 position screw terminal upon request. Figure 4.2 shows the different J1 configurations. A diode (D1) will protect the Lincoln 60 should polarity of the power supply be reversed on the J1 connector. The protection diode has a voltage drop of 0.3V and is limited to a maximum of 2 amperes through it. The specifications for D1 must be taken into consideration when selecting a power supply while using the LCD port, USB Host port, and CAN port.

Lincoln-60
Figure 4.2: Power supply connector configurations


The Lincoln 60 may also be powered through the USB Device port (J16) by changing the jumper on JP1 to pins 1 and 2. Current draw will be limited to the USB host port that is supplying the power. Most computers’ USB host ports allow a maximum current draw of 500mA. Setting JP1 to pins 2 and 3 will allow the board to be powered through the optional USB debug port (J15) or through the JTAG connector (J5). The maximum available current for the board will be limited to the USB host port that is supplying the power to the optional USB debug port. A maximum of 500mA total current draw is allowed when powering the board through the JTAG connector or is limited by the device supplying the power. The J-Link for example only allows 300mA of current.

10/100 Ethernet (60E Only)

The Lincoln 60E is equipped with a fully-integrated 10/100 Mbps Ethernet port. The Media Access Control (MAC) is implemented in the LPC1769 and the Physical (PHY) layer is implemented with Micrel’s KSZ8041NL. J6 is the RJ-45 connector and it has integrated magnetics and LEDs completes the Ethernet sub-system. Please see the KSZ8041NL data sheet for further information on the PHY and the LPC1769 data sheet for the MAC.

Serial (COM) Ports

The LPC1769 has a total of 4 Universal Asynchronous Receivers/Transmitters (UART). Two of the UARTs are are level shifted to RS-232 levels. UART0 (COM1) and UART3 (COM2) can be accessed through a 2x5 pin berg header. Please see figure 4.3 for the pin outs of COM1 (J3) and COM2 (J4) connectors. The two serial ports support software handshaking (XON/XOFF) and are considered to be Data Terminal Equipment(DTE). In order to communicate to a Personal Computer a null modem cable is required. To simplify interfacing to devices using hardware handshaking, a loopback is implemented on the modem control signals, from RTS to CTS and from DTR to CD and DSR. Note that the loopbacks do not provide flow control so software handshaking should be used when proper flow control is desired.

Lincoln-60
Figure 4.3: COM Ports Connector Pin Outs

The transmitter for COM1 is port 0 bit 2 and the receiver is port 0 bit 3 on the LPC1769 microcontroller. If the optional USB Debug port is populated UART0 may be configured to communicate over USB by placing moving jumpers JP3 and JP4 to pins 2&3. UART0 can be accessed through the USB Debug Ports 1x5 pin header (J15). See figure 4.4 for shows the jumper settings selecting RS-232 levels or for COM1. The transmitter for COM2 is port 0 bit 0 and the receiver is port 0 bit 1 on the LPC1769.

Lincoln-60
Figure 4.4: COM1 Driver Selection Jumpers

A third UART is level shifted to RS-485 levels if the I/O plus option is populated. UART1 (COM3) can be accessed through screw terminals T1. The RS-485 transmitter is enabled by making port 2 bit 7, on the LPC1769, a logic 1. The transmitter for COM3 is port 2 bit 0 and the receiver is port 2 bit 1 on the LPC1769. The LPC1769's UART1 supports RS-485 modes of operation. Please consult the LPC1769 User's Manual for further details. The RS-485 network can be terminated with a 120 ohm resistor by placing a jumper on JP5. See figure 4.3 for the pin out of COM3.

The LPC1769 also has two Controller Area Network (CAN) ports avaialble. The I/O plus option populates a CAN tranciever for the CAN1 controller (COM4). COM4 can be accessed through a 2x5 pin berg header. See Figure 4.3 for the pin out of the COM4 (J13) connector. The transmitter for COM4 is port 0 bit 22 and the receiver is port 0 bit 21 on the LPC1769. The CAN network can be terminated with a 120 ohm resistor by placing a jumper on JP6.

General Purpose Digital Inputs and Outputs

There are seventy total bits of GPIO available on the Lincoln 60 and forty-four bits available on the Lincoln 60E. Twenty-six bits of GPIO are available on J2 for both the Lincoln 60 and Lincoln 60E. Twenty-seven bits of GPIO are available on J12 only for the Lincoln 60. J12 is not populated when the board is configured as a Lincoln 60E due to most of the GPIO being used for the Ethernet PHY signals. Nine bits of GPIO are available on J18 but it is not populated because the GPIO are used for on board perphrials such as COM2, USB Host, USB Device, User LEDs, User Pushbutton, and microSD. Eight bits of GPIO are available on J7. Please see the ADC/GPIO section for further details. Figure 4.5 has the pin outs for J2, J12, and J18.

Lincoln-60
Figure 4.5: GPIO Connector Pin Outs


Some of the GPIO on J2 and J12 have alternate functions other than digital inputs and outputs and are shared with some of the hardware on the board. Table 4.1 lists the alternate functions, the hardware it is shared with, and a brief description of the alternate function for connector J2. Table 4.2 lists the alternate functions, the hardware it is shared with, and a brief description of the alternate function for connector J14. Table 4.3 lists the alternate functions, the hardware it is shared with, and a brief description of the alternate function for connector J18. For further information on the alternate functions please refer to the LPC1769 data sheet.


Table 4.1: Alternate functions for GPIO on J2
J2 Pin# Signal Alternate Functions Notes Shared Hardware
1 GND Digital Ground
2 VCC 3.3 VDC
3 P0.4 I2SRX_CLK/RD2/CAP2.0 I2S Receive Clock/CAN2 Receive/Timer 2 Capture Input 0
4 P0.5 I2SRX_WS/TD2/CAP2.1 I2S Receive Word Select/CAN2 Transmit/Timer 2 Capture Input 1
5 P0.6 I2SRX_SDA/SSEL1/MAT2.0 I2S Receive Data/SSP1 Slave Select/Timer 2 Match Output 0
6 P0.7 I2STX_CLK/SCK1/MAT2.1 I2S Transmit Clock/SSP1 Serial Clock/Timer 2 Match Output 1
7 P0.8 I2STX_WS/MISO1/MAT2.2 I2S Transmit Word Select/SSP1 Master In Slave Out/Timer 2 Match Output 2
8 P0.9 I2STX_SDA/MOSI1/MAT2.4 I2S Transmit Data/SSP1 Master Out Slave /Timer 2 Match Output 3
9 P0.10 TXD2/SDA2/MAT3.0 UART 2 Transmitter/I2C2 Data/Timer 3 Match Output 0
10 P0.11 RXD2/SCL2/MAT3.1 UART2 Receiver/I2C2 Clock/Timer 3 Match Output 1
11 P0.27 SDA0 I2C0 Data Keypad(J11)
12 P0.28 SCL0 I2C0 Clock Keypad(J11)
13 P1.22 MC0B/MAT1.0 Motor Control PWM0 Ouput B/Timer 1 Match Output 0 LCD(J10)
14 P1.23 MCFB1/PWM1.4/MISO0 Motor Control PWM1 Feedback Input/PWM1 Output 4 output/Master In slave Out LCD(J10)
15 P1.24 MCFB2/PWM1.5/MOSI0 Motor Control PWM2 Feedback Input/PWM1 Output 5/SSP0 Master Out Slave In LCD(J10)
16 P1.25 MC1A/MAT1.1 Motor Control PWM1 Output A/Timer 1 Match Output 1 LCD(J10)
17 P1.26 MC1B/PWM1.6/CAP0.0 Motor Control PWM1 Output B/PWM1 Output 6/Timer 0 Capture Input 0 LCD(J10)
18 P1.27 CLKOUT/CAP0.1 Clock Output Pin/Timer 0 Capture Input 1 LCD(J10)
19 P1.28 MC2A1.0/PCAP1.1/MAT0.0 Motor Control PWM2 Output A/PWM1 Capture Input 0/Timer 0 Match Output 0 LCD(J10)
20 P1.29 MC2B/PCAP1.1/MAT0.1 Motor Control PWM2 Output B/PWM1 Capture Input 1/Timer 0 Match Output 1 LCD(J10)
21 P2.2 PWM1.3/CTS1/TRACEDATA.3 PWM1 Output 3/UART1 Clear to Send/Trace Dat bit 3 Keypad(J11)
22 P2.3 PWM1.4/DCD1/TRACEDATA.2 PWM1 Output 4/UART1 Data Carrier Detect/Trace Dat bit 2 Keypad(J11)
23 P2.4 PWM1.5/DSR1/TRACEDATA.1 PWM1 Output 5/UART1 Data Set Ready/Trace Dat bit 1 Keypad(J11)
24 P2.5 PWM1.6/DTR1/TRACEDATA.0 PWM1 Output 6/UART1 Data Terminal Ready/Trace Dat bit 0 Keypad(J11)
25 P2.11 EINT1/I2STX_CLK External Interrupt 1/I2S Transmit Clock
26 P2.12 EINT2/I2STX_WS External Interrupt 2/I2S Transmit Word Select
27 P4.28 RX_MCLK/MAT2.0/TXD3 I2S Receive Master Clock/Timer 2 Capture Input 0/UART3 Transmitter
28 P4.29 TX_MCLK/MAT2.1/RXD3 I2S Transmit Master Clock/Timer 2 Capture Input 1/UART3 Receiver
29 RST Microcontroller Reset
30 +5V +5 VDC


Table 4.2: GPIO alternate functions for J12
J12 Pin# Signal Alternate Functions Notes Shared Hardware
1 GND Digital Ground
2 VCC 3.3 VDC
3 P0.15 TXD1/SCK0/SCK UART1 Transmitter/SSP0 Clock/SPI Clock microSD/DAC
4 P0.17 CTS1/MISO0/MISO UART1 Clear to Send/SSP0 Master In Slave Out/SPI Master In Slave Out microSD
5 P0.18 DCD1/MOSI0/MOSI UART1 Data Carrier Detect/SSP0 Master Out Slave In/SPI Master Out Slave In microSD/DAC
6 P0.21(1) RI1/RD1 UART1 Ring Indicator/CAN1 Receiver CAN
7 P1.0 ENET_TXD0 Ethernet Transmit Data 0 Ethernet PHY
8 P0.22 RTS1/TD1 UART1 Request to Send/CAN1 Transmitter CAN
9 P1.1 ENET_TXD1 Ethernet transmit data 1 Ethernet PHY
10 P1.4 ENET_TX_EN Ethernet transmit data enable Ethernet PHY
11 P1.8 ENET_CRS Ethernet carrier sense Ethernet PHY
12 P1.9 ENET_RXD0 Ethernet receive data Ethernet PHY
13 P1.15 ENET_REF_CLK Ethernet reference clock Ethernet PHY
14 P1.10 ENET_RXD1 Ethernet PHY
15 P1.17 ENET_MDIO Ethernet MIIM data input and output Ethernet PHY
16 P1.14 ENET_RX_ER Ethernet receive error Ethernet PHY
17 P0.19 DSR1/SDA1 UART1 Data Set Ready/I2C1 Data Keypad(J11)
18 P1.16 ENET_MDC Ethernet MIIM clock Ethernet PHY
19 P0.20 DTR1/SCL1 UART1 Data Terminal Ready/I2C1 Clock Keypad(J11)
20 P1.19 MC0A/CAP1.1 Motor Control PWM0 Output A/Timer 1 Capture Input 1 LCD(J10)
21 P1.20 MCFB0/PWM1.2/SCK0 Motor Control PWM0 Feedback Input/PWM1 Output 2/SSP0 Clock LCD(J10)
22 P1.21 MCABORT/PWM1.3/SSEL0 Motor Control PWM Emergency Abort/PWM1 Output 3/SSP0 Slave Select LCD(J10)
23 P2.0 PWM1.1/TXD1 PWM1 Output 1/UART1 Transmitter COM3 (RS485)
24 P2.1(2) PWM1.2/RXD1 PWM1 Output 2/UART1 Receiver COM3 (RS485)
25 P2.6 PCAP1.0/RI1/TRACECLK PWM1 Capture Input 0/UART1 Ring Indicator/Trace Clock LCD(J10)
26 P2.7 RD2/RTS1 CAN2 Receiver/UART1 Request to Send COM3 (RS485)
27 P2.8 TD2/TXD2 CAN2 Transmitter/UART2 Transmitter DAC
28 VBAT Supply pin for LPC1769\'s RTC Coin Battery
29 P2.13 EINT3/I2STX_SDA External Interrupt 3/I2S Transmit Data
30 P3.25 MAT0.0/PWM1.2 Timer 0 Match Output 0/ PWM1 Output 2 User Buzzer

(1) - P0.21 should not be used as a GPIO when the CAN tranciever (U7) is populated due to the recevier driving the pin.

(2) - P2.1 should not be used as a GPIO when the RS-485 tranceiver (U5) is populated due to the receiver driving the pin.


Table 4.3: GPIO alternate functions for J18
J18 Pin# Signal Alternate Functions Notes Shared Hardware
1 GND Digital Ground
2 VCC 3.3 VDC
3 P0.1 TD1/RXD3/SCL1 CAN1 Transmitter/UART3 Receiver/I2C1 Clock COM2
4 P0.0 RD1/TXD3/SDA1 CAN1 Receiver/UART3 Transmitter/I2C1 Data COM2
5 P0.16 RXD1/SSEL0/SSEL UART1 Receiver/SSP0 Slave Select/ SPI Slave Select microSD
6 P2.9 USB_CONNECT/RXD2 USB Device Soft Connect Feature/UART2 Receiver USB Device
7 P1.18 USB_UP_LED/PWM1.1/CAP1.0 USB Good Link LED Indicator/PWM1 Output 1/Timer 1 Capture Input 0 USER LED1
8 P0.30 USB_D- USB D- Line USB Host/Device
9 P0.29 USB_D+ USB D+ Line USB Host/Device
10 P2.10 EINT0/NMI External Interrupt 0/Non-maskable Interrupt USER PB
11 EN Switching Power Supply Enable
12 P3.26 STCLK/MAT0.1/PWM1.3 System Tick Timer Clock Input/Timer 0 Match Output 1/PWM1 Output 3 USER LED2

ADC/GPIO

The Lincoln 60’s eight channels of 12-bit Analog to Digital Converter (ADC) can be connected to through J7. See figure 4.6 for the pin out of the ADC connector. The ADC is accessed directly through the LPC1769 microcontroller. It is capable of 200k samples/second and can be triggered to read through software, timers, or GPIO. Each channel of the ADC are multiplexed with digital inputs and outputs. Table 4.4 lists the alternate functions, the hardware it is shared with, and a brief description of the alternate function for connector J7. AD0.6 and AD0.7 are used for COM1. If an application needs to have eight channels of ADC then COM1 can be disconnected from J7 by removing R68 and R69 from the bottom of the board by JP3 and JP4.

Lincoln-60
Figure 4.6: Analog to Digital connector pin out
Table 4.4: GPIO alternate functions for J7
J7 Pin# Signal Alternate Functions Notes Shared Hardware
1 P0.23 AD0.0/I2SRX_CLK Analog to Digital Converter 0 Channel 0/I2S Receive Clock
2 P1.30 AD0.4/VBUS Analog to Digital Converter 0 Channel 4/Monitors Presence of USB Device Power
3 P0.24 AD0.1/I2SRX_WS/CAP3.1 Analog to Digital Converter 0 Channel 1/I2S Receive Word Select/Timer 3 Capture Input 1
4 P1.31 AD0.5/SCK1 Analog to Digital Converter 0 Channel 5/SSP1 Clock
5 P0.25 AD0.2/TXD3 Analog to Digital Converter 0 Channel 2/UART3 Transmitter
6 P0.3 AD0.6/RXD0 Analog to Digital Converter 0 Channel 6/UART0 Receiver COM1
7 P0.26 AD0.3/AOUT/RXD3 Analog to Digital Converter 0 Channel 3/DAC Output/UART3 Receiver
8 P0.2 AD0.7/TXD0 Analog to Digital Converter 0 Channel 7/UART0 Transmitter COM1
9 AGND Analog Ground
10 AGND Analog Ground

DAC (Option)

The Lincoln 60’s four channels of 12-bit DAC can be connected to through J8. Please refer to figure 4.10 for the pin out of the DAC connector. It is capable of outputting voltages between 0 and 3.3V. The DAC is accessed through the LPC1769's SSP0 port. Port 2 bit 8 is the DAC’s sync input for loading the conversion count into the DAC. The DAC can be updated at a maximum of 150 kHz for 1 channel. The data transfer is 16-bits at 50 MHz which is a total of 320 nS per data transfer but the DAC has a settling time of 6 µS so the total time needed is 6.32 µS. All 4 channels of the DAC can be updated at a maximum of 137 kHz. This is accomplished by sending the data for all 4 channels and updating all of the outputs on the last data transfer.

Lincoln-60
Figure 4.7: Digital to Analog connector pin out

Keypad (Option)

A 4x4 matrix keypad using a 16-pin (2x8) ribbon cable can be connected to port 1 and port 2 of the microcontroller through J11. Figure 4.8 is the pin out for the keypad connector.


Lincoln-60
Figure 4.8: Keypad connector pin out

Liquid Crystal Display (LCD)(Optional)

A standard alphanumeric LCD may be connected to J10 through a 32-pin (2x16) ribbon cable. Port 1.22 through P1.29 are used for the LCD’s data bus. The LCD’s control signals are connected to P1.19 through P1.21 the microcontroller. P1.19 controls the LCDs register select, P1.20 controls the read/write signal and P1.21 controls the enable signal. The backlight is controlled by P2.6. If port 2 bit 6 is logic 1 then the backlight will be illuminated. The contrast for the LCD may be adjusted by turning potentiometer R12 located next to J10. Please see figure 4.9 for the LCD’s connector pin out. AZ Displays ACM2004D series is recommended for use with the Lincoln 60/60E. http://www.azdisplays.com/index.php?id=Character_Modules&product=c2004d


Lincoln-60
Figure 4.9: LCD connector pin out

Micro-SD

The microSD socket (J9) enables micro-secure-digital memory cards to be plugged into the Lincoln 60 microcontroller board. The microSD card allows the user the ability of a standard removable media for transferring data to and from the Lincoln 60. The LPC1769 interfaces to the microSD card through the SSP0 port.

Pushbuttons and LED

The Lincoln 60 comes standard with a user pushbutton, a reset push button, and two user LEDs. The user push button is connected to port 2 bit 10 with a 22k-ohm pull-up resistor connected to it. User LED1 can be illuminated by clearing port 1 bit 18 of the LPC1769. User LED2 can be illuminated by clearing port 3 bit 26.

The LPC1769 has a serial bootloader in ROM when it is shipped from the factory. The serial bootloader can be initiated by pressing and holding the user pushbutton while pressing and releasing the reset button. This allows the user to update the application through COM1.

Piezo Buzzer (Option)

The I/O options include a Piezo buzzer that can be used for audible alarms. The buzzer needs a square wave output from Port 3 bit 25 on the LPC1769 in order to generate an alarm. A 4 kHz square wave will generate 70db. P3.25 can be configured as output 2 for PWM1 to generate the square wave needed without creating overhead for the MCU.

Battery Backed RTC (Option)

The Lincoln 60's microcontroller has a built in real-time clock calendar that can be battery backed by supplying 2.1 VDC to 3.3 VDC to the VBAT pin on the LPC1769. A coin cell battery holder is populated on the bottom of the board with the I/O plus options and holds a CR2032 series coin cell. Power is only drawn from the battery when the power is off to the Lincoln 60.

JTAG (J5) and USB Debug Port (Option)

The JTAG port (J5) can be used for software download and debugging, reducing the need for an in-circuit emulator. For detailed information on the operation of the JTAG port and TAP controller, please refer to IEEE Standard 1149.1-Test Access Port and Boundary-Scan Architecture. Figure 4.10 shows the pin out for J5.


Lincoln-60
Figure 4.10A: JTAG connector pin out Board Revision A
Lincoln-60
Figure 4.10B: JTAG connector pin out Board Revision B

USB Debug Port (Option) Board Revision A

Debugging and program updates can also be performed using the optional USB debug port accessible through a 1x5 berg header (J15). The USB debug port is supported by the following development tools:

  • IAR EWARM IDE
  • OpenOCD

The USB debug port also allows UART0 to communicate over USB. Please see section 4.3 for further information. Figure 4.11 shows the pin out for the USB debug port's connector.


Lincoln-60
Figure 4.11: JTAG connector pin out with Debug Port Populated Rev A
Lincoln-60
Figure 4.12: USB Debug connector pin out

Default Jumper Settings

Figure 4.12 and 4.13 show the default jumper configuration for the Lincoln 60. All boards without the optional USB debug port will come from the factory with the jumpers set like Figure 4.12. The USB Host port will be enabled and power is expected to come from J1. When the USB debug port is populated the jumpers will be set like Figure 4.13. The USB Host port will be enabled, power is expected to come from J1, and COM1 will be available through J3.

Lincoln-60
Figure 4.12: Lincoln 60 Base Configuration Default Jumper Settings


Lincoln-60
Figure 4.13: Lincoln 60 with USB Debug Default Jumper Settings

NEXT: Mechanical and Electrical Characteristics

PREVIOUS: Hardware