DATA Logger Pin Description

 
Pins in the Array area

The DATAlogger is the first of the multi-core CPU boards from Coridium.  BASICtools supports multi-core programming .

Pins in the Array area
 
 

J1.1
J1.2
J1.3
J1.4
J1.5
J1.6
J1.7
J1.8
J1.9
J1.10
J1.11
J1.12
J1.13
J1.14
J1.15
J1.16
J1.17
J1.18

IO(4)
IO(1)
IO(0)
IO(38)
IO(10)
IO(2)
IO(11)
IO(40)
IO(139)
IO(178)
IO(5)
IO(175)
IO(163)
IO(164)
IO(165)
IO(104)
..
..

P1_0  -- SGPIO7
P0_1  -- SGPIO1
P0_0  -- SGPIO0
P1_13  -- SGPIO9
P1_3  --SGPIO10
P1_15  -- SGPIO2
P1_4  -- SGPIO11
P1_5  -- SGPIO15
P9_6  -- SGPIO8
P9_5  -- SGPIO3
P6_6  -- SGPIO5
P6_7  -- SGPIO6
P2_2  -- SGPIO12
P2_4  -- SGPIO13
P2_5  -- SGPIO14
P7_0  -- SGPIO4
WAKEUP                                                                                                                                                          
PF_4  -- CLKIN

J2.1
J2.2
J2.3
J2.4
J2.5
J2.6
J2.7
J2.8
J2.9
J2.10
J2.11
J2.12
J2.13
J2.14
J2.15
J2.16
J2.17
J2.18

IO(8)
IO(9)
..
IO(35)
IO(39)
IO(173)
NC
IO(41)
GND
IO(97)
IO(7)
IO(167)
IO(102)
IO(14)
IO(70)
..
Vbat
..

P1_1   -- pulled up during RESET (required for correct boot)
P1_2   -- pulled down during RESET (required for correct boot)
CLK0
P1_10
P1_14
P4_9
..
P1_6
..
P6_2
P2_7   -- pulled up during RESET (required for correct boot) -- connected to LED and ISP BOOT pin
P2_8   -- pulled down during RESET (required for correct boot)
P6_10
P2_10
P4_6
P3_0
..                                                                                 
RTC_ALARM

J3.1
J3.2
J3.3
J3.4
J3.5
J3.6
J3.7
J3.8
J3.9
J3.10
J3.11
J3.12
J3.13
J3.14
J3.15
J3.16
J3.17
J3.18

IO(174)
IO(34)
IO(37)
IO(75)
IO(71)
IO(13)
IO(96)
TXD0
RXD0
..
..
IO(101)
IO(42)
IO(44)
IO(105)
IO(107)
IO(66)
..

P4_10
P1_9
P1_12
P5_2
P5_7
P1_18
P6_1
P2_0
P2_1
P4_7
I2C0C
P6_9
P2_9   -- pulled down during RESET (required for correct boot)
P2_12
P7_1
P7_3
P4_2                                                                                 
RESETn

J4.1
J4.2
J4.3
J4.4
J4.5
J4.6
J4.7
J4.8
J4.9
J4.10
J4.11
J4.12
J4.13
J4.14
J4.15
J4.16
J4.17
J4.18

IO(73)
IO(33)
IO(36)
IO(77)
IO(3)
..
..
IO(99)
IO(162)
IO(172)
..
..
IO(103)
IO(43)
IO(168)
IO(106)
IO(68)
IO(110)

P5_0
P1_8
P1_11
P5_4
P1_16
P1_19
P6_0
P6_4
P2_2
P4_8
USB1P
I2C0D
P6_11
P2_11
P3_1
P7_2
P4_4                                                                                 
P7_6

J5.1
J5.2
J5.3
J5.4
J5.5
J5.6
J5.7
J5.8
J5.9
J5.10
J5.11
J5.12
J5.13
J5.14
J5.15
J5.16
J5.17
J5.18

IO(74)
IO(32)
IO(76)
IO(78)
IO(79)
IO(12)
IO(15)
IO(98)
IO(100)
IO(176)
..
IO(166)
..
IO(72)
IO(45)
IO(169)
IO(64)
IO(69)

P5_1
P1_7
P5_3
P5_5
P5_6
P1_17
P1_20
P6_3
P6_5
P6_8
USB1M
P2_6
CLK2
P6_12
P2_13
P3_2
P4_0                                                                                          
P4_5
 
Pins that are pulled up or down during RESET can be used as inputs if during RESET your circuitry does not drive them or if it drives them to the required state for boot.  They can all be used as outputs after RESET.  P2_7 should be driven low during RESET to enter ISP mode which is used for loading C programs, in that case the other BOOT select pins are ignorred.
Some of these digital pins are also connected to the Arduino digital pins.
In most NXP parts the port designation corresponds to the GPIO port, this is NOT the case with the LPC4330.  See the NXP user manual for detailed pin assignments.
Analog connections and Arduino pin connections 
 
AD pins
With the DATAlogger, the AD converters are connected to 8 dedicated analog pins.  ADC0 can be used as an analog input, or the output of the DAC.
Alternate Pin functions
 
The LPC4330 supports a number of dedicated functions.  Those include 4 UARTs, USB, 2 SSPs, 1 SPI, 2 CAN, 2 I2C, I2S, 2 multi-channel PWMs, Quadrature Encoder, dedicated motor control PWM, interrupts, timer counter capture and match.
 
In addition most can be configured with pull-ups and default to pull-ups following reset.
 
Details can be found in NXP's User manual.
 
UARTs are enabled by calling BAUD(x) for x=0 to 3.  UART0 is enabled by default as the programming debug connection.  The pin assignment BASIC uses is in the following table (you can change the settings by changing the PINSEL registers, details in the NXP User Manual)
 
UART BASIC NXP UART
RXD(0) IO(161) P2_1 UART0
TXD(0) IO(160) P2_0
RXD(1) IO(39) P1_14 UART1
TXD(1) IO(38) P1_13
RXD(2) IO(3) P1_16 UART2
TXD(2) IO(2) P1_15
RXD(3) IO(164) P2_4 UART3
TXD(3) IO(163) P2_3
Power connections
 
Diode steering allows 5V power to be supplied from either the USB connector or the 6 pin Serial Debug connector.
If you intend to supply 5V power from the Arduino 6 pin power connector, you should not connect the USB connector.
The schematic describes this circuit
 
 
The full schematic can be seen here
Real Time Clock Oscillator
 
The DATAlogger has a provision to load a 32 KHz crystal (Y2) and 2 20pf caps (C9 and C10) to use that for the Real Time Clock.  It can also add battery backup by loading the ML2020 battery (on either top or bottom of board), 330 ohm resistor (R5) and a BAT54C diode (D3).
 
The crystal should be a 32.768 KHz can type with an 18pF rating the capacitors are 0603 size 20pF.
 
   ..