IP networking Interfaces User's Guide

TC65 JAVA User's Guide
Strictly confidential / Released
s
TC65 JAVA User's Guide_V05 Page 20 of 90 26.09.2005
4.4 Handling Interfaces and Data Service Resources
To develop Java applications the developer must know which resources, data services and
hardware access are available.
There are three AT parsers available
There is hardware access over
- two serial interfaces: ASC1 (System.out only) and ASC0 (fully accessible).
- general purpose I/O. To configure the hardware access, please refer to the AT
Command Set [3] and the Hardware Interface Description [4].
- I2C/SPI
- All restrictions of combinations are described in section 4.4.1.
A Java application has:
- three instances of the AT command class, one with CSD and two without, each of
which would, in turn, be attached to one of the three AT parsers.
- one instance of access to a serial interface, ASC0, through the RS-232 API.
- System.out over the serial interface, ASC1, for debugging.
4.4.1 Module States
The module can exist in the following six states in relation to a Java application, the serial
interfaces, GPIO and I2C/SPI.
See the AT Command Set [3] for information about any AT
commands referenced. A state transition diagram is shown in
Figure 10.
This section shows how Java applications must share AT parsers, GPIO pins and I2C/SPI
resources. DAC, ADC and DAI are not discussed here. The USB interface is an alternative to
ASC1. When the USB is plugged in, the ASC1 interface is deactivated.
Color legend for the following figures
Default configuration of module
Default configuration when Java
application is started
configured by AT Command