A. This Errata sheet represents the known bugs, anomalies and work-arounds for the ADuC812 MicroConverter.

Similar documents
MCS-51 Serial Port A T 8 9 C 5 2 1

Errata to MSC1211, Datasheet Literature Number SBAS323

DRAFT COPY FUNCTIONAL BLOCK DIAGRAM P0.0 P0.7 P1.0 P1.7 P2.0 P2.7 P3.0 P3.7. ADuC BIT Successive Approximation ADC & ADC Control Logic COMP

Hello, and welcome to this presentation of the STM32 I²C interface. It covers the main features of this communication interface, which is widely used

PRACTICAL DESIGN TECHNIQUES FOR SENSOR SIGNAL CONDITIONING

M68HC08 Microcontroller The MC68HC908GP32. General Description. MCU Block Diagram CPU08 1

MicroConverter, Multichannel 12-Bit ADC with Embedded FLASH MCU ADuC812

MicroConverter, Small Package 12-Bit ADC with Embedded FLASH MCU ADuC814

8051 Serial Communication

8051 Microcontroller

spi 1 Fri Oct 13 13:04:

CoE3DJ4 Digital Systems Design. Chapter 5: Serial Port Operation

Chapter 6 Interrupts. (I. Scott Mackenzie) By: Masud-ul-Hasan

Understanding the basic building blocks of a microcontroller device in general. Knows the terminologies like embedded and external memory devices,

SPI Block User Guide V02.07

CoE3DJ4 Digital Systems Design. Chapter 6: Interrupts

AN-881 APPLICATION NOTE

Question Bank Microprocessor and Microcontroller

Application Note: AZD025 IQ Switch - ProxSense TM Series I2C Example Code for the IQS222

How to Implement I 2 C Serial Communication Using Intel MCS-51 Microcontrollers

power supply Tamper Detect function will detect possible data modification from outside magnetic

MICROPROCESSORS AND MICROCONTROLLERS MATERIAL. Features of 8051:

Migrating from the 8XC251Sx to the 8XC251Tx

80C51GB, 83C51GB, 87C51GB SPECIFICATION UPDATE

FlashFlex MCU SST89E54RD2A/RDA / SST89E58RD2A/RDA

EE 456 Fall, Table 1 SPI bus signals. Figure 1 SPI Bus exchange of information between a master and a slave.

Fractional Divider Evaluation Board AD9858FDPCB

DS1845 Dual NV Potentiometer and Memory

Evaluation Board for Transducer ADC EVAL-AD7730EB

User-configurable Resolution. 9 to 12 bits (0.5 C to C)

Design and development of embedded systems for the Internet of Things (IoT) Fabio Angeletti Fabrizio Gattuso

User-configurable Resolution. 9 to 12 bits (0.5 C to C)

Digital Thermometer and Thermostat


Interrupt Programming: Interrupts vs. Polling Method:

CHAPTER 11 INTERRUPTS PROGRAMMING

1-Mbit (128K 8) Serial (SPI) nvsram with Real-Time Clock

Embedded systems. Exercise session 3. Microcontroller Programming Lab Preparation

Introduction to Embedded Systems

8051 Microcontroller Interrupts

Product Update. Errata to Z8 Encore! 8K Series Silicon. Z8 Encore! 8K Series Silicon with Date Codes 0402 and Later

An SPI interface for the 65(C)02 family of microprocessors

MicroConverter Technical Note uc001 MicroConverter I 2 C Compatible Interface

Emulating Dual SPI Using FlexIO

Digital Thermometer and Thermostat

Low Voltage, 10-Bit Digital Temperature Sensor in 8-Lead MSOP AD7314

Blackfin Embedded Processor

AN-946 APPLICATION NOTE

FlashFlex MCU SST89C58RC

MC68HC908GR16 Data Sheet

CPEG300 Embedded System Design. Lecture 8 Timer

ORDERING INFORMATION. OPERATION Measuring Temperature A block diagram of the DS1621 is shown in Figure 1. DESCRIPTION ORDERING PACKAGE

Infineon C167CR microcontroller, 256 kb external. RAM and 256 kb external (Flash) EEPROM. - Small single-board computer (SBC) with an

Engineer-to-Engineer Note

AT89S4D12. 8-Bit Microcontroller with 132K Bytes Flash Data Memory AT89S4D12. Features. Description. Pin Configurations

