English
Language : 

DS80C320-MCG Datasheet, PDF (174/175 Pages) Dallas Semiconductor – High-Speed Microcontroller User Guide
High-Speed Microcontroller User’s Guide
SERIAL PORT DOES NOT WORK
The serial port is not a complicated peripheral, but there are many elements that need to be initialized.
The following checklist is provided to help in debugging.
1. Have the appropriate port latch bits (P3.0, P3.1, P1.2, or P1.3) been set to 1 to enable the serial port
functions?
2. Has the correct timebase been selected? (4 clocks per tick or 12 clocks per tick)
3. Is the appropriate timer reload value loaded?
4. Is the appropriate timer mode selected?
5. Is the appropriate timer running by setting TR0, TR1, or TR2 bits?
6. Is the correct serial port mode selected?
7. If desired, is the serial port doubler bit, SMOD, set? (PCON.7 or WDCON.7)
8. If desired, is the receive enable bit (REN_0 or REN_1) set?
9. Is the serial port interrupt enabled?
10. Is the global interrupt enable bit set?
HIGH-SPEED MICROCONTROLLER DOES NOT WORK IN EXISTING 8051
DESIGN
Although the High-Speed Microcontroller Family was designed as a drop in replacement for the 8051
family, occasionally a developer may notice problems when inserting into an existing design. Often these
problems are related to slow memory interfaces which cannot keep up with the increased throughput of
the faster microcontroller. In addition, software timing loops will run faster, possibly changing program
operation. These and other effects are described in Application Note 56 (The DS80C320 as a Drop-In
Replacement for the 8032). Application Note 57 (DS80C320 Memory Interface Timing) discusses
memory interface timing for the DS80C320. Application Note 89 (High-Speed Micro Memory Interface
Timing) discusses interfacing other members of the High-Speed Microcontroller family to external
memory.
174 of 175