MC68HC11E0CFNE2R Freescale Semiconductor, MC68HC11E0CFNE2R Datasheet - Page 198

IC MCU 8BIT 2MHZ 52-PLCC

MC68HC11E0CFNE2R

Manufacturer Part Number
MC68HC11E0CFNE2R
Description
IC MCU 8BIT 2MHZ 52-PLCC
Manufacturer
Freescale Semiconductor
Series
HC11r
Datasheet

Specifications of MC68HC11E0CFNE2R

Core Processor
HC11
Core Size
8-Bit
Speed
2MHz
Connectivity
SCI, SPI
Peripherals
POR, WDT
Number Of I /o
38
Program Memory Type
ROMless
Ram Size
512 x 8
Voltage - Supply (vcc/vdd)
4.5 V ~ 5.5 V
Data Converters
A/D 8x8b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
52-PLCC
Processor Series
HC11E
Core
HC11
Data Bus Width
8 bit
Data Ram Size
512 B
Interface Type
SCI, SPI
Maximum Clock Frequency
2 MHz
Number Of Programmable I/os
38
Number Of Timers
8
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
Minimum Operating Temperature
- 40 C
On-chip Adc
8 bit, 8 Channel
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Program Memory Size
-
Lead Free Status / Rohs Status
 Details

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
MC68HC11E0CFNE2R
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Main Bootloader Program
Samples taken at [7] detect the failing edge of the start bit and verify it is a logic 0. Samples taken at the
middle of what the receiver interprets as the first five bit times [8] detect logic 0s. The sample taken at the
middle of what the receiver interprets as bit 5 [9] may detect either a 0 or a 1 because the receive data
has a rising transition at about this time. The samples for bits 6 and 7 detect 1s, causing the receiver to
think the received character was $C0 or $E0 [10] at 7812 baud instead of the $FF which was sent at 1200
baud. The stop bit sample detects a 1 as expected [11], but this detection is actually in the middle of bit
0 of the 1200 baud $FF character. The SCI receiver is not confused by the rest of the 1200 baud $FF
character because the receive data line is high [12] just as it would be for the idle condition. If a character
other than $FF is sent as the first character, an SCI receive error could result.
Main Bootloader Program
Figure 3
demonstrates the most important features of the bootloaders used on all M68HC11 Family members. For
complete listings of other M68HC11 versions, refer to
end of this application note, and to Appendix B of the M68HC11 Reference Manual, Freescale document
order number M68HC11RM/AD.
The reset vector in the boot ROM points to the start [1] of this program. The initialization block [2]
establishes starting conditions and sets up the SCI and port D. The stack pointer is set because there are
push and pull instructions in the bootloader program. The X index register is pointed at the start of the
register block ($1000) so indexed addressing can be used. Indexed addressing takes one less byte of
ROM space than extended instructions, and bit manipulation instructions are not available in extended
addressing forms. The port D wire-OR mode (DWOM) bit in the serial peripheral interface control register
(SPCR) is set to configure port D for wired-OR operation to minimize potential conflicts with external
systems that use the PD1/TxD pin as an input. The baud rate for the SCI is initially set to 7812 baud at a
2-MHz E-clock rate but can automatically switch to 1200 baud based on the first character received. The
SCI receiver and transmitter are enabled. The receiver is required by the bootloading process, and the
transmitter is used to transmit data back to the host computer for optional verification. The last item in the
initialization is to set an intercharacter delay constant used to terminate the download when the host
computer stops sending data to the MC68HC711E9. This delay constant is stored in the timer output
compare 1 (TOC1) register, but the on-chip timer is not used in the bootloader program. This example
198
$FF CHARACTER
@ 7812 BAUD
$FF CHARACTER
@ 1200 BAUD
Rx DATA SAMPLES
Rx DATA SAMPLES
( FOR 7812 BAUD )
is a flowchart of the main bootloader program in the MC68HC711E9. This bootloader
S
S
START
[1]
[7]
[6]
0
0
Figure 2. Automatic Detection of Baud Rate
BIT 0
1
0
BIT 1
1
0
START
[8]
M68HC11 Bootstrap Mode, Rev. 1.1
BIT 2
1
0
[5]
BIT 3
1
0
or $E0
$C0
$FF
[2]
BIT 4
1
0
[10]
Listing 3. MC68HC711E9 Bootloader ROM
BIT 5
1
?
[9]
BIT 6
1
1
BIT 7
1
1
STOP
1
1
BIT 0
[11]
[3]
Tx DATA LINE IDLES HIGH
Freescale Semiconductor
[4]
[12]
BIT 1
at the

Related parts for MC68HC11E0CFNE2R