MM912H634DM1AER2 Freescale Semiconductor, MM912H634DM1AER2 Datasheet - Page 291

no-image

MM912H634DM1AER2

Manufacturer Part Number
MM912H634DM1AER2
Description
16-bit Microcontrollers - MCU 64KS12 LIN2XLS/HS ISENSE
Manufacturer
Freescale Semiconductor
Datasheet

Specifications of MM912H634DM1AER2

Rohs
yes
Core
HCS12
Processor Series
MM912F634
Data Bus Width
16 bit
Maximum Clock Frequency
20 MHz
Program Memory Size
32 KB
Data Ram Size
2 KB
On-chip Adc
Yes
Operating Supply Voltage
5.5 V to 18 V
Operating Temperature Range
- 40 C to + 105 C
Package / Case
LQFP-48
Mounting Style
SMD/SMT
A/d Bit Size
10 bit
A/d Channels Available
15
Interface Type
SPI
Maximum Operating Temperature
+ 105 C
Minimum Operating Temperature
- 40 C
Number Of Programmable I/os
15
Number Of Timers
1
Program Memory Type
Flash
Supply Voltage - Max
18 V
Supply Voltage - Min
5.5 V
Functional Description and Application Information
4.36.4.2.4
The sector erase operation will erase all addresses in a 512 byte sector of Flash memory using an embedded algorithm. The
overall erase time has been divided into 16 erase pulses to allow faster system response. The customer application has to
guarantee all 16 pulses are performed before writing into the Flash sector being erased. There is no requirement to have those
pulses as consecutive operations.
An example flow to execute the sector erase operation is shown in
follows:
If a Flash sector to be erased is in a protected area of the Flash block, the PVIOL flag in the FSTAT register will set and the sector
erase command will not launch. Once the sector erase command has successfully launched, the CCIF flag in the FSTAT register
will set after the sector erase operation has completed.
Freescale Semiconductor
1.
2.
3.
4.
5.
Write to an aligned Flash block address to start the command write sequence for the sector erase command. The Flash
address written determines the sector to be erased while the data written is ignored.
Write the sector erase command, 0x40, to the FCMD register.
Clear the CBEIF flag in the FSTAT register by writing a 1 to CBEIF to launch the sector erase command.
Wait for the CCIF flag in the FSTAT register to set signifying completion of the sector erase operation.
Repeat steps 1 through 4 until all 16 sector erase pulses have been executed. Address must be in the same Flash
sector.
Sector Erase Command
In case the PVIOL or ACCERR flags are asserted by some event occurring in between the
erase pulses, the customer application must clear the flags in FSTAT register before
resuming the sequence of 16 pulses.
NOTE
Figure
89. The sector erase command write sequence is as
32 kbyte Flash Module (S12SFTSR32KV1)
MM912F634
291

Related parts for MM912H634DM1AER2