4d Systems Amazing 3.5" Display Module powered by a PIC32 PICadillo-35T Picadillo-35T Datenbogen
Produktcode
Picadillo-35T
4D SYSTEMS PICadillo-35T Display Module
© 2014 4D SYSTEMS Page 21 of 31 www.4dsystems.com.au
SPI
6.3.
The PICadillo-35T features an on board microSD
card connector, which communicates to the PIC32
via the SPI Bus. Please note that a microSD card
which supports SPI is a requirement.
microSD Card: The on board microSD connector
uses the SPI2 port which is (SS2, SDI2, SDO2, SCK2)
on the PIC32 microcontroller, RG9, RG7, RG8, RG6.
These are the IDE pins used for the microSD Card:
Name
Chip Pin
IDE Pin
SS2 (CS)
14
48
SDI2 (MOSI)
11
55
SDO2 (MISO)
12
56
SCK2 (SCK)
10
57
These signals are not broken out to any headers,
and only feature on the microSD socket itself.
SPI Header, SPI Channel 1: Synchronous serial
port.
The SPI Header, labelled ‘SPI’ and located at the
top centre of the PICadillo-35T, uses the SPI4 port
which is (SS4, SDI4, SDO4, SCK4) on the PIC32
microcontroller, RF12, RF5, RF4, RF13.
These are the IDE pins used for the SPI Header:
Name
Chip Pin
IDE Pin
Header
SS4 (CS)
40
52
SPI Pin5
SDI4 (MOSI)
49
49
SPI Pin1
SDO4 (MISO)
50
51
SPI Pin4
SCK4 (SCK)
39
50
SPI Pin3
SPI Channel 2: Synchronous serial port.
On the P1 Header, there is an SPI Port available
which uses the SPI1 port which is (SS1, SDI1, SDO1,
SCK1) on the PIC32 microcontroller, RD9, RC4,
RD0, RD10.
These are the IDE pins used for this SPI channel.
Name
Chip Pin
IDE Pin
Header
SS1 (CS)
69
12
P1 Pin8
SDI1 (MOSI)
9
10
P1 Pin12
SDO1 (MISO)
72
13
P1 Pin6
SCK1 (SCK)
70
11
P1 Pin10
SPI Channel 3: Synchronous serial port.
There is an SPI Port available which uses the SPI3
port which is (SS3, SDI3, SDO3, SCK3) on the PIC32
microcontroller, RD14, RF2, RF8, RD15.
These are the IDE pins used for this SPI channel.
Name
Chip Pin
IDE Pin
Header
SS3 (CS)
47
34
P1 Pin15
SDI3 (MOSI)
52
0
P3 Pin16
SDO3 (MISO)
53
1
P3 Pin14
SCK3 (SCK)
48
8
P1 Pin16
I2C
6.4.
I2C Channel 1: Synchronous serial port.
After selecting Jumper J2 to the appropriate
location, I2C is available on the P4 header. This
uses I2C1 on the PIC32 microcontroller, RA15 and
RA14.
Name
Chip Pin
IDE Pin
Header
SDA1
67
53
P4 Pin11
SCL1
66
54
P4 Pin9
Note: The I2C channel on the PICadillo-35T does
not feature on board I2C pull-up resistors, which
are required as I2C uses open collector drivers.
Typical pull-up resistors around 4K7 ohm are
acceptable, however does depend on the number
of devices found on the bus, the length of the
wires, and the clock speed being used.
Note: Additional I2C channels are available. Please
refer to the Microchip datasheet for more
information on these ports, and then cross
reference using the Schematic found in the
appendix, to find the pin and header they are
found on the PICadillo-35T.
PWM
6.5.
There are 4 PWM channels available on the
PICadillo-35T, and 2 of these have on board
functions if the appropriate jumper is placed.
Name
Chip Pin
IDE Pin
Header
OC1 (RD0)
72
13
P1 Pin6
OC2 (RD1)
76
31
P3 Pin5
OC3 (RD2)
77
32
P3 Pin3
OC4 (RD3)
78
9
P1 Pin14
OC2/RD1 - this can be used to generate PWM
audio which then feeds into the on board Audio
Amplifier. Requires the J1 Jumper to be set
correctly.
OC3/RD2 - this can be used to control the
backlight with PWM to set various level of
backlight brightness. Requires the J3 Jumper to be
set correctly.