Addressing scheme to address a specific devices on a multi device bus Enable unaddressed devices to automatically ignore all frames

64-Kbit (8 K 8) SPI nvsram with Real Time Clock

8-bit Microcontroller with 8K Bytes In-System Programmable Flash AT89S52

AN5123 Application note

Chapter 2. Overview of Architecture and Microcontroller-Resources

Errata Sheet RV-8803-C7

AN-895 APPLICATION NOTE

The Timers/Counters The Serial Interface The Interrupt System Reset P0.0-P0.7 P2.0-P2.7. Port 2 Drivers. Port 2 Latch

MicroConverter Technical Note - uc007 User Download (ULOAD) Mode

64-Kbit (8K 8) SPI nvsram

AVR XMEGA Product Line Introduction AVR XMEGA TM. Product Introduction.

8-bit Microcontroller with 12K Bytes Flash and 2K Bytes EEPROM AT89S8253

PIN ASSIGNMENT PIN DESCRIPTION

ISSI. IS89C51 CMOS SINGLE CHIP 8-BIT MICROCONTROLLER with 4-Kbytes of FLASH ISSI IS89C51 NOVEMBER 1998 FEATURES GENERAL DESCRIPTION

DS1626/DS1726 High-Precision 3-Wire Digital Thermometer and Thermostat

Evaluation Board for 14-/16-Bit, Serial Input, VOUT NanoDACs EVAL-AD5040EB/EVAL-AD506xEB

Section 16. Basic Sychronous Serial Port (BSSP)

DS1855 Dual Nonvolatile Digital Potentiometer and Secure Memory

PIC16F87X. 28/40-pin 8-Bit CMOS FLASH Microcontrollers. Devices Included in this Data Sheet: Pin Diagram PDIP. Microcontroller Core Features:

These three counters can be programmed for either binary or BCD count.

TMS320C672x DSP Serial Peripheral Interface (SPI) Reference Guide

MC68HC908GR8A MC68HC908GR4A Data Sheet

MICROPROCESSOR BASED SYSTEM DESIGN

80C186 AND 80C188 EMBEDDED MICROPROCESSORS SPECIFICATION UPDATE

Figure 1: Byte 1 Byte 2 MISO <--- OVF EOM P0 P1 P2 P3 P4 P5 P6 P7 P8 P9 P

Engineering Bulletin. Introduction and Background. Definition of Early TOF EB389/D 11/2001

EE6502- MICROPROCESSOR AND MICROCONTROLLER

The Final Word on 8051 Microcontroller

Design with Microprocessors

1) A/D MODULE (REV D) G23V ONLY 2) LATCH-UP G23V AND G49V ONLY 3) MSCAN MODULE (REV A) G23V AND G49V ONLY 4) MSCAN MODULE (REV A) G23V AND G49V ONLY

MicroConverter TM Technical Note - uc005 ADuC812 ADC Software Calibration

Clock and Fuses. Prof. Prabhat Ranjan Dhirubhai Ambani Institute of Information and Communication Technology, Gandhinagar

Optimized for V CC range of 1.7V to 3.6V. 2-wire serial interface: I 2 C Fast Mode Plus (FM+) compatible

DDS DAC Output Evaluation Board AD9858PCB

DS80C390 Dual CAN High-Speed Microprocessor

Serial I-O for Dinesh K. Sharma Electrical Engineering Department I.I.T. Bombay Mumbai (version 14/10/07)

Understanding SPI with Precision Data Converters

IP-48DAC channel 16-bit Digital/Analog Converter With memory Industry Pack Module PROGRAMMING MANUAL Version 1.

Interfacing the HI7190 to a Microcontroller

SRL0 Serial Port Unit

Digital Thermometer and Thermostat in SOT23

Engineer-to-Engineer Note

Embedded Controller Programming II. I/O Device Programming in C Part 1: Input and Interrupts

Emulating an asynchronous serial interface (ASC0) via software routines

VORAGO VA108x0 I 2 C programming application note

Transcription:

