WE310F5-I/P Porting Reference Guide
1VV0301733 Rev. 6
Page 21 of 40
2021-10-07
Features
GS2K
WE310F5
Start of Frame
0xA5 ( 1 Byte )
4 Bytes ( 0xA5, 0xA5, 0xA5, 0xA5)
Header Tx Sequence
Send 4 Bytes of header wait for 3.2
usec send remaining 4 bytes
Send 64Bytes which include both
header and Data and wait for ~2msec
for RESPONSE
CheckSum
A single checksum byte is used,
computed as the 1’s
complement of the 8-bit long
(modulo-256) sum of all the bytes of
the HI HEADER (not
including the Start delimiter). Note
that each byte is independently
added to the sum, as an
integer between 0 and 255, without
regard for its significance within its
own data field
Not Check Sum : Reserved for future
use
Host to Telit
0x01 - WRITE_REQUEST from MCU
side
0x02 - READ_REQUEST from MCU
side
0x03 - DATA from MCU side
WRITE REQUEST 0x01
READ REQUEST 0x02
WRITE DATA 0x03
Telit to Host
0x11 - WRITE_RESPONSE_OK to
MCU side
0x12 - READ_RESPONSE_OK to
MCU side
0x13 - WRITE_RESPONSE_NOK to
MCU side
0x14 - READ_RESPONSE_NOK to
MCU side
0x15 - DATA to MCU side
WRITE_RESPONSE OK 0x0B
READ RESPONSE OK 0x0C
WRITE_RESPONSE NOK 0x0D
READ RESPONSE NOK 0x0E
READ DATA 0x0F
Maximum Data length of one
Transaction
2032:
8bytes 2032 bytes of Data
1524
12bytes of 1524 bytes of data
Data Exchange from Host to
Telit Tx
STEP 1: Send Write Req
Send 4 bytes of header
Wait for GPIO37 Low
Send next 4 bytes of header
STEP2:
Wait for GPIO37 High
Read the response from Telit
If WRITE_OK goto STEP3
If WRITE_NOK goto STEP1
STEP3:
Based Length field in the response,
Prepare the Data Header and send
to GS Module.
No need Wait for GPIO37 to go low.
Send the actual data
STEP 1:
Each Packet should be multiple of
blocks.
Block is 64 bytes
Wait of HOST_WAEKUP (Equivalent to
GPIO37) to Low. If it is High first,
perform the READ operation.
If data to be send is less than are equal
54bytes.
Send 64 Byte of Block Includes 12byte
Header 54 bytes of data. No need to
wait for Response from Telit, Goto
STEP1
If data to be send is greater than
54bytes.
Send 1st block as 64 Byte, Includes
12byte Header 54 of byte. Goto STEP2
STEP2:
Wait for WRITE_OK/ WRITE_NOK
response.
If WRITE_NOK Goto STEP1
If WRITE_OK Goto STEP3