AT89C5132 Atmel Corporation, AT89C5132 Datasheet - Page 29

no-image

AT89C5132

Manufacturer Part Number
AT89C5132
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of AT89C5132

Flash (kbytes)
64 Kbytes
Max. Operating Frequency
20 MHz
Cpu
8051-12C
Max I/o Pins
44
Usb Transceiver
1
Usb Speed
Full Speed
Usb Interface
Device
Spi
1
Uart
1
Adc Channels
2
Adc Resolution (bits)
10
Adc Speed (ksps)
22.7
Sram (kbytes)
2.25
Self Program Memory
API
Operating Voltage (vcc)
2.7 to 3.6
Timers
2
Isp
UART/USB
Watchdog
Yes

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
AT89C5132-IL
Quantity:
192
Part Number:
AT89C5132-RORUL
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT89C5132-ROTIL
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT89C5132-ROTUL
Manufacturer:
Atmel
Quantity:
10 000
Program
Configuration
Information
Erasing the Flash
Starting the
Bootloader
4256B–USB–03/06
Notes:
The AT89C5132 Flash memory is divided into four blocks:
Block 0: from address 0000h to 1FFFh (64 pages)
Block 1: from address 2000h to 3FFFh (64 pages)
Block 2: from address 4000h to 7FFFh (128 pages)
Block 3: from address 8000h to FFFFh (256 pages)
Note:
This routine allows to start at the beginning of the bootloader as after a reset. After calling this
routine the regular boot process is performed and the communication must be opened before
any action.
API Name
__api_clr_BLJB
__api_set_BLJB
__api_clr_X2
__api_set_X2
__api_wr_BSB
__api_wr_SBV
__api_wr_SSB
__api_wr_EB
API Name
__api_erase_block0
__api_erase_block1
__api_erase_block2
__api_erase_block3
Parameter settings
Instruction: LCALL FFC0h.
Parameter settings
Instruction: LCALL FFC0h.
No special parameter setting
Set bit ENBOOT in AUXR1 register
instruction: LJUMP or LCALL at address F000h
1. Unprogram BLJB so disable bootloader exection at reset.
2. Program BLJB so enable bootloader exection at reset.
3. Unprogram X2B so disable X2 mode at reset.
4. Program X2B so enable X2 mode at reset.
5. Refer to the AT89C5132 datasheet for information on Write operation Timing.
6. No special resources are used by the bootloader during these operations.
1. Refer to the AT89C5132 datasheet for information on Write operation Timing, then multiply this
2. No special resources are used by the bootloader during these operations.
(3)
timing by the number of pages.
(4)
(1)
(2)
api_command
api_command
07h
07h
07h
07h
04h
04h
04h
04h
00h
00h
00h
00h
api_dph
api_dph
00h
20h
40h
80h
api_dpl
api_dpl
00h
01h
05h
06h
AT89C5132
(HSB & BFh) |
(HSB & 7Fh) |
value to write
value to write
value to write
value to write
HSB & BFh
HSB & 7Fh
api_value
api_value
40h
80h
29

Related parts for AT89C5132