EasyManuals Logo

Telit Wireless Solutions ML865G1 At Commands Reference Guide

Telit Wireless Solutions ML865G1
545 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 #308 background imageLoading...
Page #308 background image
ME310G1/ME910G1/ML865G1 AT Commands Reference Guide
80617ST10991A Rev.4 Page 308 of 545 2020-04-15
3.8.11. AT#I2CCF - Combined Format for I2C Writing and Reading
This command is used to write and read data to/from an I2C device using the I2C Combined Format. The
module acts as an I2C master.
[1] Hardware User's Guide of the used module
SIM Presence
Setting saved
Can be aborted
MAX timeout
SELINT
Not required
Auto
No
-
2
AT#I2CCF=<sdaPin>,<sclPin>,<deviceId>,<lenwr>,<lenrd>
The module, as master, transmits data to the slave and then, reads data from it through two
GPIOs. Transfer direction is changed when writing section is ended. After the write/read activity has
been accomplished, the GPIOs will not be restored to the original setting. Use #GPIO command to
see the status of the used GPIOs. To have information on GPIO pins refer to document [1].
Parameters:
Name
Type
Default
Description
<sdaPin>
integer
-
GPIO number for SDA. To know the range use #I2CCF test
command.
<sclPin>
integer
-
GPIO number for SCL. To know the range use #I2CCF test
command.
<deviceId>
hex
N/A
address of the I2C device (7 bits). The Least Significant Bit is
used for read/write command, but in this #I2CCF
implementation, it doesn't matter if the LSB is set to 0 or to 1.
Address must be written in hexadecimal form without 0x.
10 bit address is also supported.
Value:
0÷3FF
:
addressing range extended to 10 bit
<lenwr>
integer
N/A
number of data to write.
Value:
0÷254
:
number of data to write.
<lenrd>
integer
N/A
number of data to read.
Value:
0÷254
:
number of data to read.
Additional info:
After entering the command, and if <lenwr> > 0, the module returns the prompt ">" and
waits for the data to send. To complete the operation enter Ctrl-Z char (0x1A hex); to exit
without writing the message enter ESC char (0x1B hex).
Data must be written in hexadecimal form without 0x.
If data are successfully sent, the response is OK, otherwise an error code is reported.

Table of Contents

Other manuals for Telit Wireless Solutions ML865G1

Questions and Answers:

Question and Answer IconNeed help?

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

Telit Wireless Solutions ML865G1 Specifications

General IconGeneral
BrandTelit Wireless Solutions
ModelML865G1
CategoryWireless modules
LanguageEnglish

Related product manuals