a MicroConverter, Multi-Channel 12-bit ADC with Embedded FLASH MCU ADuC812 A. This Errata sheet represents the known bugs, anomalies and work-arounds for the ADuC812 MicroConverter. B. The Errata listed, apply to all ADuC812 packaged material branded as follows : (Production Material) ADUC812BS Date Stamp AD Logo Lot Number Where the Date Stamp number is greater than or equal to 9933. (Engineering Lot Exception : Errata Listed in this sheet also apply to parts branded with Lot Number/Date Stamp combination = F104366.1 / 9925. ) C. s referring to previous silicon revisions are available on our web-site at http://www.analog.com/microconverter/erratasheets.html D. Because of silicon revisions and improved work-arounds, this will be updated periodically. Please find the latest listed on the World Wide Web at : http://www.analog.com/microconverter/erratasheets.html E. Analog Devices Inc. is committed, through future silicon revisions to continuously improve silicon functionality. Analog Devices Inc. will use its best endeavors to ensure that these future silicon revisions remain compatible with your present software/systems that implement the recommended work-arounds outlined in this document. Information furnished by Analog Devices is believed to be accurate and reliable. However, no responsibility is assumed by Analog Devices for its use, nor for any infringements of patents or other rights of third parties which may result from its use. No license is granted by implication or otherwise under any patent or patent rights of Analog Devices. MicroConverter is a Trademark of Analog Devices, Inc. One Technology Way, P.O. Box 9106, Norwood, MA 02062-9106, U.S.A. Tel: 781/329-4700 World Wide Web Site: http://www.analog.com Fax: 781/326-8703 Analog Devices, Inc., 2001

1. ADC FUNCTION - ADC CONVERSION IN DMA MODE : The ADC can be triggered by 1 of 4 trigger events in Normal and DMA operating modes, namely: Single Software Conversion, Continuous Software Conversions, External Pin Triggered Conversions and Timer2 triggered Conversions. DMA mode is initiated by setting the DMA bit in the ADCCON2 SFR and the DMA controller proceeds starting from the external data memory address indicated by the DMA address SFRs DMAL/H/P. Once a DMA conversion sequence is complete, both the DMA bit and the bit controlling the conversion mode are reset by the DMA controller. a. DMA operation will not execute when triggered from Timer2 driven conversions unless DMA Address (DMAL/H/P) is initially set to 000000H. b. The conversion mode bits (EXTC and T2C) are NOT reset upon completion of a DMA conversion sequence triggered by Timer2 or external CONVST events. c. A write to DMA address registers DMAL or DMAH can corrupt the LSB of the adjacent DMA address register byte (DMAH or DMAP). d. DMA operation will not execute when triggered from Timer2 driven conversions unless ADCCON2 is written before ADCCON1 when configuring the ADC. a. For Timer2 triggered DMA conversions, ensure that the DMA start address is set to 000000H. b. When using Timer2 or Ext. Pin triggered DMA conversions, ensure that you force EXTC and T2C bits (ADCCON2) to reset by writing to these bits immediately after DMA completion. This will ensure that the ADC halts conversion as soon as the DMA sequence has completed. c. The DMA address registers should be written in the following order: DML, DMAH, DMAP. d. For Timer2 triggered conversions, ensure the correct configuration sequence is used for the ADC i.e. Configure ADCCON2 before ADCCON1. 2 of 7

