![]() |
|
If you can't view the Datasheet, Please click here to try to view without PDF Reader . |
|
Datasheet File OCR Text: |
a Introduction MicroConverter(R) Technical Note - UC017 Additional Features of the ADuC83x Family The ADuC83x family are pin compatible upgrades to previous MicroConverter products. They include all the features of their predecessors plus a host of new and improved features. Part ADuC812 ADuC816 ADuC824 Upgrade ADuC831 ADuC836 ADuC834 The program memory allows users to implement a bootloader in a protected user bootloader space, details of this and example bootloader code are available in technote uC007. The user bootloader space can only be downloaded to from the kernel or in parallel programming and is seen as ROM to user code, thus protecting the bootloader. Increased Data Memory * 4Kb On-Chip Flash/EE Data Memory This represents an increase of over six times the dataflash/EE. This along with the fact that unused program memory may be used as data memory makes the ADuC83x family ideal for datalogging applications. On the previous parts the dataflash was accessed via the EADRL register. In order to access the extended flash space an addition register is required. This is EDATAH. When accessing the dataflash the flash has the following structure. It is arranged in pages of 4 bytes as shown in Figure 2. 3FFh 3FEh Byte 1 Byte 1 Byte 2 Byte 2 Byte 3 Byte 3 Byte 4 Byte 4 These new features include * Increased Program Flash (8k to 62k) Increased Data Flash (640 bytes to 4kBytes) * * Increased RAM (256 bytes to 2304 Bytes) * Additional support for High Level Programming * Pulse Width Modulator Outputs (PWM). * Dedicated Baud Rate Timer. * On chip POR * Time Interval Counter (new to ADuC831) This technote gives a summary of the new features New Features of the ADuC83x Family Memory Features Increased Program Memory * 62kB On-Chip Flash/ EE Memory The increased 62kB of program memory offers users increased integration removing the need for external EEPROM and latch. The program memory is arranged as shown in Figure 1 below. EMBEDDED DOWNLOAD/DEBUG KERNEL PROGRAM THE KERNEL PROGRAM CAN DOWNLOAD CODE TO THE FULL 62 KBYTES OF FLASH/EE PRO GRAM MEMORY. USER BOOTLOADER SPACE. THE USER BOOTLOADER CAN BE PROGRAMMED VIA THE DOWNLOAD/DEBUG KERNEL PROGRAM O R PARALLEL PROGRAMMIN G BUT IS READONLY TO USER CODE FFFFH PAGE ADDRESS (EADRH/L) 03h 02h 01h 00h Byte 1 Byte 1 Byte 1 Byte 1 EDATA1 SFR Byte 2 Byte 2 Byte 2 Byte 2 EDATA2 SFR Byte 3 Byte 3 Byte 3 Byte 3 EDATA3 SFR Byte 4 Byte 4 Byte 4 Byte 4 EDATA4 SFR Figure 2 2 KBYTE F 80 0H F7F FH Increased RAM * 2304 Bytes On-Chip Data Ram This extra RAM is enabled via the CFG83x.0 bit. If enabled this extra RAM is seen by user code as external RAM as shown in Figure 3. 62 KBYTES O F USER CO DE FFFFFFH FFFFFFH 6 KBYTE E 00 0 H D FFFH USER DOWNLOAD SPACE EITHER THE KERNEL PROGRAM OR USER CODE (IN ULOAD MODE) CAN WRITE TO THIS SPACE. 56 KBYTE EXTERNAL DATA MEMORY SPACE (24-BIT ADDRESS SPACE) 0 0 00 H EXTERNAL DATA MEMORY SPACE (24-BIT ADDRESS SPACE) Figure 1 As with the previous generation parts there is a 2kB Embedded download/debug kernel which downloads code to the part. The kernel can download to the entire memory space and also implements a single pin emulator/debugger. The kernel is primarily designed to interface with ADI tools such as the Windows Serial Downloader and Debugger. 000800H 0007FFH 2 KBYTES ON-CHIP XRAM CFG83x.0=1 000000H CFG83x.0=0 000000H Figure 3 REV. 1.0 May 2002 -1- MicroConverter Tech Note - UC017 http://www.analog.com/microconverter a * * MicroConverter(R) Technical Note - UC017 Additional Features of the ADuC83x Family High Level Language Programming Features Dual Data Pointer Extended Stack Pointer Internal Power On Reset (POR) * Removes need for external POR IC The extended stack pointer extends the stack pointer by 3 bits allowing the stack to use additional internal XRAM. This allows the stack to overflow from FFH to 100H. The Dual Data Pointer allows more efficient code size and execution along with some useful features such as auto increment and auto decrement. The combination of these features along with the extra RAM and Program memory allows for greater ease of programming in higher level languages such as C. The C compiler available from Keil Software (http://www.keil.com) supports the dual data pointer and extended stack pointer. An evaluation copy of this compiler is available as part of the MicroConverter Quickstart development system. The predecessors of the ADuC83x parts required an external POR circuit to be implemented. The inclusion of a robust internal POR on the ADuC83x family removes the need for this. Time Interval Counter * * Wake up from Power Down Time Long Intervals (up to 255 hours) This feature is new on the ADuC831 which is an upgrade to the ADuC812. Previous parts the ADuC816 and ADuC824 have this feature as does their upgrades the ADuC834 and ADuC836. A time interval counter is provided on-chip for counting longer intervals than the standard 8051-compatible timers are capable of. The TIC is capable of timeout intervals ranging from 1/128th second to 255 hours. Furthermore, this counter is clocked by an internal R/C oscillator rather than the external crystal and has the ability to remain active in powerdown mode and time long power-down intervals. This has obvious applications for remote battery-powered sensors where regular widely spaced readings are required. If the ADuC831 is in power-down with the Time Interval Counter interrupt enabled, the Time Interval Counter is capable of `waking up' the ADuC831 and executing code in the TIC interrupt routine. A simplified block diagram of the TIC is shown in Figure 4. TCEN 32KHz Internal R/C Osc. ITS0, 1 Pulse Width Modulator Block (PWM) * * * 2 PWM Outputs Flexible Configuration Choice of output pins The PWM can be configured as a DAC with up to 16-bits of resolution or as a PWM with variable resolution. The PWM is widely programmable in terms of input clock, clock dividers and PWM mode to give a highly flexible PWM. On the ADuC831 and ADuC832 additional flexibility is provided by allowing the user to choose the PWM output pins . The output pins that the PWM uses are determined by the CFG83x register, they can be either P2.6 and P2.7 or P3.3 and P3.4. The PWM can be configured to give either a single or dual output. 8-BIT PRESCALER HUNDREDTHS COUNTER HTHSEC INTERVAL TIMEBASE SELECTION MUX TIEN Timer 3 - Dedicated Baud Rate Generator * * Generates very accurate baud rates Frees up other timers SECOND COUNTER SEC MINUTE COUNTER MIN HOUR COUNTER HOUR 8-BIT INTERVAL COUNTER Timer 3 can be used instead of timer1 or timer2 for generating the baudrate, allowing a much wider range of baud rates to be accurately obtained. For example 230400 and 115200 baud can be obtained with a 0.1% error on all parts. Timer 3 also frees up the other three timers allowing them to be used for different applications. Timer 3 uses a programmable fractional divider to divide down the core clock into a wide range of clocks. 115200 Baud could not be obtained on the ADuC816 and ADuC824 but now this Baud Rate and higher can be obtained on the ADuC83x family. INTERVAL TIMEOUT TIME INTERVAL COUNTER INTERRUPT COMPARE COUNT = INTVAL? TIME INTERVAL INTVAL Figure 4 REV. 1.0 May 2002 -2- MicroConverter Tech Note - UC017 http://www.analog.com/microconverter |
Price & Availability of UC017
![]() |
|
|
All Rights Reserved © IC-ON-LINE 2003 - 2022 |
[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy] |
Mirror Sites : [www.datasheet.hk]
[www.maxim4u.com] [www.ic-on-line.cn]
[www.ic-on-line.com] [www.ic-on-line.net]
[www.alldatasheet.com.cn]
[www.gdcy.com]
[www.gdcy.net] |