MC68302EH20C Freescale Semiconductor, MC68302EH20C Datasheet - Page 365

IC MPU MULTI-PROTOCOL 132-PQFP

MC68302EH20C

Manufacturer Part Number
MC68302EH20C
Description
IC MPU MULTI-PROTOCOL 132-PQFP
Manufacturer
Freescale Semiconductor

Specifications of MC68302EH20C

Processor Type
M683xx 32-Bit
Speed
20MHz
Voltage
5V
Mounting Type
Surface Mount
Package / Case
132-MQFP, 132-PQFP
Family Name
M68000
Device Core
ColdFire
Device Core Size
32b
Frequency (max)
20MHz
Instruction Set Architecture
RISC
Supply Voltage 1 (typ)
5V
Operating Temp Range
0C to 70C
Operating Temperature Classification
Commercial
Mounting
Surface Mount
Pin Count
132
Package Type
PQFP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Features
-
Lead Free Status / Rohs Status
Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
MC68302EH20C
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
MC68302EH20C
Manufacturer:
XILINX
0
Part Number:
MC68302EH20C
Manufacturer:
FREESCALE
Quantity:
20 000
Part Number:
MC68302EH20CB1
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
MC68302EH20CR2
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
MOTOROLA
***Now ready to go ***
***Set IMR and Enable SCC1 ***
******************************Main Routine ******************************
* Set up BD pointers
MAIN
* The following is an infinite loop that prepares data to be sent
* when a Tx BD is available to be used.
*
TxReady
Confirm
*
*Set TXBD if it is to be changed, e.g.,
*
* Mask off interrupt for the following operations
Wrapit
Umask
********************SCC1 interrupt handler ********************
* Check events:
CK_TX
BLT
DBRA
MOVE.W
MOVE.W
ORI.W
JMP
LEA.L
LEA.L
LEA.L
CLR.L
BTST.B
BNE.B
CMPI.W
BNE.B
MOVE.W
MOVE.W
BSET.B
ADDO.L
BTST.B
BNE.B
ADDQ.W
BRA.B
LEA.L
MOVE.W
JMP
ORG
CLR.L
MOVE.B
MOVE.L
ANDI.W
CMPI.W
BNE.B
MOVE.L
ANDI.W
ORI.W
Handle RX then TX then Errors
NxtBT
D1,NxtBF
#$2000,1MR
#$2000,SR
#EN_SCC,SCM1
MAIN
TXBD_01,A1
TXBD_01,A2
RXBD_01,A3
#READY,(A2)
TxReady
#$0,LN_BD(A2)
Confirm
#$5C00,ST_BD(A2)
#$2700,SR
#N_DATA,LN_BD(A2) ;Set data length to 6
#READY,ST_BD(A2)
#1,D3
#WRAP,ST_BD(A2)
Wrapit
#SZ_BD,A2
Unmask
TXBD _ 01,A2
#$2000,SR
TxReady
INT_VEC
D1
SCCE1,D1
D1,D2
#9,D2
#0,D2
RX_INT
D1,D2
#$12,D2
D3
MC68302 USER’S MANUAL
;Next Byte
;Next Buffer
;Allow SCC1 interrupt only
;Unmask interrupts
;ENT = ENR = 1
;Go to Main routine for Tx and Rx
;A1 = CTD pointer
;A2 = NTD pointer
;A3= PRD pointer
;D3 is used to count Tx frames
;Test Ready Bit
;If Ready = 0, the BD has been sent
;test NTD ->data length
;If
;Set Ready bit
;Inc Tx frame count
;Test Wrap bit
;If Wrap . 1, wrap a
;Move NTD to next BD
;Wrap back to the first TX BD
;Unmask interrupt
;Interrupt Vector for SCC1
;Clear D1
;SCCE1
;SCCE1
;Are RXF or RXB set?
;If they are set
;Handle receiver's interrupt
;SCCE1
;Are TXF or TXB set?
transmitted in the loop
confirmed
length = 0, the BD has been
, D1
, D2
, D2
MC68302 Applications
D-15

Related parts for MC68302EH20C