COP8SCR9IMT7 National Semiconductor, COP8SCR9IMT7 Datasheet - Page 46
![IC MCU EEPROM 8BIT 32K 48-TSSOP](/photos/6/64/66474/14-48-tssop_sml.jpg)
COP8SCR9IMT7
Manufacturer Part Number
COP8SCR9IMT7
Description
IC MCU EEPROM 8BIT 32K 48-TSSOP
Manufacturer
National Semiconductor
Series
COP8™ 8Sr
Datasheet
1.COP8SCR9HVA8NOPB.pdf
(80 pages)
Specifications of COP8SCR9IMT7
Core Processor
COP8
Core Size
8-Bit
Speed
20MHz
Connectivity
Microwire/Plus (SPI), UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
39
Program Memory Size
32KB (32K x 8)
Program Memory Type
FLASH
Ram Size
1K x 8
Voltage - Supply (vcc/vdd)
4.5 V ~ 5.5 V
Oscillator Type
Internal
Operating Temperature
-40°C ~ 125°C
Package / Case
48-TSSOP
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Eeprom Size
-
Data Converters
-
Other names
*COP8SCR9IMT7
www.national.com
14.0 USART
Read/Write, cleared on reset.
CHL1 = 0, CHL0 = 0
CHL1 = 0, CHL0 = 1
CHL1 = 1, CHL0 = 0
CHL1 = 1, CHL0 = 1
ERR: This bit is a global USART error flag which gets set if
any or a combination of the errors (DOE, FE, PE, BD) occur.
Read only; it cannot be written by software, cleared on reset.
RBFL: This bit is set when the USART has received a
complete character and has copied it into the RBUF register.
It is automatically reset when software reads the character
from RBUF. Read only; it cannot be written by software,
cleared on reset.
TBMT: This bit is set when the USART transfers a byte of
data from the TBUF register into the TSFT register for trans-
mission. It is automatically reset when software writes into
the TBUF register. Read only, bit is set to “one” on reset; it
cannot be written by software.
ENUR — USART RECEIVE CONTROL AND STATUS REG-
ISTER (Address at 0BB)
DOE: Flags a Data Overrun Error. Read only, cleared on
read, cleared on reset.
DOE = 0
DOE = 1
FE: Flags a Framing Error. Read only, cleared on read,
cleared on reset.
FE = 0
FE = 1
PE: Flags a Parity Error. Read only, cleared on read, cleared
on reset.
PE = 0
PE = 1
BD: Flags a line break.
BD = 0 Indicates no Line Break has been detected since
BD = 1 Indicates the occurrence of a Line Break.
RBIT9: Contains the ninth data bit received when the
USART is operating with nine data bits per frame. Read only,
cleared on reset.
ATTN: ATTENTION Mode is enabled while this bit is set.
This bit is cleared automatically on receiving a character with
data bit nine set. Read/Write, cleared on reset.
XMTG: This bit is set to indicate that the USART is transmit-
ting. It gets reset at the end of the last frame (end of last Stop
bit). Read only, cleared on reset.
RCVG: This bit is set high whenever a framing error or a
Break Detect occurs and goes low when RDX goes high.
Read only, cleared on reset.
Bit 7
DOE
the last time the ENUR register was read.
FE
Indicates no Framing Error has been detected
since the last time the ENUR register was read.
Indicates the occurrence of a Framing Error.
Indicates no Parity Error has been detected since
the last time the ENUR register was read.
Indicates the occurrence of a Parity Error.
Indicates no Data Overrun Error has been de-
tected since the last time the ENUR register
was read.
Indicates the occurrence of a Data Overrun
Error.
PE
(Continued)
BD
The frame contains eight data bits.
The frame contains seven data bits.
The frame contains nine data bits.
Loopback Mode selected. Trans-
mitter output internally looped back
to receiver input. Nine bit framing
format is used.
RBIT9
ATTN
XMTG RCVG
Bit 0
46
ENUI — USART INTERRUPT AND CLOCK SOURCE REG-
ISTER (Address at 0BC)
STP2: This bit programs the number of Stop bits to be
transmitted. Read/Write, cleared on reset.
STP2 = 0
STP2 = 1
BRK: Holds TDX (USART Transmit Pin) low to generate a
Line Break. Timing of the Line Break is under software
control.
ETDX: TDX (USART Transmit Pin) is the alternate function
assigned to Port L pin L2; it is selected by setting ETDX bit.
SSEL: USART mode select. Read only, cleared on reset.
SSEL = 0
SSEL = 1
XRCLK: This bit selects the clock source for the receiver
section. Read/Write, cleared on reset.
XRCLK = 0
XRCLK = 1
XTCLK: This bit selects the clock source for the transmitter
section. Read/Write, cleared on reset.
XTCLK = 0
XTCLK = 1
ERI: This bit enables/disables interrupt from the receiver
section. Read/Write, cleared on reset.
ERI = 0
ERI = 1
ETI: This bit enables/disables interrupt from the transmitter
section. Read/Write, cleared on reset.
ETI = 0
ETI = 1
14.3 ASSOCIATED I/O PINS
Data is transmitted on the TDX pin and received on the RDX
pin. TDX is the alternate function assigned to Port L pin L2;
it is selected by setting ETDX (in the ENUI register) to one.
RDX is an inherent function Port L pin L3, requiring no setup.
Port L pin L2 must be configured as an output in the Port L
Configuration Register in order to be used as the TDX pin.
The baud rate clock for the USART can be generated on-
chip, or can be taken from an external source. Port L pin L1
(CKX) is the external clock I/O pin. The CKX pin can be
either an input or an output, as determined by Port L Con-
figuration and Data registers (Bit 1). As an input, it accepts a
clock signal which may be selected to drive the transmitter
and/or receiver. As an output, it presents the internal Baud
Rate Generator output.
Note: The CKX pin is unavailable if Port L1 is used for the
Low Speed Oscillator.
14.4 USART OPERATION
The USART has two modes of operation: asynchronous
mode and synchronous mode.
Bit 7
STP2
BRK
Interrupt from the transmitter is disabled.
Interrupt from the transmitter is enabled.
Interrupt from the receiver is disabled.
Interrupt from the receiver is enabled.
One Stop bit transmitted.
Two Stop bits transmitted.
Asynchronous Mode.
Synchronous Mode.
The clock source is selected through the PSR
and BAUD registers.
Signal on CKX (L1) pin is used as the clock.
The clock source is selected through the
PSR and BAUD registers.
Signal on CKX (L1) pin is used as the clock.
ETDX
SSEL
XRCLK XTCLK
ERI
ETI
Bit 0