
TC65Smart
User Manual
Rev. 2-1.0 18
As Fig. 3.1 shows, the backup controller receives the following signals:
• Bus-line I2C with TC65 of the GSM module.
On this bus line, in the quality of the Master device (synchronizing signal generator
and bus line initiator) the GSM module always functions, which can transmit the
control commands to the backup controller and receive the information on the system
status. The controller is assigned a 7-bit address on the bus-line (the value is
programmed by the user. On default – 0x7F). It makes it possible to use the bus line
both for communication with the external devices through the interface connector
(cont. 12,13 Fig. 2.5), and for communication with the embedded controller.
By means of I2C commands, the TC65 module is capable of:
o Controlling the SIM card selection;
o Controlling the power supply;
o Changing the temporal and logic parameters for system operation;
o Receiving the information on the system operation mode.
The full list of I2C commands is represented in Table 3.1. To transmit the
commands to the controller from the TC65, it is required (either in the AT
command mode or by Java command call):
o To enter the I2C terminal – AT^SSPI=0000;
o To issue the command in the format <XYYZZBB>, where
• “<” and “>” are mandatory characters signifying START and
STOP of the bus line instance;
• X is any character of the Latin alphabet. It is not transmitted to the
bus line, and it is designed only for indication of the current device
for the TC65;
• YY is a hexadecimal number (0-9,A-F) determining the address of
the device required on the bus-line:
YY7 YY6 YY5 YY4 YY3 YY2 YY1 YY0
Machine address of the required device (on default for the Controller – 0x7F) 0 –
“recording”
1 –
“reading”
• ZZ is hexadecimal number (0-9,A-F) determining the code of the
command for the controller;
• BB is a hexadecimal number (0-9,A-F) determining the instruction
operand for the controller (if the command requires it);
The input sequence of characters is not displayed on the screen. It is not
transmitted on the bus line until the input of “>” character. After the
transmission, the Terminal indicates the response o the slave device. If the
transmission has been successful, the module indicates {X+} (X –
indication, “+” – the character signifies “response is received”);
o To transmit the character “#”, which completes the terminal operation.
Komentarze do niniejszej Instrukcji