2. ADC FUNCTION - TIME BETWEEN ADC CONVERSIONS ADuC812 The ADC can be triggered by 1 of 4 trigger events in Normal and DMA operating modes, namely: Single Software Conversion, Continuous Software Conversions, External Pin Triggered Conversions and Timer2 triggered Conversions. In all modes of operation the ADC is specified for 12-bit INL and DNL performance. If an ADC conversion is initiated 100msecs or more after the last conversion has taken place, the accuracy of this new conversion result cannot be guaranteed. Work-Around: Related Issues: Ignore or repeat the first conversion if the time between this conversion and the previous conversion is greater than 100msecs. None 3. UART FUNCTION - MULTIPROCESSOR COMMUNICATIONS MODE : UART Modes 2 and 3 (programmed via SCON) have a special provision for multiprocessor communications. In these modes, nine data bits are received and the ninth bit goes into RB8. In this mode the port can be programmed so that when the stop bit is received, the serial port interrupt is activated only if RB8(SCON) = 1. This feature is enabled by setting the SM2 bit in SCON. With SM2 set, the serial port interrupt is set each time a stop bit is received, regardless of the state of the RB8 bit. Implement a software polling scheme in the Serial Port ISR so that the state of the RB8 bit is checked on entering the ISR. If RB8 is 0 then a RETI is executed to exit the ISR immediately, and only if RB8 is set will the ISR function be executed. 4. SPI FUNCTION - OPERATION OF THE SPI INTERRUPT BIT ISPI : The SPI Interrupt bit ISPI in the SPI Control SFR (SPICON) is set at the end of an SPI transfer (8 SPI Clocks). Typically this bit can be used in an interrupt driven routine to vector to the SPI Interrupt Vector Address at 003BH. Alternatively this bit can be polled in software to detect a new reception or completion of a byte transmission. In an interrupt driven routine this bit is automatically cleared when the PC vectors to the SPI ISR. However, in a polled implementation the bit is not writable and is not cleared on subsequent accesses to the SPI data SFRs. This means that in a software polled scheme the ISPI bit is set after the first transmission but will not and cannot be cleared for subsequent byte communications which can result in subsequent reads of the same initial byte or corruption of a byte transmission before it is completed. a. Use the SPI peripheral in interrupt driven mode only, thereby avoiding any issues with the ISPI bit as this bit is automatically set and cleared in an SPI interrupt driven routine. 3 of 7

b. In master mode SPI operation, use dummy NOP instructions to time out a complete SPI 8-Clock cycle before trying to access the SPI data SFRs. 5. SPI FUNCTION - SLAVE MODE FUNCTIONALITY : In synchronous slave mode (CPOL=0/1, CPHA=0) the new MSB output value appears on MISO when SS goes low. The SPI slave does not function correctly as a transmitter in modes 00 and 10 (i.e. when CPHA=0). The MSB of the transmitted byte is corrupted by the MSB of the byte just received. To transmit in Slave mode use the alternate SPI Slave operating mode (CPOL=0/1, CPHA=1). 6. PORT 2 AND PORT 3.3 INTERNAL ACTIVE PULL-UP FUNCTIONALITY : As with standard 8051 compatible Port functionality, Port 2 and Port 3 pins feature weak internal pull-up resistors and will source current when pulled low externally. On a 0-to-1 transition, an additional pull-up is turned on for 2 master clock periods to help increase transition speed. a. On Port 2 pins, the additional pull-up resistor does not come on during the required 2 clock periods when these pins are being driven as digital outputs. b. Port 3.3 is configured as an open drain output without any internal pullup resistors. External pull-up resistors must be used to pull up any Port 2 or P3.3 pin being used as an digital output to ensure fast edges on 0-to-1 transitions. Port 2 pins operate correctly (including internal pull-up resistors) when operating as part of the external memory interface on the device. 7. FLASH/EE MEMORY - 3V PROGRAMMING : The ADuC812 contains 2 separate arrays of Flash/EE memory, namely : - 8 KBytes Internal Code Space. - 640 Bytes Flash/EE Data Memory. The 8 KBytes code space can be programmed in serial download or parallel programming modes, while the 640 Byte data space can be written by user software via a specified SFR interface. This revision of silicon does not support programming the 8K code or 640 Byte data Flash/EE memories at DV DD power supplies of less than 4.5V. The device should be programmed at DV DD =5V. 4 of 7

8. CODE EXECUTION - TRANSITION FROM INTERNAL TO EXTERNAL CODE SPACE : As with standard 8051 microcontroller functionality the ADuC812 will execute from internal code space when the EA pin is tied high. If the PC rolls over the 8K internal code boundary or is vectored to a location greater than 8K (using a jump instruction for example), the external program memory interface is enabled so as to continue code execution in the external code space. A transition from internal to external code will not function correctly. Specifically the P0 outputs designating the low address byte during an op-code fetch is not driven correctly during the first op-code byte fetch cycle, resulting in incorrect or invalid op-code execution. This anomaly will occur during a code rollover to external memory or a jmp or call to a subroutine residing in external memory. User software should execute a MOV P0,#00H instruction immediately before a rollover, jump or call to external code space is executed to avoid this anomaly. 9. FUNCTIONALITY OF PSMCON.1 BIT IN THE PSMCON SFR : The PSMCON.1 bit in the PSMCON SFR can be used to indicate which supply caused the active power supply trip condition. PSMCON.1=0 indicates a DV DD fault while PSMCON.1=1 indicates an AV DD fault. If the power supply trip point selection bits are set to select the 4.63V or 4.37V supply trip points, the PSMCON.1 (AV DD /DV DD power supply trip indicator) bit may not correctly indicate which supply has caused the fault. The supply trip indicator bit will function correctly at all other trip point voltage levels. Pending. It should be noted that while the trip indicator bit function is suspect at these trip levels, the PSM function itself is still 100% operational (even at 4.63V and 4.37V trip levels) generating an interrupt as soon as any one of the supply pins falls below the specified supply voltage trip point selection. 10. FLASH MEMORY - SECURITY BITS FUNCTIONALITY : 3 undocumented security bits exist at Page 160 (A0H) of User Flash/EE memory. The security bits can be accessed in parallel programming mode and through the SFR read/write interface to the User Flash/EE memory. The security bits do not function correctly. Do NOT program page 160 (A0H) of User Flash/EE memory. Pending. 5 of 7

