UART. Embedded RISC Microcontroller Core Peripheral

Size: px
Start display at page:

Download "UART. Embedded RISC Microcontroller Core Peripheral"

Transcription

1 Features New Enhanced Baud Rate Generator Generates Any Required Baud Rate Maximum 6 Mbps (0.35 µm) High Baud Rates at Low Crystal Clock Frequencies 6-, 7-, 8- or 9-bit Data Noise Filtering and Noise Error Detection Automatic Parity Generation and Parity Error Detection Overrun Detection Framing Error Detection False Start Bit Detection Three Separate Interrupts on TX Complete, TX Data Register Empty and RX Complete Fully Static Operation: 0 to 50 MHz (0.35 µm) Up to 100% Fault Coverage with Scan Test Description The AVR Embedded RISC Microcontroller Core is a low-power, CMOS, 8-bit microprocessor based on the AVR enhanced RISC architecture. With this core, Atmel supplies a full-duplex Universal Asynchronous Receiver and Transmitter (). Figure 1. Pin Configuration Embedded RISC Microcontroller Core Peripheral cp2 ireset runmod dbus_in[7:0] dbus_out[7:0] out_en AVR Control AVR Control cs adr[2:0] iore iowe rx_en rxd txd tx_en rxcirq IRQ txc_irqack txcirq IRQ test_se udreirq Scan Test test_si1 test_si2 test_so1 test_so2 Scan Test Rev. 1130C 01/01 1

2 Table 1. Pin Description Pin Name Description Direction Comments AVR Control cp2 CPU Clock Input Any register in the will update its contents only on the positive edge of cp2. ireset Synchronous Reset Input When high, ireset will reset internal registers by reading the value on dbus_in, which is forced to zero by the AVR Core. runmod Running Mode Input When high, runmod enables normal functioning of internal logic and interface logic. When low, it disables internal logic. dbus_out[7:0] Data Bus Output Output Valid only when accompanied by a strobe on out_en dbus_in[7:0] Data Bus Input Input Data bus input out_en Output Enable Strobe Output When high, out_en indicates that the requires control of the data bus. cs Chip Select Input When high, adr, iore and iowe are used to access internal I/Os. When low, the cannot be accessed in either read or write mode. adr[2:0] I/O Address Input Valid only when accompanied by a strobe on iore or iowe iore I/O Read Strobe Input Used to read the contents of the I/O location addressed by adr iowe I/O Write Strobe Input Used to update the contents of the I/O location addressed by adr txd Transmit Line Output Transmit data line rxd Receive Line Input Receive data line tx_en Transmit Enable Output When high, tx_en indicates that the transmit line is enabled. rx_en Receive Enable Output When high, rxd_en indicates that the receive line is enabled. Interrupt Request (IRQ) rxcirq Receive Complete IRQ Flag Output This flag (RXC bit in the Status Register) is cleared by ireset or by a read in Data Register and set when a character has been received. txcirq Transmit Complete IRQ Flag Output This flag (TXC bit in the Status Register) is cleared either by ireset, by writing a one to the TXC bit or by an acknowledge provided by txc_irqack. This flag is set when transmit is completed. udreirq UDR Empty IRQ Flag Output This flag (UDRU bit in the USART Status Register) is set by ireset or when data transmission begins and is cleared by a write in Data Register. txc_irqack Transmit Complete IRQ Acknowledge Signal Input When high, this signal indicates that the transmit complete interrupt request has been acknowledged. Test Scan test_se Test Scan Enable Input Test scan enable (active high) test_si1, test_si2 test_so1, test_so2 Test Scan Inputs Input Scan chain inputs Test Scan Outputs Output Scan chain outputs 2

3 Chip Select (cs) The has the ability to be remapped inside the AVR I/O address range. To access the internal I/O locations of the, the following conditions must be true: 000 adr[2:0] 101 cs = 1 Under these conditions, iore, iowe and adr are used to access the internal I/Os for reading or writing. The cs input may result in the decoding of the three AVR adr MSBs. To obtain the Base Address (BaseAdr) for addressing, use the following code: cs = (adr[5:3] == cs_adr) The binary value {cs_adr[2:0], 000} is the Base Address (BaseAdr) for addressing. Table 2 shows the corresponding BaseAdr for each cs_adr value and the restrictions that are applied. Table 2. BaseAdr Correspondence and Restrictions cs_adr BaseAdr Comments 000 0x00 Allowed 001 0x08 Allowed 010 0x10 Allowed 011 0x18 Allowed 100 0x20 Allowed 101 0x28 Allowed 110 0x30 Allowed 111 0x38 Not Allowed The three bits of adr give the offset, which locates the register required, as shown in Table 3. Table 3. adr Offset and Register adr[2:0] Register 000 I/O Data Register UDR 001 Status Register USR 010 Control Register A UCRA 011 Control Register B UCRB 100 Baud Rate Register Low UBRRLO 101 Baud Rate Register High UBRRHI 11x Unused. Other peripherals may use these addresses. 3

4 Data Transmission A block diagram of the transmitter is shown in Figure 2. Figure 2. Transmitter dbus_in[7:0] dbus_out[7:0] 8 cp2 /(UOSR + 1) cs adr[2:0] BAUD out_en ireset runmod iore iowe PARITY 8-12-BIT TX rx_en rxcirq txd rxd tx_en txc_irqack MPCM PAR CHRL PE NE CONTROL REGISTER B (UCRB) CONTROL REGISTER A (UCRA) STATUS REGISTER (USR) txcirq udreirq Data transmission is initiated by writing the data to be transmitted to the I/O Data Register (UDR). Data is transferred from UDR to the Transmit Shift Register when: a new character has been written to UDR after the stop bit from the previous character has been shifted out. The shift register is loaded immediately. a new character has been written to UDR before the stop bit from the previous character has been shifted out. The shift register is loaded when the stop bit of the character currently being transmitted has been shifted out. When data is transferred from UDR to the shift register, the UDRE ( Data Register Empty) bit in the Status Register (USR) is set. When this bit is set (one), the is ready to receive the next character. At the same time as the transfer of data from the UDR to the 8-bit-to-12-bit shift register, bit 0 of the shift register is cleared (start bit). If parity is used (PAR not equal to 100), bit Character Length (CHRL) + 1 is loaded with the parity selected and bit Character Length + 2 is set (stop bit). Otherwise, bit Character Length + 1 is set (stop bit). On the baud rate clock following the transfer operation to the shift register, the start bit is shifted out on the TXD pin. The data then follows, with LSB first. When the stop bit has been shifted out, the shift register is loaded if any new data has been written to the UDR during the transmission. During loading, UDRE is set. If there is no new data in the UDR to send 4

5 when the stop bit is shifted out, the UDRE flag will remain set until UDR is written again. When no new data has been written and the stop bit has been present on TXD for one bit length, the TX Complete Flag (TXC) in USR is set. When CHRL = 11 in the Control Register B (UCRB), transmitted and received characters are 9 bits long plus a start bit, possible parity bit (if used) and stop bit. The ninth data bit to be transmitted is the TXB8 bit in the UCRA. This bit must be set to the required value before a transmission is initiated by writing to the UDR. The TXEN bit in UCRA enables the transmitter when set (one). Data Reception Figure 3 shows a block diagram of the receiver. Figure 3. Receiver dbus_in[7:0] dbus_out[7:0] cp2 /(UOSR + 1) cs adr[2:0] rxd 8-12-BIT RX ireset runmod iore iowe txc_irqack MPCM CHRL PAR CONTROL REGISTER B (UCRB) CONTROL REGISTER A (UCRA) PE NE STATUS REGISTER (USR) PARITY CHECK out_en rx_en tx_en txd txcirq udreirq rxcirq The receiver front-end logic samples the signal on the RXD pin at a frequency (UOSR + 1) times the baud rate. While the line is idle, one single sample of logical zero is interpreted as the falling edge of a start bit, and the start bit detection sequence is initiated. Following the 1-to-0 transition, the receiver samples the RXD pin at samples (UOSR/2) + 1, (UOSR/2) + 2, and (UOSR/2) + 3. If two or more of these three samples are found to be logical ones, the start bit is rejected as a noise spike and the receiver starts looking for the next 1-to-0 transition. If, however, a valid start bit is detected, sampling of the data bits following the start bit is performed. These bits are also sampled at samples (UOSR/2) + 1, (UOSR/2) + 2, and (UOSR/2) + 3. The logical value found in at least two of the three samples is taken as the bit value. All bits are shifted into the transmitter shift register as they are sampled. Sampling of an incoming character is shown in Figure 4. 5

6 Figure 4. Sampling Received Data Note: This figure is valid for UOSR = 15 (16 samples per bit, no parity, 8-bit Character Length When the stop bit enters the receiver, the majority of the three samples must be one to accept the stop bit. If two or more samples are logical zeros, the framing error (FE) flag in the Status Register (USR) is set. Before reading the UDR register, the user should always check the FE bit to detect framing errors. Whether or not a valid stop bit is detected at the end of a character reception cycle, the data is transferred to UDR and the RXC flag in USR is set. UDR is in fact two physically separate registers: one for transmitted data and one for received data. When UDR is read, the Receive Data Register is accessed, and when UDR is written, the Transmit Data Register is accessed. If 9-bit data word is selected (the CHRL = 11 bit in the Control Register B, UCRB), the RXB8 bit in UCRA is loaded with bit 9 in the Transmit Shift Register when data is transferred to UDR. If parity is used, the parity error flag (PE) in the Status Register (USR) is set (Error) or cleared according to the parity selected, PAR in Control Register B (UCRB). For each bit of the received character including the parity bit (if used) and the stop bit, noise is detected by using three samples. If the three samples are not identical, the line is considered noisy and the NE bit in USR is set. If, after having received a character, the UDR has not been read since the last receive, the overrun (OR) flag in UCRA is set. This means that the last data byte shifted into the shift register could not be transferred to the UDR and has been lost. The OR flag is buffered, and is updated when the valid data byte in UDR is read. Thus, the user should always check the OR flag after reading the UDR in order to detect any overruns if the baud rate is high or CPU load is high. By clearing the RXEN bit in the UCRA, the receiver is disabled. Multi-processor Communication Mode The multi-processor communication mode enables several slave MCUs to receive data from a master MCU. This is done by first decoding an address byte to find out which MCU has been addressed. If a particular slave MCU has been addressed, it will receive the following data bytes as normal, while the other slave MCUs will ignore the data bytes until another address byte is received. For an MCU to act as a master MCU, it should enter 9-bit transmission mode (CHRL = 11 in UCRB). The ninth bit must be one to indicate that an address byte is being transmitted and zero to indicate that a data byte is being transmitted. For the slave MCUs, the mechanism appears slightly different for 8-bit and 9-bit reception modes. In 8-bit reception mode (CHRL = 10 in UCRB), the stop bit is one for an address byte and zero for a data byte. In 9-bit reception mode (CHRL = 11 in UCRB), the ninth bit is one for an address byte and zero for a data byte, whereas the stop bit is always high. The following procedure should be used to exchange data in multi-processor communication mode: 1. All slave MCUs are in multi-processor communication mode (MPCM in UCRB is set). 2. The master MCU sends an address byte and all slaves receive and read this byte. In the slave MCUs, the RXC flag in UCRA will be set as normal. 3. Each slave MCU reads the UDR and determines if it has been selected. If so, it clears the MPCM bit in UCRB, otherwise it waits for the next address byte. 4. For each received data byte, the receiving MCU will set the receive complete flag (RXC in UCRA). In 8-bit mode, the receiving MCU will also generate a framing error (FE in UCRA set), since the stop bit is zero. The other slave MCUs, which still have the MPCM bit set, will ignore the data byte. In this case, the UDR and the RXC or FE flags will not be affected. 5. After the last byte has been transferred, the process repeats from step 2. 6

7 Control I/O Data Register UDR Bit BaseAdr + 0 MSB LSB UDR Read/Write R/W R/W R/W R/W R/W R/W R/W R/W Initial value The UDR is actually two physically separate registers sharing the same I/O address. When writing to the register, the Transmit Data Register is written. When reading from UDR, the Receive Data Register is read. Status Register USR Bit BaseAdr + 1 RXC TXC UDRE FE OR PE NE USR Read/Write R R R R R R R R Initial value The USR is a read-only register providing information on the status. Bit 7 RXC: Receive Complete This bit is set (one) when a received character is transferred from the Receiver Shift Register to the UDR. The bit is set regardless of any detected framing errors. When the RXCIE bit in UCRA is set, the Receive Complete interrupt will be raised when RXC is set (one). RXC is cleared by reading UDR. When interrupt-driven data reception is used, the Receive Complete Interrupt routine must read UDR in order to clear RXC, otherwise a new interrupt will occur once the interrupt routine terminates. Bit 6 TXC: Transmit Complete This bit is set (one) when the entire character (including the stop bit) in the Transmit Shift Register has been shifted out and no new data has been written to UDR. This flag is especially useful in half-duplex communications interfaces, where a transmitting application must enter receive mode and free the communications bus immediately after completing the transmission. When the TXCIE bit in UCRA is set, setting of TXC causes the Transmit Complete interrupt to be raised. TXC can be cleared by hardware when executing the corresponding interrupt handling vector. This is acheived by decoding the irqackad and irqack signals from the AVR embedded core and generating the txc_irqack signal. Alternatively, the TXC bit is cleared (zero) by writing a logical one to the bit. Bit 5 UDRE: Data Register Empty This bit is set (one) when a character written to UDR is transferred to the Transmit Shift Register. Setting of this bit indicates that the transmitter is ready to receive a new character for transmission. When the UDRIE bit in UCRA is set, the Transmit Complete interrupt is raised when UDRE is set. UDRE is cleared by writing UDR. When interrupt-driven data transmission is used, the Data Register Empty Interrupt routine must write UDR in order to clear UDRE, otherwise a new interrupt will occur once the interrupt routine terminates. UDRE is set (one) during reset to indicate that the transmitter is ready. Bit 4 - FE: Framing Error This bit is set if a Framing Error condition is detected, i.e., when the stop bit of an incoming character is zero. The FE bit is cleared when the stop bit of received data is one. 7

8 Bit 3 OR: Overrun Flag This bit is set if an Overrun condition is detected, i.e., when a character already present in the UDR is not read before the next character has been shifted into the Receiver Shift Register. The OR bit is buffered, which means that it will be updated once the valid data still in UDR is read. The OR bit is cleared (zero) when data is received and transferred to UDR. Bit 2 PE: Parity Error This bit is set whenever the parity of the received character does not match current parity (PAR bits in UCRB). The PE bit is updated at each new received character. Bit 1 NE: Noise Error This bit is set when noise has been detected (three samples not identical) during the last reception (including the parity and the stop bit). The NE bit is updated at each new received character. Bit 0 Reserved Bit This bit always reads as zero. Control Register A UCRA Bit BaseAdr + 2 RXCIE TXCIE UDRIE RXEN TXEN RXB8 TXB8 UCRA Read/Write R/W R/W R/W R/W R/W R/W R R/W Initial value Bit 7 - RXCIE: RX Complete Interrupt Enable When this bit is set (one), a setting of the RXC bit in USR will cause the Receive Complete Interrupt routine to be executed provided that global interrupts are enabled. Bit 6 - TXCIE: TX Complete Interrupt Enable When this bit is set (one), a setting of the TXC bit in USR will cause the Transmit Complete Interrupt routine to be executed provided that global interrupts are enabled. Bit 5 - UDRIE: Data Register Empty Interrupt Enable When this bit is set (one), a setting of the UDRE bit in USR will cause the Data Register Empty Interrupt routine to be executed provided that global interrupts are enabled. Bit 4 - RXEN: Receiver Enable This bit enables the receiver when set (one). When the receiver is disabled, the RXC, OR and FE status flags cannot become set. If these flags are set, turning off RXEN does not cause them to be cleared. Bit 3 - TXEN: Transmitter Enable This bit enables the transmitter when set (one). If disabling the transmitter is requested while transmitting a character, the transmitter is not disabled before the character in the shift register plus any following character in the UDR has been completely transmitted. Bit 2 - Reserved Bit This bit always reads as zero and should always be written as zero. Bit 1 - RXB8: Receive Data Bit 8 When CHRL = 11, RXB8 is the ninth data bit of the received character. Bit 0 - TXB8: Transmit Data Bit 8 When CHRL = 11, TXB8 is the ninth data bit in the character to be transmitted. 8

9 Control Register B UCRB Bit BaseAdr + 3 MPCM PAR2 PAR1 PAR0 CHRL1 CHRL0 UCRB Read/Write R R/W R/W R/W R/W R R/W R/W Initial value Bit 7 Reserved Bit This bit is a reserved bit and is always read as zero and should be written as zero. Bit 6 MPCM: Multi-processor Communication Mode This bit is used to enter multi-processor communication mode. The bit is set when the slave MCU waits for an address byte to be received. When the MCU has been adressed, the MCU switches off the MPCM bit and starts data reception. Bits 5..3 PAR: Parity Mode Selection These bits select the parity to be generated when transmitting and checked when receiving. The following modes can be selected: PAR Mode 000 Even parity 001 Odd parity 010 Parity forced to 0 (space) 011 Parity forced to 1 (mark) 1xx No parity The actual sequence of bits transmitted and received by the is: Start bit + 6, 7, 8 or 9 (depending on CHRL) Data Bits + Parity Bit (only if parity is used) + Stop Bit Note that the default value after reset is 100, i.e., no parity is used. Bit 2 Reserved Bit This bit is a reserved bit and is always read as zero and should be written as zero. Bits 1..0 CHRL: Character Length These bits select the width of the data words to be transmitted and received according to the following table: CHRL Character Length 00 6 bits 01 7 bits 10 8 bits 11 9 bits Note that the default value after reset is 10, i.e., 8-bit characters are used. 9

10 Baud Rate Generator The baud rate generator is a frequency divider that generates baud rates according to the following equation: BAUD = fcp2 ( UOSR + 1) ( UBRR + 1) where: BAUD = Baud rate fcp2 = Master Clock frequency UBRR = Contents of the Baud Rate Register, UBRR (0-2047) UOSR = Contents of the Oversampling Register (7-31) For standard crystal frequencies, the most commonly used baud rates can be generated by using the UBRR and UOSR settings in Table 4. UBRR and UOSR values that yield an actual baud rate differing less than 2% from the target baud rate are in bold face in the table. However, the use of baud rates with more than 1% error is not recommended, as high error ratings give less noise resistance. Baud Rate Register Low UBRRLO Bit BaseAdr + 4 UBRR7 UBRR6 UBRR5 UBRR4 UBRR3 UBRR2 UBRR1 UBRR0 UBRRLO Read/Write R/W R/W R/W R/W R/W R/W R/W R/W Initial value The UBRRLO holds the eight least significant bits of the 11-bit UBRR internal register that define the baud rate used by specifying the number of clock cycles between two consecutive samples. See Data Reception on page 5. Baud Rate Register High UBRRHI Bit BaseAdr + 5 UOSR4 UOSR3 UOSR2 UOSR1 UOSR0 UBRR10 UBRR9 UBRR8 UBRRHI Read/Write R/W R/W R/W R/W R/W R/W R/W R/W Initial value Bits 7..3 UOSR: Over Sampling Register This value defines the number of samples to take for each bit interval. See Data Reception on page 5. Together with the UBRR, UOSR is used to generate an accurate baud rate. Permitted values for UOSR are from 7 to 31. Note that default value is 15, so 16 samples are taken per bit interval by default. Bits 2..0 UBRR High Bits These are the three most significant bits of the 11-bit baud rate register (UBRR). 10

11 Table 4. UBRR Settings at Various Crystal Frequencies Baud Rate 1 MHz % Error MHz % Error 2400 UOSR=15 UBRR= UOSR=15 UBRR= UOSR=15 UBRR= UOSR=15 UBRR= UOSR=25 UBRR= UOSR=15 UBRR= UOSR=22 UBRR= UOSR=15 UBRR= UOSR=25 UBRR= UOSR=15 UBRR= UOSR=16 UBRR= UOSR=15 UBRR= UOSR=12 UBRR= UOSR=15 UBRR= UOSR=16 UBRR= UOSR=15 UBRR= UOSR=8 UBRR= UOSR=15 UBRR= Baud Rate 2 MHz % Error MHz % Error 2400 UOSR=15 UBRR= UOSR=15 UBRR= UOSR=15 UBRR= UOSR=15 UBRR= UOSR=25 UBRR= UOSR=15 UBRR= UOSR=22 UBRR= UOSR=18 UBRR= UOSR=25 UBRR= UOSR=15 UBRR= UOSR=22 UBRR= UOSR=16 UBRR= UOSR=25 UBRR= UOSR=15 UBRR= UOSR=16 UBRR= UOSR=20 UBRR= UOSR=16 UBRR= UOSR=20 UBRR= Baud Rate 3 MHz % Error MHz % Error 2400 UOSR=24 UBRR= UOSR=20 UBRR= UOSR=24 UBRR= UOSR=21 UBRR= UOSR=23 UBRR= UOSR=30 UBRR= UOSR=15 UBRR= UOSR=18 UBRR= UOSR=12 UBRR= UOSR=18 UBRR= UOSR=12 UBRR= UOSR=18 UBRR= UOSR=12 UBRR= UOSR=16 UBRR= UOSR=12 UBRR= UOSR=18 UBRR= UOSR=12 UBRR= UOSR=27 UBRR=

12 Baud Rate MHz % Error 4 MHz % Error 2400 UOSR=15 UBRR= UOSR=15 UBRR= UOSR=15 UBRR= UOSR=15 UBRR= UOSR=15 UBRR= UOSR=15 UBRR= UOSR=15 UBRR= UOSR=30 UBRR= UOSR=15 UBRR= UOSR=15 UBRR= UOSR=15 UBRR= UOSR=22 UBRR= UOSR=15 UBRR= UOSR=25 UBRR= UOSR=15 UBRR= UOSR=22 UBRR= UOSR=15 UBRR= UOSR=16 UBRR= Baud Rate MHz % Error 5 MHz % Error 2400 UOSR=15 UBRR= UOSR=14 UBRR= UOSR=15 UBRR= UOSR=25 UBRR= UOSR=15 UBRR= UOSR=25 UBRR= UOSR=30 UBRR= UOSR=28 UBRR= UOSR=15 UBRR= UOSR=25 UBRR= UOSR=18 UBRR= UOSR=28 UBRR= UOSR=15 UBRR= UOSR=25 UBRR= UOSR=16 UBRR= UOSR=28 UBRR= UOSR=20 UBRR= UOSR=21 UBRR= Baud Rate MHz % Error 8 MHz % Error 2400 UOSR=15 UBRR= UOSR=15 UBRR= UOSR=15 UBRR= UOSR=15 UBRR= UOSR=15 UBRR= UOSR=28 UBRR= UOSR=15 UBRR= UOSR=14 UBRR= UOSR=15 UBRR= UOSR=15 UBRR= UOSR=15 UBRR= UOSR=30 UBRR= UOSR=15 UBRR= UOSR=25 UBRR= UOSR=15 UBRR= UOSR=22 UBRR= UOSR=15 UBRR= UOSR=22 UBRR=

13 Baud Rate 10 MHz % Error MHz % Error 2400 UOSR=14 UBRR= UOSR=15 UBRR= UOSR=25 UBRR= UOSR=15 UBRR= UOSR=25 UBRR= UOSR=15 UBRR= UOSR=28 UBRR= UOSR=15 UBRR= UOSR=25 UBRR= UOSR=15 UBRR= UOSR=28 UBRR= UOSR=15 UBRR= UOSR=25 UBRR= UOSR=15 UBRR= UOSR=28 UBRR= UOSR=15 UBRR= UOSR=28 UBRR= UOSR=15 UBRR= Baud Rate MHz % Error MHz % Error 2400 UOSR=15 UBRR= UOSR=15 UBRR= UOSR=15 UBRR= UOSR=15 UBRR= UOSR=15 UBRR= UOSR=15 UBRR= UOSR=15 UBRR= UOSR=15 UBRR= UOSR=15 UBRR= UOSR=15 UBRR= UOSR=15 UBRR= UOSR=15 UBRR= UOSR=15 UBRR= UOSR=15 UBRR= UOSR=15 UBRR= UOSR=15 UBRR= UOSR=15 UBRR= UOSR=15 UBRR= Scan Test Configuration The AVR standard peripheral has been designed with full scan methodology, which results in 100% maximum fault coverage. The coverage is maximum if all non-scan inputs can be controlled and all non-scan outputs can be observed. In order to achieve this, the ATPG vectors must be generated on the entire circuit (top-level), which includes the AVR. The scan test pins can then be connected for serial or parallel scan. 13

14 Atmel Headquarters Corporate Headquarters 2325 Orchard Parkway San Jose, CA TEL (408) FAX (408) Europe Atmel SarL Route des Arsenaux 41 Casa Postale 80 CH-1705 Fribourg Switzerland TEL (41) FAX (41) Asia Atmel Asia, Ltd. Room 1219 Chinachem Golden Plaza 77 Mody Road Tsimhatsui East Kowloon Hong Kong TEL (852) FAX (852) Japan Atmel Japan K.K. 9F, Tonetsu Shinkawa Bldg Shinkawa Chuo-ku, Tokyo Japan TEL (81) FAX (81) Atmel Operations Atmel Colorado Springs 1150 E. Cheyenne Mtn. Blvd. Colorado Springs, CO TEL (719) FAX (719) Atmel Rousset Zone Industrielle Rousset Cedex France TEL (33) FAX (33) Atmel Smart Card ICs Scottish Enterprise Technology Park East Kilbride, Scotland G75 0QR TEL (44) FAX (44) Atmel Grenoble Avenue de Rochepleine BP Saint-Egreve Cedex France TEL (33) FAX (33) Fax-on-Demand North America: 1-(800) International: 1-(408) Web Site BBS 1-(408) Atmel Corporation Atmel Corporation makes no warranty for the use of its products, other than those expressly contained in the Company s standard warranty which is detailed in Atmel s Terms and Conditions located on the Company s web site. The Company assumes no responsibility for any errors which may appear in this document, reserves the right to change devices or specifications detailed herein at any time without notice, and does not make any commitment to update the information contained herein. No licenses to patents or other intellectual property of Atmel are granted by the Company in connection with the sale of Atmel products, expressly or by implication. Atmel s products are not authorized for use as critical components in life support devices or systems. AVR is a trademark of Atmel Corporation. Terms and product names in this document may be trademarks of others. Printed on recycled paper. 1130C 01/01/0M

AT94K Series Field Programmable System Level Integrated Circuit. Application Note. FPSLIC Baud Rate Generator

AT94K Series Field Programmable System Level Integrated Circuit. Application Note. FPSLIC Baud Rate Generator FPSLIC Baud Rate Generator Features: Generates any required baud rate High baud rates at low crystal clock frequencies Uses both internal and external clock sources Supports in both single speed and double

More information

a Serial Peripheral Interace (SPI). Embedded RISC Microcontroller Core Peripheral

a Serial Peripheral Interace (SPI). Embedded RISC Microcontroller Core Peripheral Features Full-duplex, 3-wire Synchronous Data Transfer Master or Slave Operation Maximum Bit Frequency of f CLOCK /4 (in M-bits/second) LSB First or MSB First Data Transfer Four Programmable Bit Rates

More information

8-bit RISC Microcontroller. Application Note. AVR 305: Half Duplex Compact Software UART

8-bit RISC Microcontroller. Application Note. AVR 305: Half Duplex Compact Software UART AVR 305: Half Duplex Compact Software UART Features 32 Words of Code, Only Handles Baud Rates of up to 38.4 kbps with a 1 MHz XTAL Runs on Any AVR Device Only Two Port Pins Required Does Not Use Any Timer

More information

Interrupt Controlled UART

Interrupt Controlled UART AVR306 Design Note: Using the AVR UART in C Features Setup and Use the AVR UART Code Examples for Polled and Interrupt Controlled UART Compact Code C-Code Included for AT90S8515 Description This application

More information

hex file. The example described in this application note is written for the AT94K using the FPSLIC Starter Kit. Creating a New Project

hex file. The example described in this application note is written for the AT94K using the FPSLIC Starter Kit. Creating a New Project Getting Started with C for the Family Using the IAR Compiler Features How to Open a New Project Description of Option Settings Linker Command File Examples Writing and Compiling the C Code How to Load

More information

AT91 ARM Thumb Microcontrollers. Application Note. AT91M55800A Clock Switching Considerations using Advanced Power Management Controller.

AT91 ARM Thumb Microcontrollers. Application Note. AT91M55800A Clock Switching Considerations using Advanced Power Management Controller. AT91M55800A Clock Switching Considerations using Advanced Power Management Controller Introduction The AT91M55800A is designed for ultra low-power applications and features an Advanced Power Management

More information

2-wire Serial EEPROM Smart Card Modules AT24C32SC AT24C64SC

2-wire Serial EEPROM Smart Card Modules AT24C32SC AT24C64SC Features Low-voltage and Standard-voltage Operation 5.0 (V CC = 4.5V to 5.5V) 2.7 (V CC = 2.7V to 5.5V) Internally Organized 4096 x 8, 8192 x 8 2-wire Serial Interface Schmitt Trigger, Filtered Inputs

More information

TSC695. Application Note. Annulled Cycle Management on the TSC695. References

TSC695. Application Note. Annulled Cycle Management on the TSC695. References Annulled Cycle Management on the TSC695 The aim of this application note is to provide TSC695 users with an overview of the annulled cycle management on the TSC695 processor. The indication of annulled

More information

FPGA Configuration EEPROM Memory. Application Note. Programming Atmel s EEPROMs: AT17LV020(A) vs. AT17LV002(A) Introduction.

FPGA Configuration EEPROM Memory. Application Note. Programming Atmel s EEPROMs: AT17LV020(A) vs. AT17LV002(A) Introduction. Programming Atmel s EEPROMs: AT17LV020(A) vs. AT17LV002(A) Introduction This application note provides Atmel s customers with a description of the principal differences in programming the AT17LV020(A)

More information

AT17 Series FPGA. Configuration Memory. Application Note. In-System Programming Circuits for AT17 Series Configurators with Atmel and Xilinx FPGAs

AT17 Series FPGA. Configuration Memory. Application Note. In-System Programming Circuits for AT17 Series Configurators with Atmel and Xilinx FPGAs In-System Circuits for AT1 Series Configurators with Atmel and Xilinx s Atmel AT1 (1) series configurators use a simple serial-access procedure to configure one or more Field Programmable Gate Arrays (s)

More information

P_D_OUT[31:0] SPI_INT SPI_MOSI_OUT SPI_MOSI_OEN

P_D_OUT[31:0] SPI_INT SPI_MOSI_OUT SPI_MOSI_OEN Features Compatible with an Embedded ARM7TDMI Processor 8- to 16-bit Programmable Data Length 4 External Slave Chip Selects Provides Communication with External Devices in Master or Slave Mode Allows Communication

More information

DatasheetDirect.com. Visit to get your free datasheets. This datasheet has been downloaded by

DatasheetDirect.com. Visit  to get your free datasheets. This datasheet has been downloaded by DatasheetDirect.com Your dedicated source for free downloadable datasheets. Over one million datasheets Optimized search function Rapid quote option Free unlimited downloads Visit www.datasheetdirect.com

More information

8051 Microcontrollers. Application Note. Migration from AT89C5131 & AT89C5131A-L to AT89C5131A-M

8051 Microcontrollers. Application Note. Migration from AT89C5131 & AT89C5131A-L to AT89C5131A-M Migration from AT89C5131 & AT89C5131A-L to AT89C5131A-M This application note is a guide to assist current AT89C5131 & AT89C5131A-L users in converting existing designs to the AT89C5131A-M devices. In

More information

8-bit Microcontroller. Application Note. AVR031: Getting Started with ImageCraft C for AVR

8-bit Microcontroller. Application Note. AVR031: Getting Started with ImageCraft C for AVR AVR031: Getting Started with ImageCraft C for AVR Features How to Open a New Project Description of Option Settings Writing and Compiling the C Code How to Load the Executable File into the STK200 Starter

More information

MARC4. Application Note. Hints and Tips for Hard- and Software Developments with MARC4 Microcontrollers

MARC4. Application Note. Hints and Tips for Hard- and Software Developments with MARC4 Microcontrollers Hints and Tips for Hard- and Software Developments with MARC4 Microcontrollers Programming Hints Use of the SLEEP Instruction Oscillator Selection Access to Subport Registers Access to AU Registers Unused

More information

AT89C5131 Starter Kit... Software User Guide

AT89C5131 Starter Kit... Software User Guide AT89C5131 Starter Kit... Software User Guide Table of Contents Section 1 Introduction... 1-1 1.1 Abbreviations...1-1 Section 2 Getting Started... 2-3 2.1 Hardware Requirements...2-3 2.2 Software Requirements...2-3

More information

Bluetooth General Information White Paper

Bluetooth General Information White Paper General Information is the registered trademark of Atmel Corporation, 2325 Orchard Parkway, San Jose, CA 95131 Rev. 1993A 11/00 Introduction The wireless technology is the world s new shortrange RF transmission

More information

Section 1 ATAVRAUTOEK1 Getting Started

Section 1 ATAVRAUTOEK1 Getting Started Section 1 ATAVRAUTOEK1 Getting Started 1.1 Unpacking the system Kit contents: 1 ATAVRAUTO100 V1.0 board 1 ATAVRAUTO102 V1.0 board 1 ATAVRAUTO200 V1.0 board 1 ATAVRAUTO300 V1.0 board 1 ATAVRAUTO900 V1.0

More information

MP3 Player Reference Design Based on AT89C51SND1 Microcontroller... User Guide

MP3 Player Reference Design Based on AT89C51SND1 Microcontroller... User Guide MP3 Player Reference Design Based on AT89C51SND1 Microcontroller... User Guide AT89C51SND1 Reference Design User Guide -2 Table of Contents Section 1 Introduction...1 1.1 Abbreviations... 1 Section 2 Overview...2

More information

Application Note Microcontrollers. C Flash Drivers for T89C51RC/RB/IC2 and AT89C51RC/RB/IC2 for Keil Compilers

Application Note Microcontrollers. C Flash Drivers for T89C51RC/RB/IC2 and AT89C51RC/RB/IC2 for Keil Compilers C Flash Drivers for T89C51RC/RB/IC2 and AT89C51RC/RB/IC2 for Keil Compilers This application note describes C routines for Keil compiler to perform In-application Programming/Self programming according

More information

When is Data Susceptible to Corruption

When is Data Susceptible to Corruption Parallel EEPROM Data Protection Advantages of EEPROMs EEPROMs provide the memory solution wherever reprogrammable, nonvolatile memory is required. They are easy to use, requiring little or no support hardware

More information

8-bit Microcontroller. Application Note. AVR030: Getting Started with C for AVR

8-bit Microcontroller. Application Note. AVR030: Getting Started with C for AVR AVR030: Getting Started with C for AVR Features HowtoOpenaNewProject Description of Option Settings Linker Command File Examples Writing and Compiling the C Code How to Load the Executable File Into the

More information

Two-wire Serial EEPROM Smart Card Modules 128K (16,384 x 8) 256 (32,768 x 8) AT24C128SC AT24C256SC. Features. Description VCC NC

Two-wire Serial EEPROM Smart Card Modules 128K (16,384 x 8) 256 (32,768 x 8) AT24C128SC AT24C256SC. Features. Description VCC NC Features Low-voltage and Standard-voltage Operation, V CC = 2.7V to 5.5V Internally Organized 16,384 x 8 and 32,768 x 8 2-wire Serial Interface Schmitt Trigger, Filtered Inputs for Noise Suppression Bi-directional

More information

Product Description. Application Note. AVR360: XmodemCRC Receive Utility for the AVR. Features. Theory of Operation. Introduction

Product Description. Application Note. AVR360: XmodemCRC Receive Utility for the AVR. Features. Theory of Operation. Introduction AVR360: XmodemCRC Receive Utility for the AVR Features Programmable Baud Rate Half Duplex 128 Byte Data Packets CRC Data Verification Framing Error Detection Overrun Detection Less than 1k Bytes of Code

More information

AVR32 UC3 Software Framework... User Manual

AVR32 UC3 Software Framework... User Manual ... User Manual Section 1 AVR32 UC3 Software Framework 1.1 Features Drivers for each AVR 32 UC3 peripheral Software libraries optimized for AVR32 Hardware components drivers Demo applications that use

More information

8-bit Microcontroller. Application Note. AVR320: Software SPI Master

8-bit Microcontroller. Application Note. AVR320: Software SPI Master AVR320: Software SPI Master Features Up to 444Kb/S Throughput @ 10 MHz Directly Supports Large Block Writes Easily Expandable for Multiple SPI Slaves Operates in SPI Mode 0 16-bit Data, Easily Modified

More information

CAN, 80C51, AVR, Microcontroller. Application Note

CAN, 80C51, AVR, Microcontroller. Application Note Migrating from Atmel C51/CAN: T89C51CC01, AT89C51CC03 To Atmel AVR/CAN: AT90CAN128, AT90CAN64, AT90CAN32 Introduction This application note is a guide, on the CAN controller, to help current T89C51CC01,

More information

CAN Microcontrollers. Application Note. Migrating from T89C51CC01 to AT89C51CC03. Feature Comparison

CAN Microcontrollers. Application Note. Migrating from T89C51CC01 to AT89C51CC03. Feature Comparison Migrating from T89C51CC01 to AT89C51CC03 This application note is a guide to assist T89C51CC01 users in converting existing designs to the AT89C51CC03 devices. In addition to the functional changes, the

More information

8-bit Microcontroller. Application Note. AVR201: Using the AVR Hardware Multiplier

8-bit Microcontroller. Application Note. AVR201: Using the AVR Hardware Multiplier AVR201: Using the AVR Hardware Multiplier Features 8- and 16-bit Implementations Signed and Unsigned Routines Fractional Signed and Unsigned Multiply Executable Example Programs Introduction The megaavr

More information

Programmable SLI AT40K AT40KAL AT94K. Application Note. Implementing a Single-coefficient Multiplier

Programmable SLI AT40K AT40KAL AT94K. Application Note. Implementing a Single-coefficient Multiplier Implementing a Single-coefficient Multiplier Features Theory of Developing a Single-coefficient Multiplier Implementation using an AT40K Series FPGA for an 8-bit Single-coefficient Multiplier Coefficient

More information

AT17(A) Series FPGA Configuration Memory. Application Note

AT17(A) Series FPGA Configuration Memory. Application Note Cascaded Programming Circuits using AT1(A) Configurators with Atmel, Xilinx and Altera FPGAs Atmel AT1A (1) series configurators use a simple serial-access procedure to configure one or more Field Programmable

More information

System Designer. Programmable SLI AT94K/AT94S Series. Features. Description

System Designer. Programmable SLI AT94K/AT94S Series. Features. Description Features Atmel s System Designer Contains the Following Items: CD-ROM Containing all Necessary Software and Online Documents Atmel s AVR Studio Atmel s Configurator Programming System (CPS) Co-verification,

More information

FPGA Configurator Programming Kit (Enhanced) ATDH2200E. Features. Description

FPGA Configurator Programming Kit (Enhanced) ATDH2200E. Features. Description Features Hardware Supports Programming of all AT7LV and AT7F Series Devices Connection to Allow In-System Programming (ISP) Runs off Portable 9V DC Power Supply.0V Supply Software CPS Configurator Programming

More information

Secure Microcontrollers for Smart Cards. AT90SC Summary

Secure Microcontrollers for Smart Cards. AT90SC Summary Features High-performance, Low-power 8-bit AVR RISC Architecture 120 Powerful Instructions Most Single Clock Cycle Execution Up to 64K Bytes Flash Program Memory Endurance: 10K Write/Erase Cycles Up to

More information

AT91 ARM Thumb Microcontrollers. Application Note. AT91 Host Flash Loader. 1. Package Contents. 2. Definition of Terms. 3.

AT91 ARM Thumb Microcontrollers. Application Note. AT91 Host Flash Loader. 1. Package Contents. 2. Definition of Terms. 3. AT91 Host Flash Loader This application note describes the host Flash loader used to upload and program an application in the Flash memory of a Flash-based AT91 microcontroller. Flash-based AT91 devices

More information

System Designer. Programmable SLI AT94K/AT94S Series. Features. Description

System Designer. Programmable SLI AT94K/AT94S Series. Features. Description Features Atmel s System Designer Contains the Following Items: CD-ROM Containing all Necessary Software and Online Documents Atmel s AVR Studio Atmel s Configurator Programming System (CPS) Co-verification,

More information

8-bit RISC Microcontroller. Application Note. AVR151: Setup And Use of The SPI

8-bit RISC Microcontroller. Application Note. AVR151: Setup And Use of The SPI AVR151: Setup And Use of The SPI Features SPI Pin Functionality Multi Slave Systems SPI Timing SPI Transmission Conflicts Emulating the SPI Code examples for Polled operation Code examples for Interrupt

More information

Migration From AT89C51SND1C to AT83C51SDN1C. Application Note. MP3 Microcontrollers

Migration From AT89C51SND1C to AT83C51SDN1C. Application Note. MP3 Microcontrollers Migration From AT89C51SND1C to AT83C51SDN1C This application note details the differences between AT89C51SND1C and AT83C51SDN1C products, and gives some tips and tricks to the user when migrating from

More information

1-megabit (64K x 16) 5-volt Only Flash Memory AT49F1024 AT49F1025

1-megabit (64K x 16) 5-volt Only Flash Memory AT49F1024 AT49F1025 Features Single-voltage Operation 5V Read 5V Reprogramming Fast Read Access Time 35 ns Internal Program Control and Timer 8K Word Boot Block with Lockout Fast Erase Cycle Time 10 seconds Word-by-word Programming

More information

Two-wire Serial EEPROM Smart Card Modules 1K (128 x 8) 2K (256 x 8) 4K (512 x 8) 8K (1024 x 8) 16K (2048 x 8)

Two-wire Serial EEPROM Smart Card Modules 1K (128 x 8) 2K (256 x 8) 4K (512 x 8) 8K (1024 x 8) 16K (2048 x 8) Features Low-voltage and Standard-voltage Operation, VCC = 2.7V 5.5V Internally Organized 128 x 8 (1K), 256 x 8 (2K), 512 x 8 (4K), 1024 x 8 (8K), or 2048 x 8 (16K) Two-wire Serial Interface Schmitt Trigger,

More information

AT17F Series. Application Note. Programming Circuits for AT17F Series Configurators with Xilinx FPGAs. 1. Introduction

AT17F Series. Application Note. Programming Circuits for AT17F Series Configurators with Xilinx FPGAs. 1. Introduction Programming Circuits for ATF Series s with Xilinx s. Introduction Atmel s ATF series Flash Configuration Memory devices use a simple serial-access procedure to configure one or more Xilinx Field Programmable

More information

AT89STK-09 Starter Kit for AT83C26... User Guide

AT89STK-09 Starter Kit for AT83C26... User Guide AT89STK-09 Starter Kit for AT83C26... User Guide Section 1 Introduction... 1-2 1.1 Acronyms...1-2 1.2 Features...1-2 Section 2 Hardware... 2-6 2.1 Power Supply...2-6 2.2 Jumper Configuration...2-6 2.3

More information

AT89ISP Programmer Cable Introduction AT89ISP Programmer Cable Parallel Port Settings Application Note AT89ISP Software AT89ISP Cable polarized

AT89ISP Programmer Cable Introduction AT89ISP Programmer Cable Parallel Port Settings Application Note AT89ISP Software AT89ISP Cable polarized AT89ISP Programmer Cable 1. Introduction This application note describes the Atmel AT89ISP cable interface. This in-system programmer cable communicates serially with Atmel's AT89S/AT89LP microcontrollers

More information

8-bit Microcontroller. Application Note. AVR033: Getting Started with the CodeVisionAVR C Compiler

8-bit Microcontroller. Application Note. AVR033: Getting Started with the CodeVisionAVR C Compiler AVR033: Getting Started with the CodeVisionAVR C Compiler Features Installing and Configuring CodeVisionAVR to Work with the Atmel STK500 Starter Kit and AVR Studio Debugger Creating a New Project Using

More information

80C51 MCUs T89C51AC2. Errata Sheet

80C51 MCUs T89C51AC2. Errata Sheet Active T89C51AC2 Errata List Flash/EEPROM First Read After Write Disturbed Timer 2 Baud Rate Generator IT When TF2 is Set by Software Timer 2 Baud Rate Generator Long Start Time UART RB8 Lost with JBC

More information

AVR -based Bridge between Full-speed USB and Fast Serial Asynchronous Interfaces AT76C711

AVR -based Bridge between Full-speed USB and Fast Serial Asynchronous Interfaces AT76C711 Features AVR Microcontroller Clock Generator Provides CPU Rates up to 24 MHz Programmable UART with 16-byte FIFOs at the Receiver Side (1), with a Maximum Rate of 921K Baud Programmable SPI Interface Full-speed

More information

ATAVRAUTO User Guide

ATAVRAUTO User Guide ATAVRAUTO300... User Guide Table of Contents Section 1 Introduction... 1-1 1.1 Overview...1-1 Section 2 Using the ATAVRAUTO300... 2-3 2.1 Overview...2-3 2.2 Power Supply...2-4 2.3 Oscillator Sources...2-4

More information

1-megabit (64K x 16) 3-volt Only Flash Memory AT49LV1024 AT49LV1025

1-megabit (64K x 16) 3-volt Only Flash Memory AT49LV1024 AT49LV1025 Features Single-voltage Operation 3V Read 3.1V Programming Fast Read Access Time 55 ns Internal Program Control and Timer 8K Word Boot Block with Lockout Fast Erase Cycle Time 10 seconds Word-by-Word Programming

More information

Application Note. Microcontrollers. Using Keil FlashMon Emulator with AT89C51CC01/03 AT89C51CC01/ Summary. 2. Background overview

Application Note. Microcontrollers. Using Keil FlashMon Emulator with AT89C51CC01/03 AT89C51CC01/ Summary. 2. Background overview Using Keil FlashMon Emulator with AT89C51CC01/03 1. Summary Atmel AT89C51CC01/03 are Flash microcontrollers. Keil developed an OnChip Debug for these microntrollers taking advantage of the flash byte programming

More information

Rad Hard FPGA. AT40KEL-DK Design Kit Content. Description. Kit Content. Reference Material. Support

Rad Hard FPGA. AT40KEL-DK Design Kit Content. Description. Kit Content. Reference Material. Support Description The Atmel design kit allows designers to evaluate and prototype applications using the AT40KEL040 rad hard FPGA. Kit Content 2 design kits are available: The 160 with a package specific daughter

More information

DIP Top View A18 A16 A15 A12 A7 A6 A5 A4 A3 A2 A1 A0 I/O0 I/O1 I/O2 GND VCC A17 A14 A13 A8 A9 A11 A10 I/O7 I/O6 I/O5 I/O4 I/O3 VCC A18 A17

DIP Top View A18 A16 A15 A12 A7 A6 A5 A4 A3 A2 A1 A0 I/O0 I/O1 I/O2 GND VCC A17 A14 A13 A8 A9 A11 A10 I/O7 I/O6 I/O5 I/O4 I/O3 VCC A18 A17 Features Single-voltage Operation 5V Read 5V Reprogramming Fast Read Access Time 55 ns Internal Program Control and Timer 16-Kbyte Boot Block with Lockout Fast Erase Cycle Time 10 seconds Byte-by-byte

More information

Interfacing the internal serial EEPROM

Interfacing the internal serial EEPROM Interfacing the internal serial EEPROM Stacked into the AT8xEB5114 8051 Microcontrollers 1. Overview The AT8xEB5114 contains an internal serial EEPROM (AT24C02) connected to the microcontroller via two

More information

8-bit Microcontroller. Application Note. AVR134: Real-Time Clock (RTC) using the Asynchronous Timer. Features. Theory of Operation.

8-bit Microcontroller. Application Note. AVR134: Real-Time Clock (RTC) using the Asynchronous Timer. Features. Theory of Operation. : Real-Time Clock (RTC) using the Asynchronous Timer Features Real-Time Clock with Very Low Power Consumption (4µA @ 3.3V) Very Low Cost Solution Adjustable Prescaler to Adjust Precision Counts Time, Date,

More information

ATAVRAUTO User Guide

ATAVRAUTO User Guide ATAVRAUTO100... User Guide Section 1 Introduction... 1-4 1.1 Overview...1-4 Section 2 Using the ATAVRAUTO100... 2-6 2.1 Overview...2-6 2.2 Power Supply...2-7 2.3 Oscillator Sources...2-7 2.4 On-board ressources...2-8

More information

Preparations. Creating a New Project

Preparations. Creating a New Project AVR030: Getting Started with C for AVR Features How to Open a New Project Description of Option Settings Linker Command File Examples Writing and Compiling the C Code How to Load the Executable File Into

More information

SPI Serial EEPROMs AT25010 AT25020 AT SPI, 1K Serial E 2 PROM

SPI Serial EEPROMs AT25010 AT25020 AT SPI, 1K Serial E 2 PROM Features Serial Peripheral Interface (SPI) Compatible Supports SPI Modes (,) and 3 (1,1) Low-voltage and Standard-voltage Operation 5. (V CC = 4.5V to 5.5V) 2.7 (V CC = 2.7V to 5.5V) 3. MHz Clock Rate

More information

COMP2121: Microprocessors and Interfacing

COMP2121: Microprocessors and Interfacing COMP2121: Microprocessors and Interfacing Lecture 25: Serial Input/Output (II) Overview USART (Universal Synchronous and Asynchronous serial Receiver and Transmitter) in AVR http://www.cse.unsw.edu.au/~cs2121

More information

8-bit Microcontroller. Application Note. AVR033: Getting Started with the CodeVisionAVR C Compiler

8-bit Microcontroller. Application Note. AVR033: Getting Started with the CodeVisionAVR C Compiler AVR033: Getting Started with the CodeVisionAVR C Compiler Features Installing and Configuring CodeVisionAVR to Work with the Atmel STK500 Starter Kit and AVR Studio Debugger Creating a New Project Using

More information

AVR1303: Use and configuration of IR communication module. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

AVR1303: Use and configuration of IR communication module. 8-bit Microcontrollers. Application Note. Features. 1 Introduction AVR1303: Use and configuration of IR communication module Features IrDA 1.4 compatible for baud rates up to 115.2 Kbit/s Selectable transmitter pulse modulation schemes: - 3/16 of baud rate period - Fixed

More information

2-wire Serial EEPROM AT24C01A AT24C02 AT24C04 AT24C08 AT24C16

2-wire Serial EEPROM AT24C01A AT24C02 AT24C04 AT24C08 AT24C16 Features Low-voltage and Standard-voltage Operation 5.0 (V CC = 4.5V to 5.5V) 2.7 (V CC = 2.7V to 5.5V) 2.5 (V CC = 2.5V to 5.5V) 1.8 (V CC = 1.8V to 5.5V) Internally Organized 128 x 8 (1K), 256 x 8 (2K),

More information

AT17A Series FPGA Configuration EEPROM Memory. Application Note. FPGAs. AT17A Series Conversions from Altera FPGA Serial Configuration Memories

AT17A Series FPGA Configuration EEPROM Memory. Application Note. FPGAs. AT17A Series Conversions from Altera FPGA Serial Configuration Memories ATA Series Conversions from Altera FPGA Serial Configuration Memories Introduction The Atmel ATA FPGA Configuration EEPROM () is a serial memory that can be used to load SRAM based FPGAs. This application

More information

Atmel FPGA Integrated Development System (IDS)

Atmel FPGA Integrated Development System (IDS) Contents Atmel FPGA Integrated Development System (IDS) contains the following items: IDS Installation Guide CD-ROM containing all necessary software and online documents Security block (for Viewlogic

More information

Battery-Voltage. 16K (2K x 8) Parallel EEPROMs AT28BV16. Features. Description. Pin Configurations

Battery-Voltage. 16K (2K x 8) Parallel EEPROMs AT28BV16. Features. Description. Pin Configurations Features 2.7 to 3.6V Supply Full Read and Write Operation Low Power Dissipation 8 ma Active Current 50 µa CMOS Standby Current Read Access Time - 250 ns Byte Write - 3 ms Direct Microprocessor Control

More information

4-megabit (512K x 8) Single 2.7-volt Battery-Voltage Flash Memory AT49BV040 AT49LV040

4-megabit (512K x 8) Single 2.7-volt Battery-Voltage Flash Memory AT49BV040 AT49LV040 Features Single Voltage for Read and Write: 2.7V to 3.6V (BV), 3.0V to 3.6V (LV) Fast Read Access Time 70 ns Internal Program Control and Timer 16K Bytes Boot Block with Lockout Fast Chip Erase Cycle Time

More information

2-wire Serial EEPROM AT24C512. Preliminary. 2-Wire Serial EEPROM 512K (65,536 x 8) Features. Description. Pin Configurations.

2-wire Serial EEPROM AT24C512. Preliminary. 2-Wire Serial EEPROM 512K (65,536 x 8) Features. Description. Pin Configurations. Features Low-voltage and Standard-voltage Operation 5.0 (V CC = 4.5V to 5.5V) 2.7 (V CC = 2.7V to 5.5V) 1.8 (V CC = 1.8V to 3.6V) Internally Organized 65,536 x 8 2-wire Serial Interface Schmitt Triggers,

More information

OrCAD Support for Atmel PLDs. Application Note. OrCAD Support for Atmel PLDs. Overview

OrCAD Support for Atmel PLDs. Application Note. OrCAD Support for Atmel PLDs. Overview OrCAD Support for Atmel PLDs Atmel Device Support for OrCAD PLD 386+ ATV750/ATV750B Device Family ATV2500/ATV2500B Device Family For ATF1500 Support Please Contact Atmel PLD Applications For 16V8, 20V8,

More information

USART Register Description

USART Register Description USART Register Description USART I/O Data Register UDR RXB[7:0] TXB[7:0] Read/Write R/W R/W R/W R/W R/W R/W R/W R/W Initial Value 0 0 0 0 0 0 0 0 UDR (Read) UDR (Write) The USART Transmit Data Buer Register

More information

Trusted Platform Module AT97SC3203S. SMBus Two-Wire Interface. Summary

Trusted Platform Module AT97SC3203S. SMBus Two-Wire Interface. Summary Features Full Trusted Computing Group (TCG) Trusted Platform Module (TPM) Version 1. Compatibility Single-chip Turnkey Solution Hardware Asymmetric Crypto Engine 048-bit RSA Sign in 500 ms AVR RISC Microprocessor

More information

32-megabit 2.7-volt Only Serial DataFlash AT45DB321. AT45DB321 Preliminary 16- Megabit 2.7-volt Only Serial DataFlash

32-megabit 2.7-volt Only Serial DataFlash AT45DB321. AT45DB321 Preliminary 16- Megabit 2.7-volt Only Serial DataFlash Features Single 2.7V - 3.6V Supply Serial-interface Architecture Page Program Operation Single Cycle Reprogram (Erase and Program) 8192 Pages (528 Bytes/Page) Main Memory Optional Page and Block Erase

More information

2-wire Serial EEPROMs AT24C128 AT24C256

2-wire Serial EEPROMs AT24C128 AT24C256 Features Low-voltage and Standard-voltage Operation 5.0 (V CC = 4.5V to 5.5V) 2. (V CC = 2.V to 5.5V) 2.5 (V CC = 2.5V to 5.5V). (V CC =.V to 3.6V) Internally Organized 6,34 x and 32,6 x 2-wire Serial

More information

32-bit Embedded Core Peripheral. Advanced Interrupt Controller (AIC)

32-bit Embedded Core Peripheral. Advanced Interrupt Controller (AIC) Features Compatible with an Embedded ARM7TDMI Processor 8-level Priority From 2 to 32 Interrupt Sources Individually Maskable and Vectored Substantially Reduces the Software and Real-time Overhead in Handling

More information

1-megabit 2.7-volt Only Serial DataFlash AT45DB011. AT45DB011 Preliminary 16- Megabit 2.7-volt Only Serial DataFlash

1-megabit 2.7-volt Only Serial DataFlash AT45DB011. AT45DB011 Preliminary 16- Megabit 2.7-volt Only Serial DataFlash Features Single 2.7V - 3.6V Supply Serial Interface Architecture Page Program Operation Single Cycle Reprogram (Erase and Program) 512 Pages (264 Bytes/Page) Main Memory Optional Page and Block Erase Operations

More information

CryptoRF EEPROM Memory 8 Kbits

CryptoRF EEPROM Memory 8 Kbits Features One of a Family of Devices with User Memory of 1 Kbit to 64 Kbits Contactless 13.56 MHz RF Communications Interface ISO/IEC 14443-2:2001 Type B Compliant ISO/IEC 14443-3:2001 Type B Compliant

More information

Parallel EEPROM Die Products. Die Products. Features. Description. Testing

Parallel EEPROM Die Products. Die Products. Features. Description. Testing Features High Performance CMOS Technology Low Power Dissipation - Active and Standby Hardware and Software Data Protection Features DATA Polling for End of Write Detection High Reliability Endurance: 10

More information

AT89C51CC03 UART Bootloader

AT89C51CC03 UART Bootloader Features Protocol UART Used as Physical Layer Based on the Intel Hex-type s Autobaud In-System Programming Read/Write Flash and EEPROM Memories Read Device ID Full-chip Erase Read/Write Configuration Bytes

More information

Atmel FPGA Integrated Development System (IDS)

Atmel FPGA Integrated Development System (IDS) Contents Atmel FPGA Integrated Development System (IDS) contains the following items: IDS Installation Guide CD-ROM containing all necessary software and online documents Features Support for Industry-standard

More information

Atmel-Synario CPLD/PLD Design Software ATDS1100PC ATDS1120PC ATDS1130PC ATDS1140PC. Features. Description

Atmel-Synario CPLD/PLD Design Software ATDS1100PC ATDS1120PC ATDS1130PC ATDS1140PC. Features. Description Features Comprehensive CPLD/PLD Design Environment User-friendly Microsoft Windows Interface (Win 95, Win 98, Win NT) Powerful Project Navigator Utilizes Intelligent Device Fitters for Automatic Logic

More information

32-bit Embedded Core Peripheral. Cache Memory. and Bus Interface Unit

32-bit Embedded Core Peripheral. Cache Memory. and Bus Interface Unit Features 8 KB Memory Size (Optional 2 KB, 4 KB, 16 KB and 32 KB) Four-way Parallel Associative Cache Memory and Four-word Burst External Access on Miss Write-back Algorithm Enhanced External Bus Access

More information

AVR32752: Using the AVR32 UC3 Static Memory Controller. 32-bit Microcontrollers. Application Note. Features. 1 Introduction

AVR32752: Using the AVR32 UC3 Static Memory Controller. 32-bit Microcontrollers. Application Note. Features. 1 Introduction AVR32752: Using the AVR32 UC3 Static Memory Controller Features Several Types of Access Supported - 8-bit Access Mode - 16-bit Access Mode Software Configurable - Timing Parameters - Initializations 32-bit

More information

256 (32K x 8) High-speed Parallel EEPROM AT28HC256N. Features. Description. Pin Configurations

256 (32K x 8) High-speed Parallel EEPROM AT28HC256N. Features. Description. Pin Configurations Features Fast Read Access Time 90 ns Automatic Page Write Operation Internal Address and Data Latches for 64 Bytes Internal Control Timer Fast Write Cycle Times Page Write Cycle Time: 3 ms or 10 ms Maximum

More information

2-wire Serial EEPROM AT24C21. 2-Wire, 1K Serial EEPROM. Features. Description. Not Recommended for New Designs. Pin Configurations.

2-wire Serial EEPROM AT24C21. 2-Wire, 1K Serial EEPROM. Features. Description. Not Recommended for New Designs. Pin Configurations. Features 2-wire Serial Interface Schmitt Trigger, Filtered Inputs For Noise Suppression DDC1 / DDC2 Interface Compliant for Monitor Identification Low-voltage Operation 2.5 (V CC = 2.5V to 5.5V) Internally

More information

EPROM. Application Note CMOS EPROM. Interfacing Atmel LV/BV EPROMs on a Mixed 3-Volt/5- Volt Data Bus

EPROM. Application Note CMOS EPROM. Interfacing Atmel LV/BV EPROMs on a Mixed 3-Volt/5- Volt Data Bus Interfacing Atmel LV/BV EPROMs on a Mixed 3-volt/5-volt Data Bus Introduction Interfacing Atmel Corporation s low voltage (LV/BV) EPROMs on a common data bus with standard 5-volt devices can be achieved

More information

2-wire Serial EEPROM AT24C512

2-wire Serial EEPROM AT24C512 Features Low-voltage and Standard-voltage Operation 5.0 (V CC = 4.5V to 5.5V). (V CC =.V to 5.5V). (V CC =.V to.v) Internally Organized 5,5 x -wire Serial Interface Schmitt Triggers, Filtered Inputs for

More information

AT89C51SND1 UART Bootloader

AT89C51SND1 UART Bootloader Features Protocol UART Used as a Physical Layer Based on the Intel Hex-type s Autobaud In-System Programming Read/Write Flash Memory Read Device IDs Block Erase Full-chip Erase Read/Write Configuration

More information

16-megabit 2.7-volt Only Serial DataFlash AT45DB161

16-megabit 2.7-volt Only Serial DataFlash AT45DB161 Features Single 2.7V - 3.6V Supply Serial Interface Architecture Page Program Operation Single Cycle Reprogram (Erase and Program) 4096 Pages (528 Bytes/Page) Main Memory Optional Page and Block Erase

More information

ARM7TDMI - based Microcontroller AT91RM3400. Errata Sheet

ARM7TDMI - based Microcontroller AT91RM3400. Errata Sheet Errata AC Characteristics PLL Frequency Limitation (30) Boot ROM Boot Uploader: SRAM Download Limitation (29) MultiMedia Card Interface Data Endianess is Inverted from MCI to MMC or SD Card (28) Timer/Counter

More information

FPGA Configuration EEPROM Memory AT17C65A AT17LV65A AT17C128A AT17LV128A AT17C256A AT17LV256A

FPGA Configuration EEPROM Memory AT17C65A AT17LV65A AT17C128A AT17LV128A AT17C256A AT17LV256A Features Serial EEPROM Family for Configuring Altera FLEX Devices In-System Programmable via 2-wire Bus Simple Interface to SRAM FPGAs EE Programmable 64K, 128K and 256K Bits Serial Memories Designed to

More information

design cycle involving simulation, synthesis

design cycle involving simulation, synthesis HDLPlanner : Design Development Environment for HDL-based FPGA Designs Abstract Rapid prototyping of designs using FPGAs requires HDL-based design entry which leverages upon highly parameterized components

More information

2-Wire Serial EEPROM AT24C01. Features. Description. Pin Configurations. 1K (128 x 8)

2-Wire Serial EEPROM AT24C01. Features. Description. Pin Configurations. 1K (128 x 8) Features Low Voltage and Standard Voltage Operation 2.7 (V CC = 2.7V to 5.5V) 1.8 (V CC = 1.8V to 5.5V) Internally Organized 128 x 8 2-Wire Serial Interface Bidirectional Data Transfer Protocol 100 khz

More information

19.1. Unit 19. Serial Communications

19.1. Unit 19. Serial Communications 9. Unit 9 Serial Communications 9.2 Serial Interfaces Embedded systems often use a serial interface to communicate with other devices. Serial implies that it sends or receives one bit at a time. µc Device

More information

3-Wire Serial EEPROM AT93C46C

3-Wire Serial EEPROM AT93C46C Features Low-Voltage and Standard-Voltage Operation 2.7(V CC =2.7Vto5.5V) 2.5(V CC =2.5Vto5.5V) 3-Wire Serial Interface Schmitt Trigger, Filtered Inputs for Noise Suppression 2MHzClockRate(5V) Self-Timed

More information

1-Megabit (128K x 8) Low Voltage Paged Parallel EEPROMs

1-Megabit (128K x 8) Low Voltage Paged Parallel EEPROMs Features Single 3.3V ± 10% Supply Fast Read Access Time - 200 ns Automatic Page Write Operation Internal Address and Data Latches for 128 Bytes Internal Control Timer Fast Write Cycle Time Page Write Cycle

More information

AT40K FPGA IP Core AT40K-FFT. Features. Description

AT40K FPGA IP Core AT40K-FFT. Features. Description Features Decimation in frequency radix-2 FFT algorithm. 256-point transform. -bit fixed point arithmetic. Fixed scaling to avoid numeric overflow. Requires no external memory, i.e. uses on chip RAM and

More information

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

Addressing scheme to address a specific devices on a multi device bus Enable unaddressed devices to automatically ignore all frames 23. USART 23.1 Features Full-duplex operation Asynchronous or synchronous operation Synchronous clock rates up to 1/2 of the device clock frequency Asynchronous clock rates up to 1/8 of the device clock

More information

T89C51AC2 UART Bootloader

T89C51AC2 UART Bootloader Features Protocol UART Used as a Physical Layer Based on the Intel Hex-type Records Autobaud In-System Programming Read/Write Flash and EEPROM Memories Read Device ID Full-chip Erase Read/Write Configuration

More information

2-wire Serial EEPROMs AT24C128 AT24C256. Features. Description. Pin Configurations. 128K (16,384 x 8) 256K (32,768 x 8)

2-wire Serial EEPROMs AT24C128 AT24C256. Features. Description. Pin Configurations. 128K (16,384 x 8) 256K (32,768 x 8) Features Low-voltage and Standard-voltage Operation 5.0 (V CC = 4.5V to 5.5V) 2.7 (V CC = 2.7V to 5.5V). (V CC =.V to 3.6V) Internally Organized 6,34 x and 32,76 x 2-wire Serial Interface Schmitt Trigger,

More information

a clock signal and a bi-directional data signal (SCL, SDA)

a clock signal and a bi-directional data signal (SCL, SDA) Selecting the Best Serial EEPROM Interface Protocol for your Application 1. Introduction Atmel offers Serial Electrically Erasable Programmable Read Only Memories (SEEPROM) to designers wanting to save

More information

ATICE10... User Guide

ATICE10... User Guide ATICE10... User Guide Table of Contents Section 1 Introduction... 1-1 1.1 General Description...1-1 1.2 External Connections...1-2 1.3 Power System...1-2 1.4 Reset System...1-2 1.5 Trace Buffer...1-3

More information

T89C5115 UART Bootloader

T89C5115 UART Bootloader Features Protocol UART Used as a Physical Layer Based on the Intel Hex-type s Autobaud In-System Programming Read/Write Flash and EEPROM Memories Read Device ID Full-chip Erase Read/Write Configuration

More information

AVR501: Replacing ATtiny15 with ATtiny25. 8-bit Microcontrollers. Application Note PRELIMINARY. Features. 1 Introduction

AVR501: Replacing ATtiny15 with ATtiny25. 8-bit Microcontrollers. Application Note PRELIMINARY. Features. 1 Introduction AVR501: Replacing ATtiny15 with ATtiny25 Features General Porting Considerations Compatibility Mode Memories System Clock and Clock Options System Control and Reset Registers Interrupt Vectors Timer/Counters

More information