Docsity

ARM7100 Data Sheet: CODEC, LCD Controller, DC-DC Converters, Memory Map, Parameters - Prof, Study notes of Electrical and Electronics Engineering

Partial preview of the text

Download ARM7100 Data Sheet: CODEC, LCD Controller, DC-DC Converters, Memory Map, Parameters - Prof and more Study notes Electrical and Electronics Engineering in PDF only on Docsity!

ARM7100 Data Sheet

Preliminary

CODEC Interface

This chapter describes the ARM7100 CODEC interface. 12.1 CODEC Interface 12-

CODEC Interface

ARM7100 Data Sheet

Preliminary

12.1 CODEC Interface

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

ARM7100 Data Sheet

Preliminary

13.1 Synchronous Serial Interface

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.

ARM7100 Data Sheet

Preliminary

LCD Controller

This chapter describes the LCD controller. 14.1 LCD Controller 14-

LCD Controller

ARM7100 Data Sheet

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

ARM7100 Data Sheet

Preliminary

UART and SiR Encoder

ARM7100 Data Sheet

Preliminary

15.1 UART

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.

15.2 SiR Encoder

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.

ARM7100 Data Sheet

Preliminary

Timer Counters

This chapter describes the timer counters and the real time clock. 16.1 Timer Counters 16- 16.2 Real Time Clock 16-

ARM7100 Data Sheet

Preliminary

DC to DC Converters

This chapter describes the two DC to DC Converter Interfaces. 17.1 DC to DC Converter Interfaces 17-

DC to DC Converters

ARM7100 Data Sheet

Preliminary

17.1 DC to DC Converter Interfaces

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

ARM7100 Data Sheet

Preliminary

18.1 State Control

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:

  • a rising edge on the wakeup input signal
  • a selected interrupt being asserted Once self refresh is enabled for the DRAMs, any transition to the standby state is synchronised to DRAM refresh cycles and forces all the DRAMs into self refresh mode. Once in the operating state, the idle state is entered by writing to an internal memory location in ARM7100. Execution of the next instruction continues in the operating state if an interrupt becomes active. A write to another internal memory location causes the transition from the operating state to the standby state. The system can also be forced into the standby state by hardware if the nPWRFL or nURESET inputs are forced LOW. In this case, the transition is synchronised with DRAM cycles to avoid any glitches or short cycles. The system only transitions to the operating state from the standby state if the nEXTPWR, BATOK and nPWRFL inputs are HIGH. This prevents the system from attempting to start when the power supply is inadequate. ò Figure 18-1: State diagram on page 18-3 shows a state diagram for ARM7100.

Power Management and Reset

ARM7100 Data Sheet

Preliminary

Figure 18-1: State diagram

18.2 Reset

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

ARM7100 Data Sheet

Preliminary

Memory Map

This chapter describes the ARM7100 memory map. 19.1 Memory Map 19-

Memory Map

ARM7100 Data Sheet

Preliminary

19.1 Memory Map

The ARM7100 address space is allocated in the following way:

  • The lower 2 Gb of the address space is allocated to ROM and expansion space.
  • The upper 1 Gb of address space is allocated to DRAM.
  • The remaining 1 Gb, less 4Kb for internal registers, is not accessible in ARM7100. The MMU should be programmed to cause an abort exception in this space. Internal peripheral devices are communicated and configured through a set of internal memory locations from hex address 8000.000 to 8000.FFFF. ò Figure 19-1: ARM7100 memory map on page 19-3 shows how the 4 Gb address range of the ARM710 processor is mapped in ARM7100.