AT90CAN32 Automotive Atmel Corporation, AT90CAN32 Automotive Datasheet - Page 422

no-image

AT90CAN32 Automotive

Manufacturer Part Number
AT90CAN32 Automotive
Description
Manufacturer
Atmel Corporation

Specifications of AT90CAN32 Automotive

Flash (kbytes)
32 Kbytes
Pin Count
64
Max. Operating Frequency
16 MHz
Cpu
8-bit AVR
# Of Touch Channels
16
Hardware Qtouch Acquisition
No
Max I/o Pins
53
Ext Interrupts
8
Usb Speed
No
Usb Interface
No
Spi
1
Twi (i2c)
1
Uart
2
Can
1
Graphic Lcd
No
Video Decoder
No
Camera Interface
No
Adc Channels
8
Adc Resolution (bits)
10
Adc Speed (ksps)
15
Analog Comparators
1
Resistive Touch Screen
No
Temp. Sensor
No
Crypto Engine
No
Sram (kbytes)
2
Eeprom (bytes)
1024
Self Program Memory
YES
Dram Memory
No
Nand Interface
No
Picopower
No
Temp. Range (deg C)
-40 to 125
I/o Supply Class
2.7 to 5.5
Operating Voltage (vcc)
2.7 to 5.5
Fpu
No
Mpu / Mmu
no / no
Timers
4
Output Compare Channels
8
Input Capture Channels
2
Pwm Channels
7
32khz Rtc
Yes
Calibrated Rc Oscillator
Yes
422
AT90CAN32/64/128
2. Asynchronous Timer-2 wakes up without interrupt
1. SPI Programming Timing
__interrupt void can_int_handler(void)
The asynchronous timer can wake from sleep without giving interrupt. The error only occurs
if the interrupt flag(s) is cleared by software less than 4 cycles before going to sleep and this
clear is done exactly when it is supposed to be set (compare match or overflow). Only the
interrupts flags are affected by the clear, not the signal witch is used to wake up the part.
Problem fix / workaround
No known workaround, try to lock the code to avoid such a timing.
When the fuse high byte or the extended fuse byte has been written, it is necessary to wait
the end of the programming using “Poll RDY/BSY” instruction. If this instruction is entered
too speedily after the “Write Fuse” instruction, the fuse low byte is written instead of high
fuse /extended fuse byte.
Problem fix / workaround
Wait sometime before applying the “Poll RDY/BSY” instruction. For 8MHz system clock,
waiting 1 µs is sufficient.
{
if ((CANSIT1 & 0x40) == 0x40 )
........
........
}
{
CANPAGE = (0x0E << 4);
CANSTMOB = 0x00;
CANCDMOB = 0x88;
}
/* select MOb14 */
/* reset MOb14 status */
/* reception enable */
/* MOb14 interrupt (SIT14=1) */
7682C–AUTO–04/08

Related parts for AT90CAN32 Automotive