Anleitung Atmel, modell AT89C5132
Hersteller: Atmel Dateigröße: 360.49 kb Dateiname: 4173S.pdf
Unterrichtssprache:
|
|
|
|
Link zum kostenlosen Download Hinweise finden Sie am Ende der Seite
Anleitung Zusammenfassung
The AT89C5132 includes 64K Bytes of Flash memory and allows In-System Programming through an embedded 4K Bytes of Boot Flash Memory. The AT89C5132 include 2304 Bytes of RAM memory. The AT89C5132 provides all the necessary features for man-machine interface including, timers, keyboard port, serial or parallel interface (USB, SPI, IDE), ADC input, I2S output, and all external memory interface (NAND or NOR Flash, SmartMedia, MultiMedia, DataFlash cards). •Flash Recorder/Writer •PDA, Camera, Mobile Phone •PC Add-on Notes:1.Alternate function of Port 3 2.Alternate function of Port 4 3.Alternate function of Port 1 Note:1.For development board only. All the AT89C5132 signals are detailed by functionality in Table 1 to Table 14. Table 1. Ports Signal Description Table 2. Clock Signal Description Table 3. Timer 0 and Timer 1 Signal Description Table 4. Audio Interface Signal Description Table 5. USB Controller Signal Description Table 6. MutiMediaCard Interface Signal Description Table 7. UART Signal Description Table 8. SPI Controller Signal Description Table 9. TWI Controller Signal Description Table 10. A/D Converter Signal Description Table 11. Keypad Interface Signal Description Table 12. External Access Signal Description Table 13. System Signal Description Table 14. Power Signal Description Table 15. Detailed Internal Pin Structure Notes:1.For information on resistors value, input/output levels, and drive capability, refer to the Section “DC Characteristics”, page 183. 2.When the Two Wire controller is enabled, P1, P2, and P3 transistors are disabled allowing pseudo open-drain structure. 3.In Port 2, P1 transistor is continuously driven when outputting a high level bit address (A15:8). The AT8xC5132 derivatives implement four different address spaces: •Program/Code Memory •Boot Memory •Data Memory •Special Function Registers (SFRs) The AT89C5132 implements 64K Bytes of on-chip program/code memory in Flash technology. The Flash memory increases ROM functionality by enabling in-circuit electrical erasure and programming. Thanks to the internal charge pump, the high voltage needed for programming or erasing Flash cells is generated on-chip using the standard VDD voltage. Thus, the AT89C5132 can be programmed using only one voltage and allows in application software programming commonly known as IAP. Hardware programming mode is also available using specific programming tools. The AT89C5132 implements 4K Bytes of on-chip boot memory provided in Flash technology. This boot memory is delivered programmed with a standard bootloader software allowing in system programming commonly known as ISP. It also contains some Application Programming Interfaces routines commonly known as API allowing user to develop his own bootloader. The AT89C5132 derivatives implement 2304 bytes of on-chip data RAM. This memory is divided in two separate areas: •256 bytes of on-chip RAM memory (standard C51 memory). •2048 bytes of on-chip expanded RAM memory (ERAM accessible via MOVX instructions). Peripherals The AT8xC5132 peripherals are briefly described in the following sections. For further details on how to interface (hardware and software) to these peripherals, please refer to the AT8xC5132 complete datasheet. Clock Generator System The AT8xC5132 internal clocks are extracted from an on-chip PLL fed by an on-chip oscillator. Four clocks are generated respectively for the C51 core, the audio interface, and the other peripherals. The C51 and peripheral clocks are derived from the oscillator clock. The audio interface sample rates are also obtained by dividing the PLL output clock. Ports The AT8xC5132 implement five 8-bit ports (P0 to P4) and one 4-bit port (P5). In addition to performing general-purpose I/Os, some ports are capable of external data memory operations; others allow for alternate functions. All I/O Ports are bidirectional. Each Port contains a latch, an output driver and an input buffer. Port 0 and Port 2 output drivers and input buffers facilitate external memory operations. Some Port 1, Port 3 and Port 4 pins serve for both general-purpose I/Os and alternate functions. Timers/CountersThe AT8xC5132 implement the two general-purpose, 16-bit Timers/Counters of a standard C51. They are identified as Timer 0, Timer 1, and can independently be configured each to operate in a variety of modes as a Timer or as an event Counter. When operating as a Timer, a Timer/Counter runs for a programmed length of time, then issues an interrupt request. When operating as a Counter, a Timer/Counter counts negative transitions on an external pin. After a preset number of counts, the Counter issues an interrupt request. Watchdog Timer The AT8xC5132 implement a hardware Watchdog Timer that automatically resets the chip if it is allowed to time out. The WDT provides a means of recovering from routines that do not complete successfully due to software or hardware malfunctions. Audio Output Interface The AT8xC5132 implements an audio output interfa...