4d Systems 7.0" DIABLO16 Intelligent Display $LCD-70DT uLCD-70DT データシート

製品コード
uLCD-70DT
ページ / 23
4D SYSTEMS                                                                       uLCD-70DT Display Module 
 
 
 © 2014 4D SYSTEMS                       Page 10 of 23                    www.4dsystems.com.au 
 
uLC
D
-7
0
DT
 Di
spl
ay 
Mo
du
le
 
communication  based  functions,  and  I/O  support 
based functions.  
Further  information  is  available  in  the  next 
sections for each of the alternative pin functions. 
 
Note: Quadrature In requires 2 Pins 
 
The  following  table  illustrates  which  of  the  GPIO 
can  be  used  for  the  three  different  SPI  channels 
available. 
 
DIABLO16 Alternate Pin Configurations 
SPI Communications
 
 
SPI
1 S
D
O
 
SPI
1 S
D
I
 
SPI
1 S
CK
 
SPI
2 S
D
O
 
SPI
2 S
D
I
 
SPI
2 S
CK
 
SPI
3
 S
D
O
 
SPI
3
 S
D
I
 
SPI
3
 S
CK
 
PA0 
 
 
 
 
 
 
 
 
 
PA1
 
 
 
 
PA2
 
 
 
 
 
 
 
 
 
 
PA3
 
 
 
 
 
 
 
 
 
 
PA4
 
 
 
 
 
 
 
 
 
 
PA5
 
 
 
 
 
 
 
 
 
 
PA6
 
 
 
 
 
 
 
 
 
 
PA7
 
 
 
 
 
 
 
 
 
 
PA8
 
 
 
 
 
 
 
 
 
 
PA9
 
 
 
 
 
 
 
 
 
 
PA10
 
 
 
 
 
 
 
 
 
 
PA11
 
 
 
 
 
 
 
 
 
 
PA12
 
 
 
 
 
 
 
 
 
 
PA13
 
 
 
 
 
 
 
 
 
 
PA14
 
 
 
 
 
 
 
 
 
 
PA15
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
The  following  table  illustrates  which  of  the  GPIO 
can  be  used  for  the  three  different  I
2
C  channels 
available. 
 
DIABLO16 Alternate Pin Configurations 
I
2
C Communications
 
 
I
2
C1 
SD
A
 
I
2
C1 
SC
L
 
I
2
C2 
SD
A
 
I
2
C2 
SC
L
 
I
2
C3 
SD
A
 
I
2
C3 
SC
L
 
PA0 
 
 
 
 
 
 
PA1
 
 
 
 
 
 
 
PA2
 
 
 
 
 
 
 
PA3
 
 
 
 
 
 
 
PA4
 
 
 
 
 
 
 
PA5
 
 
 
 
 
 
 
PA6
 
 
 
 
 
 
 
PA7
 
 
 
 
 
 
 
PA8
 
 
 
 
 
 
 
PA9
 
 
 
 
 
 
 
PA10
 
 
 
 
 
 
 
PA11
 
 
 
 
 
 
 
PA12
 
 
 
 
 
 
 
PA13
 
 
 
 
 
 
 
PA14
 
 
SPECIAL 
 
SPECIAL 
 
SPECIAL 
PA15
 
SPECIAL 
 
SPECIAL 
 
SPECIAL 
 
 
SPECIAL – please see Section 4.6 
 
SPI 
4.5.
 
There  are  3  user  configurable  SPI  channels 
available for mapping to GPIO, for use by the user 
for  the  target  application.  All  3  SPI  channels  are 
Master  only,  and  cannot  be  configured  to  be 
slaves at this time. 
 
The  SPI  Bus  speed  is  configurable  using  the 
SPIx_Init()  Function  in  4DGL,  and  allows  various 
speeds from 78.125Khz to 17.5Mhz. 
 
Please refer to the table on the previous page for 
details on which GPIO can be configured for SPI. 
 
Note:  The  additional  SPI  channel  (SPI0)  is 
dedicated  to  memory  cards  and  cannot  be 
reconfigured for alternate uses.  
 
To  map  an  SPI  channel  to  a  set  of  GPIO  pins,  the 
following 4DGL functions are used: 
SPIx_SCK_pin(pin);  
// Map the SCK pin 
SPIx_SDI_pin(pin);  
// Map the SDI pin 
SPIx_SDO_pin(pin); 
// Map the SDO pin