








































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!









































This chapter describes the ARM7100 CODEC interface. 12.1 CODEC Interface 12-
CODEC Interface
Preliminary
The CODEC interface allows direct connection of a telephony type CODEC to ARM7100. It provides all the necessary clocks and timing pulses and performs serialisation or visa versa of the data stream to or from the CODEC. The interface is full duplex and contains two separate data FIFOs. Data is transferred to or from the CODEC at 64 k bits per second. This is either written to or read from a 16-byte FIFO. The sound interrupt is generated every 8 bytes that are transferred (FIFO half full/empty) which means the interrupt rate is reduced from 8 KHz to 1 KHz with a latency of 1 mSec. See ò Chapter 8, ARM7100 Programmer’s Model for details of the CODEC interface registers.
Synchronous Serial Interface
Preliminary
The synchronous serial interface provides a four wire interface to serial peripheral devices such as ADCs that have a SPI or Microwire compatible interface. The clock output frequency is programmable and only active during data transmissions to save power. The output channel is fed by an 8-bit shift register. The input channel is captured by a 16-bit shift register. The clock and synchronisation pulses are activated by a write to the output shift register. During transfers, the SSIBUSY (synchronous serial interface busy) bit in the system status flags register is set when the transfer is complete. Valid data is in the 16-bit read shift register when the SSEOTI interrupt is asserted and the SSIBUSY bit is cleared. See ò Chapter 8, ARM7100 Programmer’s Model for details of the synchronous serial interface registers.
This chapter describes the LCD controller. 14.1 LCD Controller 14-
LCD Controller
Preliminary
Figure 14-1: Video Buffer Mapping The refresh rate is not affected by the number of bits per pixel. However, the LCD controller fetches twice the data per refresh for 4 bits per pixel compared to 2 bits per pixel. The main reason for reducing the number of bits per pixel is to reduce the power consumption of the DRAMs in bank 0 where the video buffer is mapped. See òChapter 8, ARM7100 Programmer’s Model for details of the LCD controller registers.
Pixel 1 Pixel 2 Pixel 3 Pixel 4
Grey scale Grey scale
Bit 0 Bit 1 Bit 2 Bit 3 Bit 4 Bit 5 Bit 6 Bit 7 4 Bits per pixel
Pixel 1 Pixel 2 Pixel 3 Pixel 4
Grey scale Grey scale
Bit 0 Bit 1 Bit 2 Bit 3 Bit 4 Bit 5 Bit 6 Bit 7 2 Bits per pixel
Pixel 1 Pixel 2 Pixel 3 Pixel 4
Bit 0 Bit 1 Bit 2 Bit 3 Bit 4 Bit 5 Bit 6 Bit 7 1 Bit per pixel
Grey scale Grey scale
LCD Controller
Preliminary
UART and SiR Encoder
Preliminary
ARM7100 contains a built in UART which offers similar functionality to National Semiconductor’s 16C550 device. It can support bit rates of up to 115.2 K bps and contains two 16 byte FIFOs for receive and transmit. Only three MODEM control input signals, CTS , DSR and DCD are supported. The additional RI input MODEM control line is not supported. Output Modem control lines such as RTS and DTR are not explicitly supported but can be implemented using bits from the general purpose I/O ports in ARM7100. UART operation and line speed are controlled by the UART bit rate and line control register (UBRLCR). Three interrupts can be generated by the UART:
Rx is asserted when the FIFO becomes half full or if the FIFO is non empty for longer than 3 character length times with no more characters being received
Tx is asserted if the FIFO buffer reaches half empty
Modem status is generated if either of the modem status bits change state Framing and parity errors are detected as each byte is received and pushed onto the Rx FIFO. An overrun error generates an Rx interrupt immediately. All error bits can be read from the 11-bit wide data register. The FIFO can also be programmed to be one byte depth only, like a conventional UART with double buffering.
ARM7100 also contains a IrDA (Infra-red data association) SiR protocol encoder. Optionally, this encoder can be switched in to the Tx and Rx signals so they can be used to drive an infra-red interface directly. For more details on the IrDA SiR protocol, see the appropriate document detailing this protocol standard. If the SiR protocol encoder is enabled, the UART Tx line is held in the passive state and transitions of the modem status or the Rx line will have no effect. See ò Chapter 8, ARM7100 Programmer’s Model for details of the UART and SiR encoder registers.
This chapter describes the timer counters and the real time clock. 16.1 Timer Counters 16- 16.2 Real Time Clock 16-
This chapter describes the two DC to DC Converter Interfaces. 17.1 DC to DC Converter Interfaces 17-
DC to DC Converters
Preliminary
ARM7100 has two programmable duty ratio 96 KHz clock outputs which are intended to be used as drives for DC to DC converters in the PSU subsystem. These clocks are enabled by external input pins which would normally be connected to the output from comparators monitoring the DC to DC converter output. The duty ratio (and hence the converter on time) can be programmed from 1 in 16 to 15 in 16. The sense of the DC to DC converter drive signal (active HIGH or LOW) is determined by latching the state of this drive signal during power on reset. ie. a pull up on the drive signal results in an active LOW drive output and vice versa. This allows either positive or negative voltages to be generated by the DC to DC converter.
Power Management and Reset
Preliminary
ARM7100 supports three basic power states:
Standby This equates to a computer being switched off, that is, no display. The main oscillator is shut down.
Idle The device is functioning and all oscillators are running but the processor clock is halted while it waits for an event such as a key press.
Operating ARM7100 is fully operational. In the standby state, all the system memory and state is maintained and the system time is kept up to date. The main oscillator is disabled and the system is static except for the low power watch crystal (32 KHz) oscillator and divider chain to the real time clock. The RUN signal is driven LOW when in the standby state. When first powered or reset by the nPOR (not Power on reset) signal, the system is forced to the standby state. This is known as a cold reset and is the only completely asynchronous reset to ARM7100. The transition to the operating state is caused by one of the following:
Power Management and Reset
Preliminary
Figure 18-1: State diagram
There are three asynchronous resets to ARM7100; these are nPOR , nPWRFL and nURESET. If any of these are active asystem reset is generated internally, this will clear all the internal registers in ARM7100 to zero except for the DRAM refresh period register and the real time clock data register which are only cleared by an active nPOR. It will also reset the ARM710a and cause it to start execution at the reset vector when ARM7100 returns to the operating state. The RUN signal is HIGH when ARM7100 is in the operating or idle states and LOW when in the standby state.
Standby (^) Active
Idle
Interrupt or rising wakeup
Write to standby location power fail or user reset
Interrupt, power fail or user reset Write to idle location
This chapter describes the ARM7100 memory map. 19.1 Memory Map 19-
Memory Map
Preliminary
The ARM7100 address space is allocated in the following way: