AT90CAN128-16AI Atmel, AT90CAN128-16AI Datasheet - Page 25

IC MCU AVR FLASH 128K 64TQFP

AT90CAN128-16AI

Manufacturer Part Number
AT90CAN128-16AI
Description
IC MCU AVR FLASH 128K 64TQFP
Manufacturer
Atmel
Series
AVR® 90CANr
Datasheets

Specifications of AT90CAN128-16AI

Core Processor
AVR
Core Size
8-Bit
Speed
16MHz
Connectivity
CAN, EBI/EMI, I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
53
Program Memory Size
128KB (128K x 8)
Program Memory Type
FLASH
Eeprom Size
4K x 8
Ram Size
4K x 8
Voltage - Supply (vcc/vdd)
2.7 V ~ 5.5 V
Data Converters
A/D 8x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
64-TQFP, 64-VQFP
For Use With
ATDVK90CAN1 - KIT DEV FOR AT90CAN128 MCU
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
AT90CAN128-16AI
Manufacturer:
ALTERA
Quantity:
101
Part Number:
AT90CAN128-16AI
Manufacturer:
ATMEL
Quantity:
642
Part Number:
AT90CAN128-16AI
Manufacturer:
Atmel
Quantity:
10 000
7679H–CAN–08/08
The following code examples show one assembly and one C function for writing to the
EEPROM. The examples assume that interrupts are controlled (e.g. by disabling interrupts glo-
bally) so that no interrupts will occur during execution of these functions. The examples also
assume that no Flash Boot Loader is present in the software. If such code is present, the
EEPROM write function must also wait for any ongoing SPM command to finish.
Assembly Code Example
C Code Example
EEPROM_write:
void EEPROM_write (unsigned int uiAddress, unsigned char ucData)
{
}
; Wait for completion of previous write
sbic
rjmp
; Set up address (r18:r17) in address register
out
out
; Write data (r16) to data register
out
; Write logical one to EEMWE
sbi
; Start eeprom write by setting EEWE
sbi
ret
/* Wait for completion of previous write */
while(EECR & (1<<EEWE));
/* Set up address and data registers */
EEAR = uiAddress;
EEDR = ucData;
/* Write logical one to EEMWE */
EECR |= (1<<EEMWE);
/* Start eeprom write by setting EEWE */
EECR |= (1<<EEWE);
EECR,EEWE
EEPROM_write
EEARH, r18
EEARL, r17
EEDR,r16
EECR,EEMWE
EECR,EEWE
AT90CAN32/64/128
25

Related parts for AT90CAN128-16AI