EasyManuals Logo

Telit Wireless Solutions LE910 User Manual

Telit Wireless Solutions LE910
509 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #259 background imageLoading...
Page #259 background image
Telit LE910 V2 Series AT Commands
80446ST10707A Rev. 0– 2015-11-03
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved page 259 of 509
Mod. 0808 2011-07 Rev.2
#I2CWR – Write to I2C
SELINT 2
Value has to be written in hexadecimal form (without 0x).
<len>: number of data to send. Valid range is 1-254.
The module responds to the command with the prompt '>' and awaits for the data to
send.
To complete the operation send Ctrl-Z char (0x1A hex); to exit without writing
the message send ESC char (0x1B hex).
Data shall be written in Hexadecimal Form.
If data are successfully sent, then the response is OK.
If data sending fails for some reason, an error code is reported.
Example if CheckAck is set and no Ack signal was received on the I2C bus
NOTE: At the end of the execution GPIO will be restored to the original setting
( check AT#GPIO Command )
NOTE: device address, register address where to read from\ write to, and date
bytes have to be written in hexadecimal form without 0x.
AT#I2CWR=?
Test command reports the supported list of currently available <service>s.
Example
AT#I2CWR=2,3,20,10,14
> 00112233445566778899AABBCCDD<ctrl-z>
OK
Set GPIO2 as SDA, GPIO3 as SCL;
Device I2C address is 0x20;
0x10 is the address of the first register where to write I2C data;
14 data bytes will be written since register 0x10
Read to I2C - #I2CRD
#I2CRD Read to I2C
SELINT 2
AT#I2CRD=
<sdaPin>,
<sclPin>,
<deviceId>,
<registerId>,
<len>
This command is used to Send Data to an I2C peripheral connected to module
GPIOs
<sdaPin >: GPIO number for SDA . Valid range is “any input/output pin” (see Test
Command.)
<sclPin>: GPIO number to be used for SCL. Valid range is “any output pin” (see
Command Test).

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Telit Wireless Solutions LE910 and is the answer not in the manual?

Telit Wireless Solutions LE910 Specifications

General IconGeneral
BrandTelit Wireless Solutions
ModelLE910
CategoryControl Unit
LanguageEnglish

Related product manuals