Protocol mode:
Settings:
1 = Master/Slave = M
2 = Bitrate = 1000000(1.019.642)
3 = Databits = 8
4 = CPOL = 1
5 = CPHA = 0
6 = Data Control =
P
7 = Data Poll*10ms =
10
8 = Flow Control = N
9 = RTS Protocol = 0
Using these settings, the XT-PICO module polls the SPI-Slave every
100ms
by sending a 0x00 and tries to
obtain data from it. The slave as well as the master has the option to separate the data from non-relevant
data “0xnn“. Each data byte which is sent or received needs to be preceded by 0x01 in order to signalize
that it is a correct data byte.
Example:
Master
Slave
Data
Idle running
0x00 ->
<- 0x00
none
Master is sending
0x01,0x33 ->
<- 0x00, 0x00
Slave is receiving
0x33
Slave is sending
0x00,0x00 ->
<- 0x01, 0x44
Master is receiving
0x44
Slave are
sending
0x01,0x33,0x01,0x33 ->
<- 0x01, 0x44, 0x01, 0x44
Note:
The Data-Poll-Timeout is only considered in the idle running mode. In the sending or receiving mode it tries
as soon as possible to send or to receive data. Please keep in mind that the transmittance speed needs to
be selected in a way that the Slave will also have the possibility to make the corresponding data available.
Содержание XT-PICO-XXL
Страница 1: ...XT PICO XXL DesignGuide V1 1...
Страница 6: ...5 Dimensions 22 mm 2mm 2mm 32 mm 24 mm Bottom View...
Страница 9: ...Connecting plan...
Страница 10: ...7 Schematics RS232...
Страница 11: ...RS485...
Страница 12: ...SPI...
Страница 13: ...I2C...
Страница 14: ...SD CARD...
Страница 15: ...LCD DISPLAY SPI...
Страница 16: ...LCD DISPLAY 4BIT...
Страница 17: ...Dataflash SPI...
Страница 18: ...POE PowerOverEthernet Note The POE module is available at AK NORD Order number AK9050...