This application note describes how to configure Maxim line interface units (LIUs) without adding the extra, and often complex, circuitry of a microcontroller.
Configuration of LIU(s)
It is possible to configure some Maxim line interface units (LIUs) without a microcontroller. These unique LIUs have an extra serial interface (SPI) along with the traditional parallel port. To place the LIU in SPI slave mode, specific LIU pins are floated, pulled to VCC, or grounded. Please see the LIU data sheet for particular pin configurations.
Once the LIU is in serial mode, a PROM can be used to provide the LIU with the specific data needed for configuration. If the data in the PROM is formatted in a defined way, the PROM will act like a controller with a SPI interface in Master Mode.
The PROMs typically used for this type of configuration have an internal address accumulator. It is important that the PROMs have this accumulator feature because the PROM will need to automatically jump to the next available address in the configuration memory. We recommend the Xilinx XC18V00 device family which has byte-wide, nonvolatile memory with an autoincrement address function. These devices are available in 1Mb, 2Mb, and 4Mb densities.
Figure 1 shows the general relationship of the timing for a SPI bus. For this case, all data is clocked into the slave device on the rising edge of SCLK. This feature can be configurable on some devices; please check the device data sheet for details.
Figure 2 is a simplified diagram of the Xilinx XC18V00 device and a Maxim LIU in SPI mode. Two key points should be noted.
- The CLK for the Xilinx XC18V00 can be the MCLK for the LIU, but the CLK is not the SCLK for the SPI interface. The SCLK can be programmed as needed. Please see Table 1 for an example of the memory map.
- The programming for the LIU will begin when OE on the Xilinx XC18V00 goes high. Therefore, one must consider if any delay is necessary in the application. Generally, connecting the OE pin to a powerup delay device is sufficient.
|0x00||1||0||0||Start of Write Cycle|
|0x01||0||0||0||Bit A0 (Always a "0" for a write)|
|0x11||0||0||0||Bit D0 (LSB)|
|0x21||1||0||X||End of Write Cycle|
Configuring LIU(s) for Other Operations
By connecting the D5, D6, and D7 pins of the Xilinx XC18V00 device through a switch to the LIU's SDI pin, different loopback configurations can be implemented.
The Maxim line interface units (LIUs) have different modes of operation that can be implemented without a microcontroller, but instead by using configurable PROM like the Xilinx XC18V00 device family. Modifications to the LIUs should be made based on the customer's needs.
If you have questions about any Maxim telecom products, please contact the Telecom Products applications support team.