Inventek Systems 4343 Manuale Utente

Pagina di 30
                             
ISM4343-WBM-L54 Product Specification
 
DOC-DS-20174343-1.1 
 
 
Inventek Systems 
 
Page 19 
 
  SPI Endian Example: 
 
The data is in little endian (0x15 0x15 0x0A 0x0D 0x20 0x3E) and needs to be converted back to 
big endian with the leading 0x15’s removed. Please remember that this is a 16-bit interface so 
the endian conversion is done one 16-bit at a time. 
 
 
 
 
The endian requirement extends to the command being sent to the eS-WiFi module. So a 
“I?\r\x0A” command would be sent as 0x3F 0x49 0x0A 0x0D.