11. XTAL1 LOGIC INPUT VOLTAGE : The XTAL1 input is NOT included in the datasheet Input High Voltage Specification. The input high voltage specification for this pin is specified as 4.0V minimum with DV DD =5V. 12. ENTRY TO SERIAL DOWNLOAD MODE: If the PSEN pin (#41) is pulled low via an external pull-down resistor during a power cycle or during an assertion and de-assertion of the external RESET pin(#15), the ADuC812 will enter serial download mode. Some ADuC812 devices, when subjected to the above conditions may fail to enter serial download mode and will instead enter normal operating mode. a. For devices with kernel revision 1 previous to V210 : - Parallel program any device that fails to enter serial download mode. b. For devices with kernel revision 1 V210 or greater : (i) These devices will correctly enter serial download mode at or below temperatures of 25 C. (ii) For serial programming at elevated temperatures, a subsequent re-toggle of the RESET pin with the PSEN pin pulled low will guarantee entry into serial download mode. 1 The kernel revision is denoted in the serial ID character string returned via the ADuC812 serial port when the part is configured into serial download mode. Refer to Technical Note: uc004 at http://www.analog.com/microconverter for more information on serial download mode. a. When executing code from external memory, failure to correctly readback bytes from the 640 Flash/EE data space is also a symptom of this errata. b. Refer to Tools Change Notification, 812tcn02.pdf available at http://www.analog.com/microconverter/download/812tcn02.pdf for further details on kernel revision V210. 13. EXTERNAL POWER-ON RESET (POR) OPERATION - DOCUMENTATION UPDATE : All ADuC812 documentation has been updated to include a detailed recommendation on how the external RESET pin (#15) should be driven with external POR circuitry during power-on, power-down and brown-out conditions. These recommendations can be found in the ADuC812 technical datasheet (REVA) and the ADuC812 User s Manual (Draft 0.5) available at http://www.analog.com/microconverter 14. UART FUNCTIONALITY - BAUD RATE GENERATION IN SPLIT TIMER MODE: Timer 0 can be enabled as two 8-bit timers (Mode 3). Since the overflow flag for timer 1 is used by timer 0 in split timer mode, timer 1 can only be used as either a baud rate generator or as a timer as long as it does not require interrupts. When the timers are configured as above with timer 1 as a baud rate generator the reload value in TH1 fails to be loaded into TH0, generating the incorrect baud rate. Pending All other Timer and Baud Rate generation modes operate correctly. 6 of 7

15. RESET FUNCTIONALITY WHEN EXECUTING FROM EXTERNAL MEMORY ONLY: The ADuC812 can be reset using in three ways, namely a. Power cycling the part, b. Toggling the reset pin and c. A watchdog Timeout a. When executing from external memory only i.e. EA tied low, resetting the ADuC812 by toggling the RESET pin can cause the part to enter an internal emulation mode. b. When executing from external memory only i.e. EA tied low, a watchdog reset can cause the part to enter an internal emulation mode. a. A subsequent toggle of the reset pin will reset the part. b. Tying the PSEN pin low through an external pull-down resistor (maximum value = 4KOhm) prevents entry to the emulation mode and correctly resets the ADuC812. a. This issue does not occur when executing code from internal memory only. b. This issue does not occur when executing code from both internal and external code memory. c. This issue does not occur when power cycling the ADuC812. 7 of 7