Freescale-semiconductor MCF5480 Manuale Utente

Navigare online o scaricare Manuale Utente per Hardware Freescale-semiconductor MCF5480. Freescale Semiconductor MCF5480 User Manual Manuale Utente

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 103
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 0
MCF548x Reference Manual
Devices Supported:
MCF5485 MCF5482
MCF5484 MCF5481
MCF5483 MCF5480
Document Number: MCF5485RM
Rev. 3
01/2006
Vedere la pagina 0
1 2 3 4 5 6 ... 102 103

Sommario

Pagina 1 - MCF548x Reference Manual

MCF548x Reference ManualDevices Supported:MCF5485 MCF5482MCF5484 MCF5481MCF5483 MCF5480Document Number: MCF5485RMRev. 301/2006

Pagina 2 - How to Reach Us:

MCF548x Reference Manual, Rev. 3x Freescale SemiconductorContentsParagraphNumberTitlePageNumber3.7.4 Miscellaneous Instruction Execution Timing ...

Pagina 3

MCF548x Reference Manual, Rev. 32-30 Freescale Semiconductor2.2.15.4 Breakpoint/Test Mode Select (BKPT/TMS)If MTMOD0 is low, BKPT is selected. BKPT si

Pagina 4

MCF548x Reference Manual, Rev. 331-10 Freescale SemiconductorFigure 31-3 shows the pinout for the lower left quadrant of the MCF5485/MCF5484 pinout fo

Pagina 5

Mechanical Diagrams MCF548x Reference Manual, Rev. 3Freescale Semiconductor 31-11Figure 31-4 shows the pinout for the lower left quadrant of the MCF5

Pagina 6

MCF548x Reference Manual, Rev. 331-12 Freescale Semiconductor31.3.2 MCF5483/5482 Mechanical DiagramFigure 31-5–Figure 31-8 show the pinout for the eac

Pagina 7

Mechanical Diagrams MCF548x Reference Manual, Rev. 3Freescale Semiconductor 31-13Figure 31-6 shows the pinout for the upper right quadrant of the MCF

Pagina 8

MCF548x Reference Manual, Rev. 331-14 Freescale SemiconductorFigure 31-7 shows the pinout for the lower left quadrant of the MCF5483/MCF5482 pinout fo

Pagina 9

Mechanical Diagrams MCF548x Reference Manual, Rev. 3Freescale Semiconductor 31-15Figure 31-8 shows the pinout for the lower left quadrant of the MCF5

Pagina 10 - Contents

MCF548x Reference Manual, Rev. 331-16 Freescale Semiconductor31.4 MCF5481/5480 Mechanical DiagramFigure 31-9–Figure 31-12 show the pinout for the each

Pagina 11

MCF5481/5480 Mechanical Diagram MCF548x Reference Manual, Rev. 3Freescale Semiconductor 31-17Figure 31-10 shows the pinout for the upper right quadra

Pagina 12

MCF548x Reference Manual, Rev. 331-18 Freescale SemiconductorFigure 31-11 shows the pinout for the lower left quadrant of the MCF5481/MCF5480 pinout f

Pagina 13

MCF5481/5480 Mechanical Diagram MCF548x Reference Manual, Rev. 3Freescale Semiconductor 31-19Figure 31-12 shows the pinout for the lower left quadran

Pagina 14

MCF548x External Signals MCF548x Reference Manual, Rev. 3Freescale Semiconductor 2-312.2.17 Power and Reference PinsThese pins provide system power,

Pagina 15

MCF548x Reference Manual, Rev. 331-20 Freescale Semiconductor31.5 Mechanicals 388-pin PBGA Package Outline31.6 Case DrawingFigure 31-13 shows the MCF5

Pagina 16

MCF548x Reference Manual, Rev. 3Freescale Semiconductor A-1Appendix AMCF548x Memory MapTable A-1 lists an overview of the memory map for the on-chip m

Pagina 17

MCF548x Reference Manual, Rev. 3A-2 Freescale SemiconductorMBAR + 0x8000 –0x80FFDMA Multi-Channel DMA registersMBAR + 0x8100 –0x83FFReserved —MBAR +

Pagina 18

MCF548x Reference Manual, Rev. 3Freescale Semiconductor A-3NOTERead and write accesses to reserved MBAR spaces will result in undefinedbehavior that

Pagina 19

MCF548x Reference Manual, Rev. 3A-4 Freescale Semiconductor

Pagina 20

IndexMCF548x Reference Manual, Rev. 3Freescale Semiconductor Index-1AAcknowledge error (ACKERR) 21-16Addressing modes 3-18Associated functions 15-3BBD

Pagina 21

MCF548x Reference Manual, Rev. 3Index-2 Freescale Semiconductorconfiguration/status (CSR) 8-11data breakpoint/mask (DBR, DBMR) 8-22extended trigger de

Pagina 22

MCF548x Reference Manual, Rev. 3Freescale Semiconductor Index-3port interrupt enable (EPIER) 14-4Error counters 21-30Ethernetaddress recognition 30-48

Pagina 23

MCF548x Reference Manual, Rev. 3Index-4 Freescale Semiconductorstructure 21-19time stamp 21-28transmitcodes 21-22error status flag (TXWARN) 21-16prior

Pagina 24

MCF548x Reference Manual, Rev. 3Freescale Semiconductor Index-5repeated start 28-11signalsSCL 28-2SDA 28-2START 28-9STOP 28-9Instructionsarchitecture

Pagina 25

MCF548x Reference Manual, Rev. 32-32 Freescale Semiconductor

Pagina 26

MCF548x Reference Manual, Rev. 3Index-6 Freescale SemiconductorMechanical datacase drawing 31-20diagram 31-8pinout 31-1Memory mapsdebug 8-10DMA 24-3DS

Pagina 27

MCF548x Reference Manual, Rev. 3Freescale Semiconductor Index-7initiator window 2 base/translation address (PCIIW2BTAR) 19-19initiator window configur

Pagina 28

MCF548x Reference Manual, Rev. 3Index-8 Freescale SemiconductorRRAMBAR 3-13Registerscacheaccess control (ACRn) 3-13, 5-5, 5-6, 7-22configuration (CACR

Pagina 29

MCF548x Reference Manual, Rev. 3Freescale Semiconductor Index-9PCI grant pin assignment (PAR_PCIBG) 15-25PCI request pin assignment (PAR_PCIBR) 15-26p

Pagina 30

MCF548x Reference Manual, Rev. 3Index-10 Freescale Semiconductorinfrared FIR divide (PSCIRFDRn)26-26infrared MIR divide (PSCIRMDRn)26-25infrared SIR d

Pagina 31

MCF548x Reference Manual, Rev. 3Freescale Semiconductor Index-11USBapplication interface update (IFUR) 29-22application interrupt mask (USBAIMR) 29-17

Pagina 32

MCF548x Reference Manual, Rev. 3Index-12 Freescale Semiconductorexecution unitsaccess 22-11AESU 22-6, 22-83AFEU 22-5, 22-67DEU 22-4, 22-72MDEU 22-6, 2

Pagina 33

MCF548x Reference Manual, Rev. 3Freescale Semiconductor Index-13transfer burst (TBST) 2-17, 17-4transfer size (TSIZn) 2-17, 17-4transfer start (TS) 2-

Pagina 34

MCF548x Reference Manual, Rev. 3Index-14 Freescale Semiconductorwrite data byte mask (SDDMn)2-19write data byte mask (SDDMn) 18-3write enable (SDWE) 2

Pagina 35

MCF548x Reference Manual, Rev. 3Freescale Semiconductor Index-15device speed (SPEEDR) 29-20dropped packet counter (DPCNT) 29-24endpoint info (EPINFO)

Pagina 36

MCF548x Reference Manual, Rev. 3Freescale Semiconductor iPart IProcessor CorePart I is intended for system designers who need to understand the operat

Pagina 37

MCF548x Reference Manual, Rev. 3Index-16 Freescale Semiconductor

Pagina 38

OverviewSignal DescriptionsColdFire CoreEnhanced Multiply-Accumulate Unit (EMAC)Memory Management Unit (MMU)Floating-Point Unit (FPU)Debug SupportSyst

Pagina 39

OverviewSignal DescriptionsColdFire CoreEnhanced Multiply-Accumulate Unit (EMAC)Memory Management Unit (MMU)Floating-Point Unit (FPU)Debug SupportSyst

Pagina 40

MCF548x Reference Manual, Rev. 3ii Freescale Semiconductor

Pagina 41 - About This Book

MCF548x Reference Manual, Rev. 3Freescale Semiconductor 3-1Chapter 3 ColdFire CoreThis chapter provides an overview of the microprocessor core of the

Pagina 42

MCF548x Reference Manual, Rev. 33-2 Freescale Semiconductor3.2.1 Enhanced PipelinesThe IFP prefetches instructions. The OEP decodes instructions, fetc

Pagina 43 - Suggested Reading

Features MCF548x Reference Manual, Rev. 3Freescale Semiconductor 3-3Figure 3-1. ColdFire Enhanced Pipeline3.2.1.1 Instruction Fetch Pipeline (IFP)Bec

Pagina 44 - Conventions

MCF548x Reference Manual, Rev. 33-4 Freescale Semiconductor3.2.1.1.1 Branch AccelerationTo maximize the performance of conditional branch instructions

Pagina 45 - Acronyms and Abbreviations

Features MCF548x Reference Manual, Rev. 3Freescale Semiconductor 3-5ColdFire microprocessor family. The MAC features a four-stage execution pipeline,

Pagina 46

MCF548x Reference Manual, Rev. 3Freescale Semiconductor xiContentsParagraphNumberTitlePageNumber5.2.3.9 Changes to ACRs and CACR ...

Pagina 47

MCF548x Reference Manual, Rev. 33-6 Freescale SemiconductorThe hardware unit is optimized for real-time execution with exceptions disabled and default

Pagina 48

Programming Model MCF548x Reference Manual, Rev. 3Freescale Semiconductor 3-7• The ASID is optionally included in the specification of the hardware b

Pagina 49

MCF548x Reference Manual, Rev. 33-8 Freescale SemiconductorFigure 3-3. ColdFire Programming Model31 0D0 Data registersD1D2D3D4D5D6D731 0A0 Address reg

Pagina 50

Programming Model MCF548x Reference Manual, Rev. 3Freescale Semiconductor 3-93.3.1 User Programming ModelThe user programming model, shown in Figure

Pagina 51

MCF548x Reference Manual, Rev. 33-10 Freescale Semiconductor3.3.3 EMAC Programming Model The registers in the EMAC portion of the user programming mod

Pagina 52

Programming Model MCF548x Reference Manual, Rev. 3Freescale Semiconductor 3-11• Eight 64-bit floating-point data registers (FP0–FP7)• One 32-bit floa

Pagina 53 - SYNC_SEG

MCF548x Reference Manual, Rev. 33-12 Freescale Semiconductor3.3.5.1 Status Register (SR)The SR stores the processor status, the interrupt priority mas

Pagina 54

Programming Model MCF548x Reference Manual, Rev. 3Freescale Semiconductor 3-133.3.5.3 Cache Control Register (CACR)The CACR controls operation of bot

Pagina 55

MCF548x Reference Manual, Rev. 33-14 Freescale SemiconductorTable 3-4. ColdFire CPU RegistersName CPU Space (Rc) Written with MOVEC Register NameMemor

Pagina 56

Data Format Summary MCF548x Reference Manual, Rev. 3Freescale Semiconductor 3-153.4 Data Format SummaryTable 3-5 lists the operand data formats. Inte

Pagina 57

MCF548x Reference Manual, Rev. 3xii Freescale SemiconductorContentsParagraphNumberTitlePageNumber6.2.3.5 Denormalized Numbers ...

Pagina 58

MCF548x Reference Manual, Rev. 33-16 Freescale SemiconductorInstruction encodings disallow use of address registers for byte operands. When an address

Pagina 59 - Overview

Data Format Summary MCF548x Reference Manual, Rev. 3Freescale Semiconductor 3-173.4.2 EMAC Data RepresentationThe EMAC supports the following three m

Pagina 60 - 1.2 MCF548x Block Diagram

MCF548x Reference Manual, Rev. 33-18 Freescale Semiconductor3.4.2.1.1 Signed-Integer Data FormatsThe FPU supports 8-bit byte (B), 16-bit word (W), and

Pagina 61 - 1.4 MCF548x Family Features

Instruction Set Summary MCF548x Reference Manual, Rev. 3Freescale Semiconductor 3-193.6 Instruction Set SummaryThe ColdFire instruction set is a simp

Pagina 62 - 1-4 Freescale Semiconductor

MCF548x Reference Manual, Rev. 33-20 Freescale Semiconductor• Enhanced support for byte and word-sized operands through new move operations• Enhanced

Pagina 63 - Freescale Semiconductor 1-5

Instruction Set Summary MCF548x Reference Manual, Rev. 3Freescale Semiconductor 3-21Move to USP move.l Ay USP YesMove with Sign Extend mvs.{b,w} <

Pagina 64 - 1.4.3 JTAG

MCF548x Reference Manual, Rev. 33-22 Freescale Semiconductor3.6.2 Instruction Set SummaryTable 3-8 lists user-mode instructions by opcode.Save Interna

Pagina 65 - 1.4.4 On-Chip Memories

Instruction Set Summary MCF548x Reference Manual, Rev. 3Freescale Semiconductor 3-23CMPCMPA<ea>y,Dx<ea>y,AxB, W, LW, LDestination – Sourc

Pagina 66 - 1.4.6.1 DMA Controller

MCF548x Reference Manual, Rev. 33-24 Freescale SemiconductorFINT <ea>y,FPxFPy,FPxFPxB,W,L,S,DDDInteger Part of Source → FPxInteger Part of FPx →

Pagina 67 - C (Inter-Integrated Circuit)

Instruction Set Summary MCF548x Reference Manual, Rev. 3Freescale Semiconductor 3-25FSUB <ea>y,FPxFPy,FPxB,W,L,S,DDFPx - Source → FPxFTST <e

Pagina 68 - 1-10 Freescale Semiconductor

MCF548x Reference Manual, Rev. 3Freescale Semiconductor xiiiContentsParagraphNumberTitlePageNumber7.8.1 Cache Line States: Invalid, Valid-Unmodified,

Pagina 69 - 1.4.11.1 Timers

MCF548x Reference Manual, Rev. 33-26 Freescale SemiconductorTable 3-9 describes supervisor-mode instructions.NOT Dx L ~ Destination → DestinationOR &l

Pagina 70 - 1.4.11.3 General Purpose I/O

Instruction Execution Timing MCF548x Reference Manual, Rev. 3Freescale Semiconductor 3-273.7 Instruction Execution TimingThe timing data in this sect

Pagina 71 - Signal Descriptions

MCF548x Reference Manual, Rev. 33-28 Freescale Semiconductor• The OEP can complete all memory accesses without memory causing any stalls. Thus, these

Pagina 72 - Figure 2-1. MCF548x Signals

Instruction Execution Timing MCF548x Reference Manual, Rev. 3Freescale Semiconductor 3-29Table 3-12 lists timings for MOVE.L.Table 3-13 gives timings

Pagina 73

MCF548x Reference Manual, Rev. 33-30 Freescale Semiconductor3.7.2 One-Operand Instruction Execution TimingTable 3-14 shows standard timings for single

Pagina 74

Instruction Execution Timing MCF548x Reference Manual, Rev. 3Freescale Semiconductor 3-313.7.3 Two-Operand Instruction Execution TimingTable 3-15 sho

Pagina 75

MCF548x Reference Manual, Rev. 33-32 Freescale Semiconductor3.7.4 Miscellaneous Instruction Execution TimingTable 3-16 lists timings for miscellaneous

Pagina 76

Instruction Execution Timing MCF548x Reference Manual, Rev. 3Freescale Semiconductor 3-333.7.5 Branch Instruction Execution TimingTable 3-17 shows ge

Pagina 77 - C Serial clock I/O 8 GPI

MCF548x Reference Manual, Rev. 33-34 Freescale SemiconductorTable 3-18 shows timing for Bcc instructions.3.7.6 EMAC Instruction Execution TimesTable 3

Pagina 78

Instruction Execution Timing MCF548x Reference Manual, Rev. 3Freescale Semiconductor 3-35Execution times for moving the contents of the ACC, ACCext[0

Pagina 79

MCF548x Reference Manual, Rev. 3xiv Freescale SemiconductorContentsParagraphNumberTitlePageNumber8.4.5 Address Attribute Trigger Registers (AATR, AATR

Pagina 80

MCF548x Reference Manual, Rev. 33-36 Freescale Semiconductor3.8 Exception Processing OverviewException processing for ColdFire processors is streamlin

Pagina 81

Exception Processing Overview MCF548x Reference Manual, Rev. 3Freescale Semiconductor 3-37If the exception is caused by an FPU instruction, the PC co

Pagina 82

MCF548x Reference Manual, Rev. 33-38 Freescale SemiconductorColdFire processors inhibit sampling for interrupts during the first instruction of all ex

Pagina 83

Exception Processing Overview MCF548x Reference Manual, Rev. 3Freescale Semiconductor 3-393.8.2 Processor ExceptionsTable 3-23 describes CF4e excepti

Pagina 84

MCF548x Reference Manual, Rev. 33-40 Freescale SemiconductorTable 3-23. Processor ExceptionsType DescriptionAccess error If the MMU is disabled, acces

Pagina 85

Exception Processing Overview MCF548x Reference Manual, Rev. 3Freescale Semiconductor 3-41Unimplemented line-a opcodeA line-a opcode results when bit

Pagina 86 - 2.2 MCF548x External Signals

MCF548x Reference Manual, Rev. 33-42 Freescale Semiconductor3.9 Precise FaultsTo support a demand-paged virtual memory environment, all memory referen

Pagina 87 - 2.2.1.5 Transfer Burst (TBST)

Precise Faults MCF548x Reference Manual, Rev. 3Freescale Semiconductor 3-43NOTEFor access errors signaled on instruction prefetches, an access errore

Pagina 88 - 2.2.1.8 Output Enable (OE)

MCF548x Reference Manual, Rev. 33-44 Freescale Semiconductor

Pagina 89 - Freescale Semiconductor 2-19

MCF548x Reference Manual, Rev. 3Freescale Semiconductor 4-1Chapter 4 Enhanced Multiply-Accumulate Unit (EMAC)This chapter describes the functionality

Pagina 90 - 2.2.3 PCI Controller Signals

MCF548x Reference Manual, Rev. 3Freescale Semiconductor xvContentsParagraphNumberTitlePageNumber9.3.1.4 JTAG Device Identification Number (JTAGID) ...

Pagina 91 - Freescale Semiconductor 2-21

MCF548x Reference Manual, Rev. 34-2 Freescale Semiconductor4.1.1 MAC OverviewThe MAC is an extension of the basic multiplier found in most microproces

Pagina 92 - 2.2.5 Clock and Reset Signals

Introduction MCF548x Reference Manual, Rev. 3Freescale Semiconductor 4-3execution times are minimized and deterministic compared to the 2-bit/cycle a

Pagina 93

MCF548x Reference Manual, Rev. 34-4 Freescale SemiconductorFigure 4-5. Signed and Unsigned Integer AlignmentThus, the 48-bit accumulator definition is

Pagina 94 - 2.2.7 Ethernet Module Signals

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 4-5The need to move large amounts of data presents an obstacle

Pagina 95 - Freescale Semiconductor 2-25

MCF548x Reference Manual, Rev. 34-6 Freescale SemiconductorTable 4-1 describes MACSR fields.31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16R0000000000

Pagina 96 - 2-26 Freescale Semiconductor

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 4-7Table 4-2 summarizes the interaction of the MACSR[S/U,F/I,R

Pagina 97 - C I/O Signals

MCF548x Reference Manual, Rev. 34-8 Freescale Semiconductor4.2.1.1 Fractional Operation ModeThis section describes behavior when the fractional mode i

Pagina 98 - 2.2.12 PSC Module Signals

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 4-9then Result = R0.U + 1else if lsb of R0.U = 0 /* R0.L = 0x

Pagina 99 - 2.2.15 Debug Support Signals

MCF548x Reference Manual, Rev. 34-10 Freescale Semiconductormove.l d6,mask ; restore the address maskmove.l d7,macsr ; restore the macsrBy executing

Pagina 100 - 2.2.16 Test Signals

EMAC Instruction Set Summary MCF548x Reference Manual, Rev. 3Freescale Semiconductor 4-114.3 EMAC Instruction Set SummaryTable 4-3 summarizes EMAC un

Pagina 101 - Freescale Semiconductor 2-31

MCF548x Reference Manual, Rev. 3xvi Freescale SemiconductorContentsParagraphNumberTitlePageNumber11.1.1 Overview ...

Pagina 102 - 2-32 Freescale Semiconductor

MCF548x Reference Manual, Rev. 34-12 Freescale SemiconductorThe mov.l instruction that stores the accumulator to an integer register (Rz) stalls until

Pagina 103 - Processor Core

EMAC Instruction Set Summary MCF548x Reference Manual, Rev. 3Freescale Semiconductor 4-13This format can represent numbers in the range -1 < opera

Pagina 104

MCF548x Reference Manual, Rev. 34-14 Freescale Semiconductor}else {operandY[31:0] = Ry[31:0]operandX[31:0] = Rx[31:0]}/* perform the multiply */produc

Pagina 105 - ColdFire Core

EMAC Instruction Set Summary MCF548x Reference Manual, Rev. 3Freescale Semiconductor 4-15MACSR.V = 1if (MACSR.OMC == 1)then /* accumulation overflow,

Pagina 106 - 3.2.1 Enhanced Pipelines

MCF548x Reference Manual, Rev. 34-16 Freescale Semiconductor/* check for accumulation overflow */if (accumulationOverflow == 1)then {MACSR.PAVx = 1MAC

Pagina 107 - Features

EMAC Instruction Set Summary MCF548x Reference Manual, Rev. 3Freescale Semiconductor 4-17result[47:0] = 0xffff_ffff_ffff}/* zero-fill to 48 bits befo

Pagina 108 - 3-4 Freescale Semiconductor

MCF548x Reference Manual, Rev. 34-18 Freescale Semiconductor

Pagina 109

MCF548x Reference Manual, Rev. 3Freescale Semiconductor 5-1Chapter 5 Memory Management Unit (MMU)This chapter describes the ColdFire virtual memory m

Pagina 110 - 3-6 Freescale Semiconductor

MCF548x Reference Manual, Rev. 35-2 Freescale Semiconductor• The address access control logic, address attribute logic, memories, and controller fun

Pagina 111 - 3.3 Programming Model

Virtual Memory Management Architecture MCF548x Reference Manual, Rev. 3Freescale Semiconductor 5-3Figure 5-1. CF4e Processor Core Block with MMU5.2.3

Pagina 112

MCF548x Reference Manual, Rev. 3Freescale Semiconductor xviiContentsParagraphNumberTitlePageNumberChapter 14 Edge Port Module (EPORT)14.1 Introductio

Pagina 113 - 3.3.1 User Programming Model

MCF548x Reference Manual, Rev. 35-4 Freescale Semiconductor5.2.3.1 Precise FaultsThe MMU architecture performs virtual-to-physical address translation

Pagina 114 - 3.3.4 FPU Programming Model

Virtual Memory Management Architecture MCF548x Reference Manual, Rev. 3Freescale Semiconductor 5-5more bits than the in-page address, one or more of

Pagina 115 - Programming Model

MCF548x Reference Manual, Rev. 35-6 Freescale Semiconductor5.2.3.10 ACR Address ImprovementsACRs provide a 16-Mbyte address window. For a given reques

Pagina 116 - 3.3.5.1 Status Register (SR)

Debugging in a Virtual Environment MCF548x Reference Manual, Rev. 3Freescale Semiconductor 5-75.2.3.11 Supervisor ProtectionEach instruction or data

Pagina 117 - 3.3.6 Programming Model Table

MCF548x Reference Manual, Rev. 35-8 Freescale SemiconductorIn addition, the following two privileged M68000 family instructions to load/store the USP

Pagina 118

MMU Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 5-95.5 MMU DefinitionThe ColdFire MMU provides a virtual address, demand-paged

Pagina 119 - 3.4 Data Format Summary

MCF548x Reference Manual, Rev. 35-10 Freescale Semiconductor• If virtual mode is enabled, any normal mode access that does not hit in the MMUBAR, RAMB

Pagina 120

MMU Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 5-115.5.3.2 MMU Memory MapMMUBAR holds the base address for the 64-Kbyte MMU m

Pagina 121 - Data Format Summary

MCF548x Reference Manual, Rev. 35-12 Freescale SemiconductorTable 5-5 describes MMUCR fields. 5.5.3.4 MMU Operation Register (MMUOR)Figure 5-5 shows t

Pagina 122 - 3.5 Addressing Mode Summary

MMU Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 5-13Table 5-6 describes MMUOR fields.31 30 29 28 27 26 25 24 23 22 21 20 19 18

Pagina 123 - 3.6 Instruction Set Summary

MCF548x Reference Manual, Rev. 3xviii Freescale SemiconductorContentsParagraphNumberTitlePageNumber15.4 Functional Description ...

Pagina 124

MCF548x Reference Manual, Rev. 35-14 Freescale Semiconductor5.5.3.5 MMU Status Register (MMUSR)MMUSR, Figure 5-6, is updated on all data access faults

Pagina 125 - Instruction Set Summary

MMU Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 5-155.5.3.6 MMU Fault, Test, or TLB Address Register (MMUAR)The MMUAR format,

Pagina 126 - 3.6.2 Instruction Set Summary

MCF548x Reference Manual, Rev. 35-16 Freescale Semiconductor5.5.3.7 MMU Read/Write Tag and Data Entry Registers (MMUTR and MMUDR)Each TLB entry consis

Pagina 127

MMU Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 5-17MMUDR, Figure 5-9, contains the physical address, page size, cache mode fi

Pagina 128

MCF548x Reference Manual, Rev. 35-18 Freescale Semiconductor5.5.4 MMU TLBEach TLB entry consists of two 32-bit fields. The first is the TLB tag entry,

Pagina 129

MMU Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 5-195.5.5 MMU OperationThe processor sends instruction fetch requests and data

Pagina 130

MCF548x Reference Manual, Rev. 35-20 Freescale SemiconductorFigure 5-10 shows more details of the MMU structure. The TLB is accessed at the beginning

Pagina 131

MMU Implementation MCF548x Reference Manual, Rev. 3Freescale Semiconductor 5-21When MMUAR is used for a TLB address, bits FA[5–0] also have this addr

Pagina 132

MCF548x Reference Manual, Rev. 35-22 Freescale SemiconductorBinary state bits are updated on all TLB write (load) operations, as well as normal ITLB a

Pagina 133

MMU Instructions MCF548x Reference Manual, Rev. 3Freescale Semiconductor 5-23Figure 5-11. Version 4 ColdFire MMU Harvard TLB 5.7 MMU InstructionsThe

Pagina 134

MCF548x Reference Manual, Rev. 3Freescale Semiconductor xixContentsParagraphNumberTitlePageNumber17.5.1.2 Global Chip-Select Operation ...

Pagina 135

MCF548x Reference Manual, Rev. 35-24 Freescale Semiconductor

Pagina 136

MCF548x Reference Manual, Rev. 3Freescale Semiconductor 6-1Chapter 6 Floating-Point Unit (FPU)6.1 IntroductionThis chapter describes instructions imp

Pagina 137

MCF548x Reference Manual, Rev. 36-2 Freescale SemiconductorTable 6-2 describes addressing modes and syntax for floating-point instructions.& Logic

Pagina 138 - (EMAC) execute engine

Operand Data Formats and Types MCF548x Reference Manual, Rev. 3Freescale Semiconductor 6-36.2 Operand Data Formats and TypesThe FPU supports signed b

Pagina 139

MCF548x Reference Manual, Rev. 36-4 Freescale Semiconductoryields a signed, two’s complement power of two. This represents the magnitude of a normaliz

Pagina 140

Operand Data Formats and Types MCF548x Reference Manual, Rev. 3Freescale Semiconductor 6-56.2.3.4 Not-A-NumberWhen created by the FPU, NANs represent

Pagina 141

MCF548x Reference Manual, Rev. 36-6 Freescale SemiconductorBiased exponent (e) 8 11Fraction (f) 23 52Tota l 32 64Interpretation of SignPositive fracti

Pagina 142 - 31 28 27 26 25 18 17 16 15 0

Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 6-76.3 Register DefinitionThe programmer’s model for the FPU consists of

Pagina 143 - 3.8.2 Processor Exceptions

MCF548x Reference Manual, Rev. 36-8 Freescale SemiconductorThe user can read or write to FPCR using FMOVE or FRESTORE. A processor reset or a restore

Pagina 144 - Privilege

Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 6-96.3.3 Floating-Point Status Register (FPSR) The FPSR, Figure 6-10, con

Pagina 145

How to Reach Us:Home Page:www.freescale.comE-mail:[email protected]/Europe or Locations Not Listed:Freescale SemiconductorTechnical Information

Pagina 146 - 3.9 Precise Faults

MCF548x Reference Manual, Rev. 3xx Freescale SemiconductorContentsParagraphNumberTitlePageNumber18.3.13 SDR SDRAM Data Strobe (SDRDQS) ...

Pagina 147 - Freescale Semiconductor 3-43

MCF548x Reference Manual, Rev. 36-10 Freescale SemiconductorFor AEXC[OVFL], AEXC[DZ], and AEXC[INEX], the next value is determined by ORing the curren

Pagina 148 - 3-44 Freescale Semiconductor

Floating-Point Computational Accuracy MCF548x Reference Manual, Rev. 3Freescale Semiconductor 6-11For FPU instructions that can generate exception tr

Pagina 149 - Chapter 4

MCF548x Reference Manual, Rev. 36-12 Freescale Semiconductordouble-precision format. If the destination is a memory location or an integer data regist

Pagina 150 - =k()yi k–() b

Floating-Point Computational Accuracy MCF548x Reference Manual, Rev. 3Freescale Semiconductor 6-13Figure 6-12. Rounding Algorithm FlowchartThe 3 addi

Pagina 151 - Introduction

MCF548x Reference Manual, Rev. 36-14 Freescale SemiconductorThe lsb of the rounded result does not increment even though the guard bit is set in the i

Pagina 152

Floating-Point Post-Processing MCF548x Reference Manual, Rev. 3Freescale Semiconductor 6-15rounding precision and mode. After rounding, the inexact b

Pagina 153 - Figure 4-6. EMAC Register Set

MCF548x Reference Manual, Rev. 36-16 Freescale Semiconductorunordered condition is present when the conditional test is attempted (IEEE nonaware tests

Pagina 154

Floating-Point Exceptions MCF548x Reference Manual, Rev. 3Freescale Semiconductor 6-176.6 Floating-Point ExceptionsThis section describes floating-po

Pagina 155

MCF548x Reference Manual, Rev. 36-18 Freescale SemiconductorIn addition to these vectors, attempting to execute a FRESTORE instruction with a unsuppor

Pagina 156

Floating-Point Exceptions MCF548x Reference Manual, Rev. 3Freescale Semiconductor 6-19A floating-point arithmetic exception becomes pending when the

Pagina 157

MCF548x Reference Manual, Rev. 3Freescale Semiconductor xxiContentsParagraphNumberTitlePageNumber18.8.9 Perform Two Refresh Cycles ...

Pagina 158 - 4.2.2 Mask Register (MASK)

MCF548x Reference Manual, Rev. 36-20 Freescale Semiconductor6.6.1.2 Input Not-A-Number (INAN)The INAN exception is a mechanism for handling a user-def

Pagina 159

Floating-Point Exceptions MCF548x Reference Manual, Rev. 3Freescale Semiconductor 6-216.6.1.4 Operand Error (OPERR)The operand error exception encomp

Pagina 160 - 4.3.2 Data Representation

MCF548x Reference Manual, Rev. 36-22 Freescale Semiconductor6.6.1.6 Underflow (UNFL)An underflow exception occurs when the intermediate result of an a

Pagina 161 - 4.3.3 EMAC Opcodes

Floating-Point Exceptions MCF548x Reference Manual, Rev. 3Freescale Semiconductor 6-236.6.1.8 Inexact Result (INEX)An INEX exception condition exists

Pagina 162

MCF548x Reference Manual, Rev. 36-24 Freescale SemiconductorNote that if no intervention is needed, instead of FSAVE, the handler can simply clear the

Pagina 163

Instructions MCF548x Reference Manual, Rev. 3Freescale Semiconductor 6-25Normally, an exception handler executes FSAVE, processes the exception, clea

Pagina 164

MCF548x Reference Manual, Rev. 36-26 Freescale SemiconductorTable 6-24 defines the terminology used in Table 6-23. FMOVE 1111001000 ea modeea reg 0 r/

Pagina 165

Instructions MCF548x Reference Manual, Rev. 3Freescale Semiconductor 6-276.7.2 Floating-Point Instruction Execution TimingTable 6-25 shows the ColdFi

Pagina 166 - 4-18 Freescale Semiconductor

MCF548x Reference Manual, Rev. 36-28 Freescale SemiconductorThe ColdFire architecture supports concurrent execution of integer and floating-point inst

Pagina 167 - Memory Management Unit (MMU)

Instructions MCF548x Reference Manual, Rev. 3Freescale Semiconductor 6-29Some differences affect function activation and return. M68000 subroutines t

Pagina 168 - 5-2 Freescale Semiconductor

MCF548x Reference Manual, Rev. 3xxii Freescale SemiconductorContentsParagraphNumberTitlePageNumber19.3.2.2 Target Base Address Translation Register 0

Pagina 169

MCF548x Reference Manual, Rev. 36-30 Freescale Semiconductorvalues be moved into a table of constants that can be referenced using PC-relative address

Pagina 170 - 5.2.3.3 Virtual Mode

MCF548x Reference Manual, Rev. 3Freescale Semiconductor 7-1Chapter 7 Local Memory This chapter describes the MCF548x implementation of the ColdFire V

Pagina 171 - Freescale Semiconductor 5-5

MCF548x Reference Manual, Rev. 37-2 Freescale Semiconductor• Physical location on the processor’s high-speed local bus with a user-programmed connecti

Pagina 172

SRAM Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 7-3 RAMBARn fields are described in detail in Table 7-1.31 30 29 28

Pagina 173 - 5.4.1 Precise Faults

MCF548x Reference Manual, Rev. 37-4 Freescale SemiconductorThe mapping of a given access into the SRAM uses the following algorithm to determine if th

Pagina 174

SRAM Initialization MCF548x Reference Manual, Rev. 3Freescale Semiconductor 7-53. After the data is loaded into the SRAM, it may be appropriate to re

Pagina 175 - 5.5 MMU Definition

MCF548x Reference Manual, Rev. 37-6 Freescale Semiconductor; +20 destinationOffset; +24 bytesToMovemove.l RAMBASE+RAMFLAGS,a0 ;define RAMBAR0 conten

Pagina 176 - 5.5.3 MMU Organization

Cache Organization MCF548x Reference Manual, Rev. 3Freescale Semiconductor 7-7The MCF548x processor’s Harvard memory structure includes a 32-Kbyte da

Pagina 177 - 5.5.3.2 MMU Memory Map

MCF548x Reference Manual, Rev. 37-8 Freescale SemiconductorFigure 7-3. Data Cache Organization and Line FormatA set is a group of four lines (one from

Pagina 178 - Figure 5-5 shows the MMUOR

Cache Organization MCF548x Reference Manual, Rev. 3Freescale Semiconductor 7-9Figure 7-4. Data Cache—A: at Reset, B: after Invalidation, C and D: Loa

Pagina 179 - MMU Definition

MCF548x Reference Manual, Rev. 3Freescale Semiconductor xxiiiContentsParagraphNumberTitlePageNumber19.4.6.6 PCI Commands ...

Pagina 180

MCF548x Reference Manual, Rev. 37-10 Freescale Semiconductor7.9 Cache OperationFigure 7-5 shows the general flow of a caching operation using the 32-K

Pagina 181

Cache Operation MCF548x Reference Manual, Rev. 3Freescale Semiconductor 7-11pseudo-round-robin replacement algorithm to choose the line to be dealloc

Pagina 182

MCF548x Reference Manual, Rev. 37-12 Freescale SemiconductorValid cache entries that match during cache-inhibited address accesses are neither pushed

Pagina 183

Cache Operation MCF548x Reference Manual, Rev. 3Freescale Semiconductor 7-137.9.1.1.2 Copyback Mode (Data Cache Only)Copyback regions are typically u

Pagina 184 - 5.5.4 MMU TLB

MCF548x Reference Manual, Rev. 37-14 Freescale Semiconductoran exception aborts the instruction and the data may be accessed again when the instructio

Pagina 185 - 5.5.5 MMU Operation

Cache Operation MCF548x Reference Manual, Rev. 3Freescale Semiconductor 7-157.9.2.3 Read HitOn a read hit, the cache provides the data to the process

Pagina 186 - 5.6 MMU Implementation

MCF548x Reference Manual, Rev. 37-16 Freescale Semiconductor7.9.4.2 Cache PushesCache pushes occur for line replacement and as required for the execut

Pagina 187 - Table 5-13. PLRU State Bits

Cache Operation MCF548x Reference Manual, Rev. 3Freescale Semiconductor 7-177.9.5 Cache LockingWays 0 and 1 of the data cache can be locked by settin

Pagina 188 - 5.6.3 TLB Locked Entries

MCF548x Reference Manual, Rev. 37-18 Freescale SemiconductorFigure 7-7. Data Cache LockingA: Ways 0 and 1 are filled. Ways 2 and 3 are invalid.B: CACR

Pagina 189 - 5.7 MMU Instructions

Cache Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 7-197.10 Cache Register DefinitionThis section describes the MCF548

Pagina 190 - 5-24 Freescale Semiconductor

MCF548x Reference Manual, Rev. 3xxiv Freescale SemiconductorContentsParagraphNumberTitlePageNumber20.6 Interrupts ...

Pagina 191 - Floating-Point Unit (FPU)

MCF548x Reference Manual, Rev. 37-20 Freescale Semiconductor28 DDPI Disable CPUSHL invalidation.0 Normal operation. A CPUSHL instruction causes the se

Pagina 192

Cache Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 7-2113 DNFB Default cache-inhibited fill buffer0 Fill buffer does n

Pagina 193 - Figure 6-2. Mantissa

MCF548x Reference Manual, Rev. 37-22 Freescale Semiconductor7.10.2 Access Control Registers (ACR0–ACR3)The ACRs, Figure 7-9, assign control attributes

Pagina 194 - 6.2.3.3 Infinities

Cache Management MCF548x Reference Manual, Rev. 3Freescale Semiconductor 7-237.11 Cache ManagementThe cache can be enabled and configured by using a

Pagina 195 - 6362 52 51 0

MCF548x Reference Manual, Rev. 37-24 Freescale SemiconductorThe contents of An used with CPUSHL specify cache row and line indexes. This differs from

Pagina 196

Cache Management MCF548x Reference Manual, Rev. 3Freescale Semiconductor 7-25dataCacheLoadAndLock:move.l #0xa3080800,d0; enable and invalidate data c

Pagina 197 - 6.3 Register Definition

MCF548x Reference Manual, Rev. 37-26 Freescale Semiconductor7.12 Cache Operation SummaryThis section gives operational details for the cache and prese

Pagina 198

Cache Operation Summary MCF548x Reference Manual, Rev. 3Freescale Semiconductor 7-277.12.2 Data Cache State TransitionsUsing the V and M bits, the da

Pagina 199 - Register Definition

MCF548x Reference Manual, Rev. 37-28 Freescale Semiconductor The following tables present the same information as Table 7-7, organized by the current

Pagina 200

Cache Operation Summary MCF548x Reference Manual, Rev. 3Freescale Semiconductor 7-29In Table 7-9 the current state is valid.Table 7-8. Data Cache Lin

Pagina 201 - 6.4.1 Intermediate Result

MCF548x Reference Manual, Rev. 3Freescale Semiconductor xxvContentsParagraphNumberTitlePageNumber21.4.7 CAN Protocol Related Frames ...

Pagina 202 - 6.4.2 Rounding the Result

MCF548x Reference Manual, Rev. 37-30 Freescale SemiconductorIn Table 7-10 the current state is modified.7.13 Cache Initialization CodeThe following ex

Pagina 203 - Freescale Semiconductor 6-13

MCF548x Reference Manual, Rev. 3Freescale Semiconductor 8-1Chapter 8 Debug Support8.1 IntroductionThis chapter describes the Revision D enhanced hard

Pagina 204 - Table 6-6. Tie-Case Example

MCF548x Reference Manual, Rev. 38-2 Freescale Semiconductorgenerations of ColdFire cores. For Revision A, CSR[HRL] is 0. See Section 8.4.2, “Configura

Pagina 205 - 6.5.2 Conditional Testing

Signal Descriptions MCF548x Reference Manual, Rev. 3Freescale Semiconductor 8-3Figure 8-2 shows PSTCLK timing with respect to PSTDDATA.Figure 8-2. PS

Pagina 206

MCF548x Reference Manual, Rev. 38-4 Freescale Semiconductoroutput for the processor’s sequential execution of single-cycle instructions (A, B, C, D...

Pagina 207 - 6.6 Floating-Point Exceptions

Real-Time Trace Support MCF548x Reference Manual, Rev. 3Freescale Semiconductor 8-5NOTEA PST marker and its data display are sent contiguously. Excep

Pagina 208 - Program Counter Assignment

MCF548x Reference Manual, Rev. 38-6 Freescale Semiconductor8.3.1 Begin Execution of Taken Branch (PST = 0x5)PST is 0x5 when a taken branch is executed

Pagina 209 - Freescale Semiconductor 6-19

Real-Time Trace Support MCF548x Reference Manual, Rev. 3Freescale Semiconductor 8-7The simplest example of a branch instruction using a variant addre

Pagina 210

MCF548x Reference Manual, Rev. 38-8 Freescale Semiconductor8.3.3 Processor Halted (PST = 0xF)PST is 0xF when the processor is halted (see Section 8.5.

Pagina 211 - 6.6.1.5 Overflow (OVFL)

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 8-98.4 Memory Map/Register DefinitionIn addition to the existi

Pagina 212 - 6.6.1.7 Divide-by-Zero (DZ)

MCF548x Reference Manual, Rev. 3xxvi Freescale SemiconductorContentsParagraphNumberTitlePageNumber22.6.4.8 Master Error Address Register (MEAR) ...

Pagina 213 - 6.6.1.8 Inexact Result (INEX)

MCF548x Reference Manual, Rev. 38-10 Freescale SemiconductorThe registers in Table 8-7 are accessed through the BDM port by BDM commands, WDMREG and R

Pagina 214 - 31 24 23 19 18 16 15 0

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 8-11to guarantee that all accesses to these resources are seri

Pagina 215 - 6.7 Instructions

MCF548x Reference Manual, Rev. 38-12 Freescale SemiconductorTable 8-8 describes CSR fields. 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16R BSTAT FOF

Pagina 216

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 8-1318 BKD Breakpoint disable. Used to disable the normal BKPT

Pagina 217 - Instructions

MCF548x Reference Manual, Rev. 38-14 Freescale Semiconductor8.4.3 PC Breakpoint ASID Control Register (PBAC)The PBAC configures the breakpoint qualifi

Pagina 218 - (Continued)

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 8-15qualification. Reset clears these fields, disabling qualif

Pagina 219

MCF548x Reference Manual, Rev. 38-16 Freescale Semiconductor8.4.5 Address Attribute Trigger Registers (AATR, AATR1)The AATR and AATR1, Figure 8-9, def

Pagina 220

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 8-178.4.6 Trigger Definition Register (TDR)The TDR, shown in T

Pagina 221 - Local Memory

MCF548x Reference Manual, Rev. 38-18 Freescale Semiconductortaken under the defined conditions. Breakpoint logic may be configured as one- or two-leve

Pagina 222 - 7.3 SRAM Operation

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 8-1928 EDLW2 Data enable bit: Data longword. Entire processor’

Pagina 223 - SRAM Register Definition

MCF548x Reference Manual, Rev. 3Freescale Semiconductor xxviiContentsParagraphNumberTitlePageNumber22.13.1.2 Descriptor Length and Pointer Fields ...

Pagina 224 - 7.5 SRAM Initialization

MCF548x Reference Manual, Rev. 38-20 Freescale Semiconductor8.4.7 Program Counter Breakpoint and Mask Registers (PBRn, PBMR)Each PC breakpoint registe

Pagina 225 - SRAM Initialization

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 8-21Figure 8-12 shows PBMR. PBMR is accessible in supervisor m

Pagina 226 - 7.7 Cache Overview

MCF548x Reference Manual, Rev. 38-22 Freescale SemiconductorTable 8-15 describes ABLR and ABLR1 fields. Table 8-16 describes ABHR and ABHR1 fields.8.4

Pagina 227 - 7.8 Cache Organization

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 8-23Table 8-17 describes DBRn fields.DBMR and DBMR1 are access

Pagina 228 - 7.8.2 The Cache at Start-Up

MCF548x Reference Manual, Rev. 38-24 Freescale SemiconductorDBRs support both aligned and misaligned references. Table 8-19 shows relationships betwee

Pagina 229 - Cache Organization

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 8-258.4.11 Extended Trigger Definition Register (XTDR)The XTDR

Pagina 230 - 7.9 Cache Operation

MCF548x Reference Manual, Rev. 38-26 Freescale SemiconductorTable 8-21 describes XTDR fields.Table 8-21. XTDR Field DescriptionsBits Name Description3

Pagina 231 - Freescale Semiconductor 7-11

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 8-278.4.11.1 Resulting Set of Possible Trigger CombinationsThe

Pagina 232 - 7.9.1 Caching Modes

MCF548x Reference Manual, Rev. 38-28 Freescale Semiconductorthen if (PC_breakpoint|| Address1_breakpoint{&& Data1_breakpoint})if (Address1_bre

Pagina 233 - Freescale Semiconductor 7-13

Background Debug Mode (BDM) MCF548x Reference Manual, Rev. 3Freescale Semiconductor 8-294. The assertion of the BKPT input is treated as a pseudo-int

Pagina 234 - 7.9.2 Cache Protocol

MCF548x Reference Manual, Rev. 3xxviii Freescale SemiconductorContentsParagraphNumberTitlePageNumber23.2.1.3 Test Mode Select/Breakpoint (TMS/BKPT) ..

Pagina 235 - 7.9.4.1 Cache Filling

MCF548x Reference Manual, Rev. 38-30 Freescale Semiconductor8.5.2 BDM Serial InterfaceWhen the CPU is halted and PSTDDATA reflects the halt status, th

Pagina 236 - 7.9.4.2 Cache Pushes

Background Debug Mode (BDM) MCF548x Reference Manual, Rev. 3Freescale Semiconductor 8-31.Table 8-22 describes receive BDM packet fields. 8.5.2.2 Tran

Pagina 237 - 7.9.5 Cache Locking

MCF548x Reference Manual, Rev. 38-32 Freescale SemiconductorUnassigned command opcodes are reserved by Freescale. All unused command formats within an

Pagina 238

Background Debug Mode (BDM) MCF548x Reference Manual, Rev. 3Freescale Semiconductor 8-338.5.3.1 ColdFire BDM Command FormatAll ColdFire Family BDM co

Pagina 239 - Cache Register Definition

MCF548x Reference Manual, Rev. 38-34 Freescale Semiconductorsends to the debug module; the bottom half indicates the debug module’s response to the pr

Pagina 240

Background Debug Mode (BDM) MCF548x Reference Manual, Rev. 3Freescale Semiconductor 8-358.5.3.3 Command Set DescriptionsThe following sections descri

Pagina 241

MCF548x Reference Manual, Rev. 38-36 Freescale SemiconductorCommand Format:Command SequenceFigure 8-26. WAREG/WDREG Command SequenceOperand Data Longw

Pagina 242

Background Debug Mode (BDM) MCF548x Reference Manual, Rev. 3Freescale Semiconductor 8-37Command Sequence:Figure 8-28. READ Command SequenceOperand Da

Pagina 243 - 7.11 Cache Management

MCF548x Reference Manual, Rev. 38-38 Freescale SemiconductorResult Data Word results return 16 bits of data; longword results return 32. Bytes are ret

Pagina 244 - 31 13 12 4 3 0

Background Debug Mode (BDM) MCF548x Reference Manual, Rev. 3Freescale Semiconductor 8-39Command Sequence:Figure 8-30. WRITE Command SequenceOperand D

Pagina 245 - Cache Management

MCF548x Reference Manual, Rev. 3Freescale Semiconductor xxixContentsParagraphNumberTitlePageNumber24.2.1 DREQ[1:0] ...

Pagina 246 - 7.12 Cache Operation Summary

MCF548x Reference Manual, Rev. 38-40 Freescale SemiconductorNOTEDUMP does not check for a valid address; it is a valid command only whenpreceded by NO

Pagina 247 - Freescale Semiconductor 7-27

Background Debug Mode (BDM) MCF548x Reference Manual, Rev. 3Freescale Semiconductor 8-41Result Data: Requested data is returned as either a word or l

Pagina 248

MCF548x Reference Manual, Rev. 38-42 Freescale SemiconductorCommand Sequence:Figure 8-34. FILL Command SequenceOperand Data: A single operand is data

Pagina 249 - Cache Operation Summary

Background Debug Mode (BDM) MCF548x Reference Manual, Rev. 3Freescale Semiconductor 8-43Result Data: The command-complete response (0xFFFF) is return

Pagina 250

MCF548x Reference Manual, Rev. 38-44 Freescale SemiconductorCommand Sequence:Figure 8-40. SYNC_PC Command SequenceOperand Data: NoneResult Data: Comma

Pagina 251 - Debug Support

Background Debug Mode (BDM) MCF548x Reference Manual, Rev. 3Freescale Semiconductor 8-45Figure 8-42. FORCE_TA Command SequenceOperand Data: NoneResu

Pagina 252 - 8.2 Signal Descriptions

MCF548x Reference Manual, Rev. 38-46 Freescale SemiconductorTable 8-26. ColdFire CPU Control Register MapName CPU Space (Rc) Register NameMemory Mana

Pagina 253 - Figure 8-2. PSTCLK Timing

Background Debug Mode (BDM) MCF548x Reference Manual, Rev. 3Freescale Semiconductor 8-478.5.3.3.12 BDM Accesses of the Stack Pointer Registers (A7: S

Pagina 254

MCF548x Reference Manual, Rev. 38-48 Freescale SemiconductorLikewise, to write an accumulator register, the following BDM sequence is needed:BdmWriteA

Pagina 255 - 8.3 Real-Time Trace Support

Background Debug Mode (BDM) MCF548x Reference Manual, Rev. 3Freescale Semiconductor 8-49Command Sequence:Figure 8-46. WCREG Command SequenceOperand D

Pagina 256

OverviewSignal DescriptionsColdFire CoreEnhanced Multiply-Accumulate Unit (EMAC)Memory Management Unit (MMU)Floating-Point Unit (FPU)Debug SupportSyst

Pagina 257 - Real-Time Trace Support

MCF548x Reference Manual, Rev. 3xxx Freescale SemiconductorContentsParagraphNumberTitlePageNumber24.4.8.1 LURC Features ...

Pagina 258 - Table 8-5. 0xE Status Posting

MCF548x Reference Manual, Rev. 38-50 Freescale SemiconductorTable 8-27 shows the definition of DRc encoding.Command Sequence:Figure 8-48. RDMREG Comma

Pagina 259

Real-Time Debug Support MCF548x Reference Manual, Rev. 3Freescale Semiconductor 8-51Figure 8-50. WDMREG Command SequenceOperand Data: Longword data i

Pagina 260 - WDMREG and RDMREG

MCF548x Reference Manual, Rev. 38-52 Freescale SemiconductorBDM instructions use the appropriate registers to load and configure breakpoints. As the s

Pagina 261

Real-Time Debug Support MCF548x Reference Manual, Rev. 3Freescale Semiconductor 8-534. It executes an RTE instruction when the exception handler fini

Pagina 262 - GO command clear BKPT

MCF548x Reference Manual, Rev. 38-54 Freescale Semiconductor• Read/write control registersFor BDM commands that access memory, the debug module reques

Pagina 263

Debug C Definition of PSTDDATA Outputs MCF548x Reference Manual, Rev. 3Freescale Semiconductor 8-55andi.l #<data>,Dx PSTDDATA = 0x1asl.l {Dy,#&

Pagina 264

MCF548x Reference Manual, Rev. 38-56 Freescale Semiconductorextb.l Dx PSTDDATA = 0x1illegal PSTDDATA = 0x11jmp <ea>y PSTDDATA = 0x5, {[0x9AB], t

Pagina 265

Debug C Definition of PSTDDATA Outputs MCF548x Reference Manual, Rev. 3Freescale Semiconductor 8-57ori.l #<data>,Dx PSTDDATA = 0x1pea.l <ea&

Pagina 266 - WDMREG command

MCF548x Reference Manual, Rev. 38-58 Freescale SemiconductorTable 8-31 shows the PSTDDATA specification for multiply-accumulate instructions.1During n

Pagina 267

Debug C Definition of PSTDDATA Outputs MCF548x Reference Manual, Rev. 3Freescale Semiconductor 8-59Table 8-32 shows the PSTDDATA specification for fl

Pagina 268

MCF548x Reference Manual, Rev. 3Freescale Semiconductor xxxiContentsParagraphNumberTitlePageNumber26.1.1 Block Diagram ...

Pagina 269

MCF548x Reference Manual, Rev. 38-60 Freescale SemiconductorDepending on the size of any external memory operand specified by the f<op>.fmt fiel

Pagina 270 - 1514131211109876543210

ColdFire Debug History MCF548x Reference Manual, Rev. 3Freescale Semiconductor 8-61The move-to-SR and RTE instructions include an optional PSTDDATA =

Pagina 271

MCF548x Reference Manual, Rev. 38-62 Freescale SemiconductorThe data_breakpoint can be included as an optional part of an address breakpoint.The ColdF

Pagina 272 - RDMREG and WDMREG commands

Freescale-Recommended BDM Pinout MCF548x Reference Manual, Rev. 3Freescale Semiconductor 8-63Additionally, the execution of the debug interrupt servi

Pagina 273

MCF548x Reference Manual, Rev. 38-64 Freescale SemiconductorFigure 8-51. Recommended BDM Connector1357911131517192123252468101214161820222426Developer

Pagina 274

MCF548x Reference Manual, Rev. 3Freescale Semiconductor iPart IISystem Integration UnitPart II describes the system integration unit, which provides o

Pagina 275

MCF548x Reference Manual, Rev. 3ii Freescale Semiconductor

Pagina 276

MCF548x Reference Manual, Rev. 3Freescale Semiconductor 9-1Chapter 9 System Integration Unit (SIU)9.1 IntroductionThe system integration unit (SIU) o

Pagina 277

MCF548x Reference Manual, Rev. 39-2 Freescale Semiconductor9.3.1 Module Base Address Register (MBAR)The supervisor-level MBAR, Figure 9-1, specifies t

Pagina 278 - 8.5.1 CPU Halt

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 9-39.3.1.1 System Breakpoint Control Register (SBCR)The System

Pagina 279 - GO command clears CSR[26–24]

MCF548x Reference Manual, Rev. 3xxxii Freescale SemiconductorContentsParagraphNumberTitlePageNumber26.3.3.28 Rx and Tx FIFO Last Read Frame Pointer (P

Pagina 280 - 8.5.2 BDM Serial Interface

MCF548x Reference Manual, Rev. 39-4 Freescale Semiconductor9.3.1.2 SEC Sequential Access Control Register (SECSACR)This register is used to control b

Pagina 281 - 8.5.3 BDM Command Set

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 9-59.3.1.3 Reset Status Register (RSR)RSR allows the software,

Pagina 282

MCF548x Reference Manual, Rev. 39-6 Freescale SemiconductorTable 9-5. JTAGID Field DescriptionsBits Name Description31–0 JTAGID The JTAG Identificati

Pagina 283 - Background Debug Mode (BDM)

MCF548x Reference Manual, Rev. 3Freescale Semiconductor 10-1Chapter 10 Internal Clocks and Bus Architecture10.1 IntroductionThis chapter describes th

Pagina 284 - 8-34 Freescale Semiconductor

MCF548x Reference Manual, Rev. 310-2 Freescale Semiconductor10.1.2 Clocking OverviewThe MCF548x requires a clock generated externally to be input to t

Pagina 285 - /RDREG Command Format

Introduction MCF548x Reference Manual, Rev. 3Freescale Semiconductor 10-3• CommBus — The data transfer interface between the multichannel DMA and eac

Pagina 286 - /WDREG Command Format

MCF548x Reference Manual, Rev. 310-4 Freescale SemiconductorFigure 10-3. Address and Data TenuresThe following outlines the basic functions of each of

Pagina 287 - Command Sequence:

PLL MCF548x Reference Manual, Rev. 3Freescale Semiconductor 10-510.2 PLL10.2.1 PLL Memory Map/Register Descriptions 10.2.2 System PLL Control Registe

Pagina 288 - WRITE Command Format

MCF548x Reference Manual, Rev. 310-6 Freescale Semiconductor10.3 XL Bus ArbiterThe XL bus arbiter handles bus arbitration between XL bus masters.10.3.

Pagina 289 - WRITE Command Sequence

XL Bus Arbiter MCF548x Reference Manual, Rev. 3Freescale Semiconductor 10-7algorithm (LRU). Once a requesting master is identified as having priority

Pagina 290 - 15 12 11 8 7 4 3 0

MCF548x Reference Manual, Rev. 3Freescale Semiconductor xxxiiiContentsParagraphNumberTitlePageNumber26.7.2.5 SIR Mode ...

Pagina 291 - FILL Command Format

MCF548x Reference Manual, Rev. 310-8 Freescale Semiconductor10.3.2.3 Watchdog Functions10.3.2.3.1 Timer FunctionsThere are three watchdog timers: addr

Pagina 292 - 0x0 0xC 0x0 0x0

XL Bus Arbiter MCF548x Reference Manual, Rev. 3Freescale Semiconductor 10-910.3.3.1 Arbiter Configuration Register (XARB_CFG)The arbiter configuratio

Pagina 293 - 0x00x00x00x0

MCF548x Reference Manual, Rev. 310-10 Freescale Semiconductor10.3.3.2 Arbiter Version Register (XARB_VER)4 — Reserved, should be cleared.3 BA Bus Acti

Pagina 294 - “CMD COMPLETE”

XL Bus Arbiter MCF548x Reference Manual, Rev. 3Freescale Semiconductor 10-1110.3.3.3 Arbiter Status Register (XARB_SR)The arbiter status register ind

Pagina 295 - FORCE_TA

MCF548x Reference Manual, Rev. 310-12 Freescale Semiconductorto determine the state of the arbiter. It is possible that multiple conditions exist that

Pagina 296

XL Bus Arbiter MCF548x Reference Manual, Rev. 3Freescale Semiconductor 10-1310.3.3.5 Arbiter Address Capture Register (XARB_ADRCAP)The arbiter addres

Pagina 297

MCF548x Reference Manual, Rev. 310-14 Freescale Semiconductor10.3.3.7 Arbiter Address Tenure Time Out Register (XARB_ADRTO)31 30 29 28 27 26 25 24 23

Pagina 298

XL Bus Arbiter MCF548x Reference Manual, Rev. 3Freescale Semiconductor 10-1510.3.3.8 Arbiter Data Tenure Time Out Register (XARB_DATTO)Table 10-11. X

Pagina 299

MCF548x Reference Manual, Rev. 310-16 Freescale Semiconductor10.3.3.9 Arbiter Bus Activity Time Out Register (XARB_BUSTO)10.3.3.10 Arbiter Master Prio

Pagina 300 - 15 12 11 8 7 5 4 0

XL Bus Arbiter MCF548x Reference Manual, Rev. 3Freescale Semiconductor 10-17When enabled, the software programmable value in the arbiter master prior

Pagina 301 - 8.6 Real-Time Debug Support

MCF548x Reference Manual, Rev. 3xxxiv Freescale SemiconductorContentsParagraphNumberTitlePageNumber27.7.2.4 Tx FIFO Buffering Mechanism ...

Pagina 302 - 8-52 Freescale Semiconductor

MCF548x Reference Manual, Rev. 310-18 Freescale SemiconductorTable 10-16. XARB_PRI Field DescriptionsBits Name Description31–15 — Reserved, should be

Pagina 303 - 8.6.1.1 Emulator Mode

MCF548x Reference Manual, Rev. 3Freescale Semiconductor 11-1Chapter 11 General Purpose Timers (GPT)11.1 IntroductionThis chapter describes the operat

Pagina 304 - 8.7.1 User Instruction Set

MCF548x Reference Manual, Rev. 311-2 Freescale Semiconductor6. Watchdog Timer—This is a special CPU timer mode, available only on GPT0. The user must

Pagina 305

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 11-311.3.1 GPT Enable and Mode Select Register (GMSn)31 30 29

Pagina 306

MCF548x Reference Manual, Rev. 311-4 Freescale Semiconductor15 WDEN Watchdog enable. Enables watchdog operation. A timer expiration causes an internal

Pagina 307

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 11-511.3.2 GPT Counter Input Register (GCIRn)8 IEN Interrupt e

Pagina 308

MCF548x Reference Manual, Rev. 311-6 Freescale Semiconductor11.3.3 GPT PWM Configuration Register (GPWMn)Table 11-3. GCIRn Field DescriptionsBits Name

Pagina 309

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 11-711.3.4 GPT Status Register (GSRn)7–1 — Reserved. Should be

Pagina 310

MCF548x Reference Manual, Rev. 311-8 Freescale Semiconductor11.4 Functional Description11.4.1 Timer Configuration MethodUse the following method to co

Pagina 311 - 8.8 ColdFire Debug History

MCF548x Reference Manual, Rev. 3Freescale Semiconductor 12-1Chapter 12 Slice Timers (SLT)12.1 IntroductionThis chapter explains the operation of the

Pagina 312 - 8-62 Freescale Semiconductor

MCF548x Reference Manual, Rev. 3Freescale Semiconductor xxxvContentsParagraphNumberTitlePageNumber28.3.2.1 I2C Address Register (I2ADR) ...

Pagina 313 - Freescale Semiconductor 8-63

MCF548x Reference Manual, Rev. 312-2 Freescale Semiconductor12.2.1 SLT Terminal Count Register (STCNTn)12.2.2 SLT Control Register (SCRn)31 30 29 28 2

Pagina 314

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 12-312.2.3 SLT Timer Count Register (SCNTn)Table 12-3. SCRn Fi

Pagina 315 - System Integration Unit

MCF548x Reference Manual, Rev. 312-4 Freescale Semiconductor12.2.4 SLT Status Register (SSRn)31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16R000000BES

Pagina 316

MCF548x Reference Manual, Rev. 3Freescale Semiconductor 13-1Chapter 13 Interrupt Controller13.1 IntroductionThis section details the functionality fo

Pagina 317 - System Integration Unit (SIU)

MCF548x Reference Manual, Rev. 313-2 Freescale Semiconductorand status register data, along with the 32-bit program counter value of the instruction t

Pagina 318 - Table 9-1. SIU Register Map

Introduction MCF548x Reference Manual, Rev. 3Freescale Semiconductor 13-38 fully-programmable interrupt sources are mapped into a single interrupt le

Pagina 319 - CPU can halt the DMA

MCF548x Reference Manual, Rev. 313-4 Freescale Semiconductorexplicitly cleared in the interrupt service routine. This design provides unique vector ca

Pagina 320 - 151413121110987654321 0

Memory Map/Register Descriptions MCF548x Reference Manual, Rev. 3Freescale Semiconductor 13-513.2.1 Register Descriptions13.2.1.1 Interrupt Pending R

Pagina 321

MCF548x Reference Manual, Rev. 313-6 Freescale SemiconductorThe IPR is a read-only register, so any attempted write to this register is ignored. Bit 0

Pagina 322

Memory Map/Register Descriptions MCF548x Reference Manual, Rev. 3Freescale Semiconductor 13-713.2.1.2 Interrupt Mask Register (IMRH, IMRL)The IMRH an

Pagina 323 - Chapter 10

MCF548x Reference Manual, Rev. 3xxxvi Freescale SemiconductorContentsParagraphNumberTitlePageNumber29.2.2.3 USB Descriptor RAM Control Register (DRAMC

Pagina 324 - 10.1.3 Internal Bus Overview

MCF548x Reference Manual, Rev. 313-8 Freescale Semiconductor13.2.1.3 Interrupt Force Registers (INTFRCH, INTFRCL)The INTFRCH and INTFRCL registers are

Pagina 325 - 10.1.4 XL Bus Features

Memory Map/Register Descriptions MCF548x Reference Manual, Rev. 3Freescale Semiconductor 13-9. 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16R INTFR

Pagina 326 - 10.1.6.2 Address Pipelines

MCF548x Reference Manual, Rev. 313-10 Freescale Semiconductor13.2.1.4 Interrupt Request Level Register (IRLR)This 7-bit register is updated each machi

Pagina 327 - 10.2 PLL

Memory Map/Register Descriptions MCF548x Reference Manual, Rev. 3Freescale Semiconductor 13-1113.2.1.6 Interrupt Control Registers 1–63 (ICRn)Each IC

Pagina 328 - 10.3 XL Bus Arbiter

MCF548x Reference Manual, Rev. 313-12 Freescale Semiconductor13.2.1.6.1 Interrupt SourcesTable 13-12 lists the interrupt sources for each interrupt re

Pagina 329 - 10.3.2.2 Bus Grant Mechanism

Memory Map/Register Descriptions MCF548x Reference Manual, Rev. 3Freescale Semiconductor 13-1313.2.1.7 Software and Level n IACK Registers (SWIACKR,

Pagina 330 - 10.3.2.3 Watchdog Functions

MCF548x Reference Manual, Rev. 313-14 Freescale Semiconductordetermines the highest priority within the level, and then responds with the unique vecto

Pagina 331 - XL Bus Arbiter

MCF548x Reference Manual, Rev. 3Freescale Semiconductor 14-1Chapter 14 Edge Port Module (EPORT) 14.1 IntroductionThe edge port module (EPORT) has sev

Pagina 332

MCF548x Reference Manual, Rev. 314-2 Freescale SemiconductorNOTEThe GPIO functionality of the external interrupt pins is controlled by theEPORT module

Pagina 333

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 14-314.3.2.1 EPORT Pin Assignment Register (EPPAR)14.3.2.2 EPO

Pagina 334

MCF548x Reference Manual, Rev. 3Freescale Semiconductor xxxviiContentsParagraphNumberTitlePageNumber29.2.5.6 USB Endpoint n FIFO Status Register (EPnF

Pagina 335

MCF548x Reference Manual, Rev. 314-4 Freescale Semiconductor14.3.2.3 Edge Port Interrupt Enable Register (EPIER)14.3.2.4 Edge Port Data Register (EPDR

Pagina 336

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 14-514.3.2.5 Edge Port Pin Data Register (EPPDR)14.3.2.6 Edge

Pagina 337

MCF548x Reference Manual, Rev. 314-6 Freescale SemiconductorTable 14-7. EPFR Field DescriptionsBits Name Description7–1 EPFn Edge port flag bits. When

Pagina 338

MCF548x Reference Manual, Rev. 3Freescale Semiconductor 15-1Chapter 15 GPIO15.1 IntroductionMany of the MCF548x pins whose primary function is to ser

Pagina 339

MCF548x Reference Manual, Rev. 315-2 Freescale SemiconductorFigure 15-1. MCF548x GPIO Module Block Diagram15.1.1 OverviewThe MCF548x GPIO module contr

Pagina 340

External Pin Description MCF548x Reference Manual, Rev. 3Freescale Semiconductor 15-3• External DMA request and acknowledge (DMA)• PCI bus access (PC

Pagina 341 - General Purpose Timers (GPT)

MCF548x Reference Manual, Rev. 315-4 Freescale SemiconductorDACK0PDMA2 TOUT0 — DMA acknowledge 0 / Port DMA2 / GP timer output 0DREQ1 PDMA1 TIN1 IRQ1

Pagina 342 - 11.2 External Signals

External Pin Description MCF548x Reference Manual, Rev. 3Freescale Semiconductor 15-5FEC1MDC — SCL CANTX0 Ethernet Controller 1 management data clock

Pagina 343

MCF548x Reference Manual, Rev. 315-6 Freescale SemiconductorRefer to the signals chapter of the MCF548x chip specification for more detailed descripti

Pagina 344

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 15-7It should be noted from Table 15-1 that there are several

Pagina 345

MCF548x Reference Manual, Rev. 3xxxviii Freescale SemiconductorContentsParagraphNumberTitlePageNumber30.1.5.4 Internal Loopback ...

Pagina 346

MCF548x Reference Manual, Rev. 315-8 Freescale Semiconductor15.3.2 Register Descriptions15.3.2.1 Port x Output Data Registers (PODR_x)The PODR registe

Pagina 347 - 1514131211109876543 2 1 0

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 15-9Most PODR_x registers have full 8-bit implementations, as

Pagina 348 - 11.4 Functional Description

MCF548x Reference Manual, Rev. 315-10 Freescale Semiconductor15.3.2.1.3 5-Bit PODR_x RegistersThe 5-bit PODR_x registers are the output data registers

Pagina 349 - Slice Timers (SLT)

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 15-1115.3.2.1.5 FBCS Register (PODR_FBCS)The 5-bit PODR_FBCS r

Pagina 350

MCF548x Reference Manual, Rev. 315-12 Freescale SemiconductorMost PDDR_x registers have a full 8-bit implementation, as shown in Figure 15-7. The rema

Pagina 351

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 15-1315.3.2.2.3 5-Bit PDDR_x RegistersThe 5-bit PDDR_x registe

Pagina 352

MCF548x Reference Manual, Rev. 315-14 Freescale Semiconductor15.3.2.2.5 FBCS Register (PDDR_FBCS)The 5-bit PDDR_FBCS register is for data direction of

Pagina 353 - Interrupt Controller

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 15-15Most PPDSDR_x registers have a full 8-bit implementation,

Pagina 354

MCF548x Reference Manual, Rev. 315-16 Freescale Semiconductor15.3.2.3.3 5-Bit PPDSDR_x RegistersThe 5-bit PPDSDR_x registers are the pin data and set

Pagina 355

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 15-1715.3.2.3.4 4-Bit PPDSDR_x RegistersThe 4-bit PPDSDR_x reg

Pagina 356

MCF548x Reference Manual, Rev. 3Freescale Semiconductor xxxixContentsParagraphNumberTitlePageNumber30.3.3.24 FEC Receive FIFO Read Pointer Register (F

Pagina 357 - 13.2.1 Register Descriptions

MCF548x Reference Manual, Rev. 315-18 Freescale Semiconductor15.3.2.4 Port x Clear Output Data Registers (PCLRR_x)Writing 0s to a PCLRR_x register cle

Pagina 358

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 15-1915.3.2.4.1 7-Bit PCLRR_x RegisterThe 7-bit PCLRR_DSPI reg

Pagina 359

MCF548x Reference Manual, Rev. 315-20 Freescale Semiconductor15.3.2.4.3 4-Bit PCLRR_x RegistersThe 4-bit PCLRR_x registers are the clear output data r

Pagina 360

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 15-2115.3.2.5 Port x Pin Assignment Registers (PAR_x)The PAR_x

Pagina 361

MCF548x Reference Manual, Rev. 315-22 Freescale Semiconductor15.3.2.6 FlexBus Chip Select Pin Assignment Register (PAR_FBCS)The PAR_FBCS register cont

Pagina 362 - 76543210

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 15-2315.3.2.7 DMA Pin Assignment Register (PAR_DMA)The PAR_DMA

Pagina 363

MCF548x Reference Manual, Rev. 315-24 Freescale Semiconductor151413 1211109876543210RPAR_E07PAR _E0MIIPAR _E0MDIOPAR _E0MDCPAR _E17PAR _E1MIIPAR_E1MDI

Pagina 364 - 13.2.1.6.1 Interrupt Sources

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 15-2515.3.2.9 PCI Grant Pin Assignment Register (PAR_PCIBG)The

Pagina 365

MCF548x Reference Manual, Rev. 315-26 Freescale Semiconductor15.3.2.10 PCI Request Pin Assignment Register (PAR_PCIBR)The PAR_PCIBR controls the funct

Pagina 366

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 15-2715.3.2.11 PSC3 Pin Assignment Register (PAR_PSC3)The PAR_

Pagina 367 - Edge Port Module (EPORT)

OverviewSignal DescriptionsColdFire CoreEnhanced Multiply-Accumulate Unit (EMAC)Memory Management Unit (MMU)Floating-Point Unit (FPU)Debug SupportSyst

Pagina 368 - 14.3.2 Register Descriptions

MCF548x Reference Manual, Rev. 3xl Freescale SemiconductorContentsParagraphNumberTitlePageNumber31.3.2 MCF5483/5482 Mechanical Diagram ...

Pagina 369

MCF548x Reference Manual, Rev. 315-28 Freescale Semiconductor15.3.2.12 PSC2 Pin Assignment Register (PAR_PSC2)The PAR_PSC2 register controls the funct

Pagina 370

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 15-2915.3.2.14 PSC0 Pin Assignment Register (PAR_PSC0)The PAR_

Pagina 371

MCF548x Reference Manual, Rev. 315-30 Freescale Semiconductor15.3.2.15 DSPI Pin Assignment Register (PAR_DSPI)The PAR_DSPI register controls the funct

Pagina 372

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 15-3115.3.2.16 General Purpose Timer Pin Assignment Register (

Pagina 373 - Chapter 15

MCF548x Reference Manual, Rev. 315-32 Freescale SemiconductorNOTEExplicit pin function assignment capability for the TIN1, TOUT1, TIN0,and TOUT0 pins

Pagina 374 - 15.1.1 Overview

Functional Description MCF548x Reference Manual, Rev. 3Freescale Semiconductor 15-33(PPDSDR_x) to monitor and control the state of its pins. Data wri

Pagina 375 - 15.2 External Pin Description

MCF548x Reference Manual, Rev. 315-34 Freescale Semiconductor

Pagina 376

MCF548x Reference Manual, Rev. 3Freescale Semiconductor iPart IIIOn-Chip IntegrationPart III describes on-chip integration for the MCF548x device. It

Pagina 377 - External Pin Description

MCF548x Reference Manual, Rev. 3ii Freescale Semiconductor

Pagina 378

MCF548x Reference Manual, Rev. 3Freescale Semiconductor 16-1Chapter 16 32-Kbyte System SRAM16.1 IntroductionThis chapter explains the operation of th

Pagina 379 - 15.3.1 Register Overview

MCF548x Reference Manual, Rev. 3Freescale Semiconductor xliAbout This BookThe primary objective of this reference manual is to define the functionalit

Pagina 380 - 15.3.2 Register Descriptions

MCF548x Reference Manual, Rev. 316-2 Freescale SemiconductorThe system SRAM contents always reside at MBAR + 0x0001 0000; therefore, it can be relocat

Pagina 381

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 16-316.2.1 System SRAM Configuration Register (SSCR)This regis

Pagina 382

MCF548x Reference Manual, Rev. 316-4 Freescale Semiconductor16.2.2 Transfer Count Configuration Register (TCCR) This register is used to configure the

Pagina 383

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 16-516.2.3 Transfer Count Configuration Register—DMA Read Chan

Pagina 384

MCF548x Reference Manual, Rev. 316-6 Freescale Semiconductor16.2.4 Transfer Count Configuration Register—DMA Write Channel (TCCRDW)This register is us

Pagina 385

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 16-716.2.5 Transfer Count Configuration Register—SEC (TCCRSEC)

Pagina 386 - PDDR_FBCS register

MCF548x Reference Manual, Rev. 316-8 Freescale Semiconductor16.3 Functional DescriptionThe system SRAM decodes the addresses for all four banks to det

Pagina 387

MCF548x Reference Manual, Rev. 3Freescale Semiconductor 17-1Chapter 17 FlexBus17.1 IntroductionThis chapter describes data transfer operations, error

Pagina 388

MCF548x Reference Manual, Rev. 317-2 Freescale Semiconductor17.2 Byte LanesFigure 17-1 shows the byte lanes that external memory should be connected t

Pagina 389

External Signals MCF548x Reference Manual, Rev. 3Freescale Semiconductor 17-3Figure 17-2. Multiplexed FlexBus Implementation17.4 External SignalsThis

Pagina 390

MCF548x Reference Manual, Rev. 3xlii Freescale Semiconductor— Chapter 7, “Local Memory,” describes the MCF548x implementation of the ColdFire V4e loca

Pagina 391

MCF548x Reference Manual, Rev. 317-4 Freescale Semiconductor17.4.1 Chip-Select (FBCS[5:0])The chip-select signal indicates which device is being selec

Pagina 392

External Signals MCF548x Reference Manual, Rev. 3Freescale Semiconductor 17-5For aligned transfers larger than the port size, TSIZ[1:0] behaves as fo

Pagina 393

MCF548x Reference Manual, Rev. 317-6 Freescale Semiconductor17.5 Chip-Select OperationEach chip-select has a dedicated set of the following registers

Pagina 394

Chip-Select Operation MCF548x Reference Manual, Rev. 3Freescale Semiconductor 17-717.5.2 Chip-Select RegistersThe following tables describe in detail

Pagina 395

MCF548x Reference Manual, Rev. 317-8 Freescale Semiconductor1 The access column indicates whether the corresponding register allows both read/write fu

Pagina 396 - 151413 1211109876543210

Chip-Select Operation MCF548x Reference Manual, Rev. 3Freescale Semiconductor 17-917.5.2.2 Chip-Select Mask Registers (CSMR0–CSMR5)CSMRn, Figure 17-4

Pagina 397

MCF548x Reference Manual, Rev. 317-10 Freescale Semiconductor17.5.2.3 Chip-Select Control Registers (CSCR0–CSCR5)Each CSCRn, Figure 17-5, controls the

Pagina 398

Chip-Select Operation MCF548x Reference Manual, Rev. 3Freescale Semiconductor 17-1119–18 RDAH Read Address Hold or (Deselect). This field controls th

Pagina 399

MCF548x Reference Manual, Rev. 317-12 Freescale Semiconductor17.6 Functional Description17.6.1 Data Transfer OperationData transfers between the MCF54

Pagina 400

Functional Description MCF548x Reference Manual, Rev. 3Freescale Semiconductor 17-13Figure 17-6. Connections for External Memory Port Sizes17.6.3 Add

Pagina 401

Suggested ReadingMCF548x Reference Manual, Rev. 3Freescale Semiconductor xliii— Chapter 21, “FlexCAN,” describes the MCF548 implementation of the cont

Pagina 402

MCF548x Reference Manual, Rev. 317-14 Freescale Semiconductor4. FBCSn is negated at the fourth rising clock edge. This last clock of the bus cycle use

Pagina 403

Functional Description MCF548x Reference Manual, Rev. 3Freescale Semiconductor 17-1517.6.5 FlexBus Timing Examples17.6.5.1 Basic Read Bus CycleDuring

Pagina 404 - 15.4 Functional Description

MCF548x Reference Manual, Rev. 317-16 Freescale SemiconductorFigure 17-9. Basic Read Bus Cycle17.6.5.2 Basic Write Bus CycleDuring a write cycle, the

Pagina 405 - Freescale Semiconductor 15-33

Functional Description MCF548x Reference Manual, Rev. 3Freescale Semiconductor 17-17The write cycle timing diagram is shown in Figure 17-11.Figure 17

Pagina 406 - 15-34 Freescale Semiconductor

MCF548x Reference Manual, Rev. 317-18 Freescale SemiconductorFigure 17-12. Single Word Read Transfer with Muxed 32-A / 16-D or Non-Muxed 16-A / 16-DFi

Pagina 407 - On-Chip Integration

Functional Description MCF548x Reference Manual, Rev. 3Freescale Semiconductor 17-19Figure 17-14 illustrates the basic byte read transfer to an 8-bit

Pagina 408

MCF548x Reference Manual, Rev. 317-20 Freescale SemiconductorFigure 17-15. Single Byte Write Transfer with Muxed 32-A / 8-D or Non-Muxed 24-A / 8-DFig

Pagina 409 - 32-Kbyte System SRAM

Functional Description MCF548x Reference Manual, Rev. 3Freescale Semiconductor 17-21Figure 17-17 illustrates the longword write to a 32-bit device.Fi

Pagina 410 - 16.1.3 Overview

MCF548x Reference Manual, Rev. 317-22 Freescale SemiconductorFigure 17-18. Basic Read Bus Cycle (No Wait States)Figure 17-19. Basic Write Bus Cycle (N

Pagina 411

Functional Description MCF548x Reference Manual, Rev. 3Freescale Semiconductor 17-23Figure 17-20. Read Bus Cycle (One Wait State)Figure 17-21. Write

Pagina 412

MCF548x Reference Manual, Rev. 3xliv Freescale SemiconductorGeneral InformationThe following documentation provides useful information about the ColdF

Pagina 413 - (TCCRDR)

MCF548x Reference Manual, Rev. 317-24 Freescale SemiconductorFigure 17-22. Read Bus Cycle with Two Clock Address Setup (No Wait States)Figure 17-23. W

Pagina 414 - (TCCRDW)

Functional Description MCF548x Reference Manual, Rev. 3Freescale Semiconductor 17-25Figure 17-24. Read Cycle with Two Clock Address Hold (No Wait Sta

Pagina 415

MCF548x Reference Manual, Rev. 317-26 Freescale SemiconductorFigure 17-26. Write Cycle with Two Clock Address Setup and Two Clock Hold (One Wait State

Pagina 416 - 16.3 Functional Description

Functional Description MCF548x Reference Manual, Rev. 3Freescale Semiconductor 17-27NOTELine-sized transfers requested by the core or cache are broke

Pagina 417 - Chapter 17

MCF548x Reference Manual, Rev. 317-28 Freescale SemiconductorFigure 17-28. Longword Write Burst to 8-Bit Port 3-1-1-1 (No Wait States)Figure 17-29 sho

Pagina 418 - 17.3 Address Latch

Functional Description MCF548x Reference Manual, Rev. 3Freescale Semiconductor 17-29Figure 17-30 shows a longword write through an 8-bit device with

Pagina 419 - 17.4 External Signals

MCF548x Reference Manual, Rev. 317-30 Freescale SemiconductorFigure 17-31 illustrates a write burst transfer with one wait state.Figure 17-32. Longwor

Pagina 420 - 17-4 Freescale Semiconductor

Functional Description MCF548x Reference Manual, Rev. 3Freescale Semiconductor 17-31Figure 17-34. Longword Write Burst to 8-Bit Port 4-1-1-1 (Address

Pagina 421 - 17.4.8 Output Enable (OE)

MCF548x Reference Manual, Rev. 317-32 Freescale SemiconductorFigure 17-36. Example of a Misaligned Word Transfer (32-Bit Port)17.6.8 Bus ErrorsThe MCF

Pagina 422 - 17.5 Chip-Select Operation

MCF548x Reference Manual, Rev. 3Freescale Semiconductor 18-1Chapter 18 SDRAM Controller (SDRAMC)18.1 IntroductionThis chapter describes configuration

Pagina 423 - 17.5.2 Chip-Select Registers

Acronyms and AbbreviationsMCF548x Reference Manual, Rev. 3Freescale Semiconductor xlvlongword A 32-bit data unitx In some contexts, such as signal en

Pagina 424

MCF548x Reference Manual, Rev. 318-2 Freescale Semiconductor18.2.3 Block DiagramFigure 18-1. SDRAM Controller Block Diagram18.3 External Signal Descri

Pagina 425 - Chip-Select Operation

External Signal Description MCF548x Reference Manual, Rev. 3Freescale Semiconductor 18-318.3.4 SDRAM Row Address Strobe (RAS)This output is the SDRAM

Pagina 426 - 151413121110987654 3 210

MCF548x Reference Manual, Rev. 318-4 Freescale Semiconductor18.3.12 SDRAM Clock Enable (SDCKE)This output is the SDRAM clock enable. SDCKE negates to

Pagina 427

Interface Recommendations MCF548x Reference Manual, Rev. 3Freescale Semiconductor 18-5All memory devices of a single chip select block must have the

Pagina 428 - 17.6 Functional Description

MCF548x Reference Manual, Rev. 318-6 Freescale Semiconductor18.4.2 SDRAM SDR ConnectionsFigure 18-2 shows a block diagram of the connections between t

Pagina 429 - 17.6.4 Bus Cycle Execution

Interface Recommendations MCF548x Reference Manual, Rev. 3Freescale Semiconductor 18-7Figure 18-3. MCF548x Connections to DDR SDRAM18.4.4 SDRAM DDR D

Pagina 430 - Table 17-11. Bus Cycle States

MCF548x Reference Manual, Rev. 318-8 Freescale SemiconductorFigure 18-4. MCF548x Connections to 100-pin DDR SDRAM DIMM18.4.5 DDR SDRAM Layout Consider

Pagina 431 - 17.6.5.1 Basic Read Bus Cycle

SDRAM Overview MCF548x Reference Manual, Rev. 3Freescale Semiconductor 18-918.4.5.1 Termination ExampleFigure 18-5 shows the recommended termination

Pagina 432 - S0 S1 S2 S3

MCF548x Reference Manual, Rev. 318-10 Freescale SemiconductorMany commands require a delay before the next command may be issued; sometimes the delay

Pagina 433 - Functional Description

SDRAM Overview MCF548x Reference Manual, Rev. 3Freescale Semiconductor 18-11issue a PALL command to close the active row. Then the SDRAMC issues ACTV

Pagina 434

MCF548x Reference Manual, Rev. 3xlvi Freescale SemiconductorEA Effective addressEDO Extended data output (DRAM)FIFO First-in, first-outGPIO General-pu

Pagina 435

MCF548x Reference Manual, Rev. 318-12 Freescale Semiconductor18.5.1.5.1 Mode Register DefinitionFigure 18-6 shows the mode register definition. Note t

Pagina 436

SDRAM Overview MCF548x Reference Manual, Rev. 3Freescale Semiconductor 18-1318.5.1.6 Auto Refresh Command (REF)The memory controller issues auto refr

Pagina 437 - 17.6.5.4 Timing Variations

MCF548x Reference Manual, Rev. 318-14 Freescale Semiconductor18.5.2.1 SDR InitializationSDR initialization requires the following steps:1. After reset

Pagina 438

Functional Overview MCF548x Reference Manual, Rev. 3Freescale Semiconductor 18-158. Issue a second PALL command. Initialize the SDRAM control registe

Pagina 439 - S0 S1 WS S2 S3

MCF548x Reference Manual, Rev. 318-16 Freescale SemiconductorThe SDRAM controller supports all possible XLB transfer sizes. SDRAMs are “burst only” de

Pagina 440 - S0 AS S1 S2 S3

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 18-1718.7.1 SDRAM Drive Strength Register (SDRAMDS)31 30 29 28

Pagina 441 - S0 S1 S2 S3 AH

MCF548x Reference Manual, Rev. 318-18 Freescale Semiconductor18.7.2 SDRAM Chip Select Configuration Registers (CSnCFG)Any chip select can be enabled o

Pagina 442 - 17.6.6 Burst Cycles

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 18-19CS3CFG = 94000019 = 64M @ 0x9400 0000-0x97FF FFFFCS4CFG =

Pagina 443 - S0 S1 S2 S2 S2 S2 S3

MCF548x Reference Manual, Rev. 318-20 Freescale Semiconductor18.7.4 SDRAM Control Register (SDCR)The SDCR, shown in Figure 18-11, controls SDRAMC oper

Pagina 444

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 18-2118.7.5 SDRAM Configuration Register 1 (SDCFG1)The 32-bit

Pagina 445

Terminology and Notational ConventionsMCF548x Reference Manual, Rev. 3Freescale Semiconductor xlviiTerminology and Notational ConventionsTable iii sho

Pagina 446 - S0 AS S1 S2 S2 S2 S2 S3 AH

MCF548x Reference Manual, Rev. 318-22 Freescale SemiconductorThe minimum values of certain fields can be different for SDR and DDR SDRAM, even if the

Pagina 447 - 17.6.7 Misaligned Operands

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 18-2318.7.6 SDRAM Configuration Register 2 (SDCFG2)The 32-bit

Pagina 448 - 17.6.8 Bus Errors

MCF548x Reference Manual, Rev. 318-24 Freescale Semiconductor18.8 SDRAM ExampleThis example interfaces two 16M × 16-bit × 4 bank DDR SDRAM components

Pagina 449 - SDRAM Controller (SDRAMC)

SDRAM Example MCF548x Reference Manual, Rev. 3Freescale Semiconductor 18-2518.8.1 SDRAM Signal Drive Strength SettingsThe SDRAMDS should be programme

Pagina 450 - 18.2.3 Block Diagram

MCF548x Reference Manual, Rev. 318-26 Freescale SemiconductorThis configuration results in a value of SDRAMDS = 0x0000_0019, as described in Table 18-

Pagina 451 - External Signal Description

SDRAM Example MCF548x Reference Manual, Rev. 3Freescale Semiconductor 18-2718.8.4 SDRAM Configuration 2 Register SettingsThe SDCFG2 register should b

Pagina 452 - 18-4 Freescale Semiconductor

MCF548x Reference Manual, Rev. 318-28 Freescale SemiconductorThis configuration results in a value of SDCR = 0xE10D_0002, as described in Table 18-19.

Pagina 453 - Interface Recommendations

SDRAM Example MCF548x Reference Manual, Rev. 3Freescale Semiconductor 18-2918.8.6 Set the Extended Mode RegisterThe SDMR should be programmed as show

Pagina 454 - 18.4.2 SDRAM SDR Connections

MCF548x Reference Manual, Rev. 318-30 Freescale Semiconductor18.8.8 Issue a PALL commandThe SDCR should be programmed as shown in Figure 18-21. This w

Pagina 455

SDRAM Example MCF548x Reference Manual, Rev. 3Freescale Semiconductor 18-3118.8.9 Perform Two Refresh CyclesThe SDCR should be programmed as shown in

Pagina 456

MCF548x Reference Manual, Rev. 3xlviii Freescale Semiconductor<ea>y,<ea>x Source and destination effective addresses, respectively<labe

Pagina 457 - 18.5 SDRAM Overview

MCF548x Reference Manual, Rev. 318-32 Freescale Semiconductor18.8.10 Clear the Reset DLL Bit in the Mode RegisterThe SDMR should be programmed as show

Pagina 458 - 18.5.1.2 Read Command (READ)

SDRAM Example MCF548x Reference Manual, Rev. 3Freescale Semiconductor 18-3318.8.11 Enable Automatic Refresh and Lock Mode RegisterThe SDCR should be

Pagina 459 - Freescale Semiconductor 18-11

MCF548x Reference Manual, Rev. 318-34 Freescale Semiconductor18.8.12 Initialization CodeThe following assembly code initializes the DDR SDRAM using th

Pagina 460 - Figure 18-6. Mode Register

SDRAM Example MCF548x Reference Manual, Rev. 3Freescale Semiconductor 18-35move.l #0x008D0000, d0//Write LMR and clear reset DLLmove.l d0, SDMREnable

Pagina 461 - SDRAM Overview

MCF548x Reference Manual, Rev. 318-36 Freescale Semiconductor

Pagina 462 - 18.5.2.2 DDR Initialization

MCF548x Reference Manual, Rev. 3Freescale Semiconductor 19-1Chapter 19 PCI Bus Controller19.1 IntroductionThis chapter details the operation of the P

Pagina 463 - 18.6 Functional Overview

MCF548x Reference Manual, Rev. 319-2 Freescale Semiconductor• Compatible with PCI 2.2 specification• PCI initiator and target operation• Fully synchro

Pagina 464 - Table 18-6. SDRAMC Memory Map

External Signal Description MCF548x Reference Manual, Rev. 3Freescale Semiconductor 19-319.2.3 Device Select (PCIDEVSEL)The PCIDEVSEL signal is asser

Pagina 465

MCF548x Reference Manual, Rev. 319-4 Freescale Semiconductor19.2.13 Target Ready (PCITRDY)The PCITRDY signal is asserted active low by the currently a

Pagina 466 - 151413121110987654 3 2 1 0

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 19-5MBAR + 0xB68PCITBATR132 Target Base Address Translation Re

Pagina 467

Terminology and Notational ConventionsMCF548x Reference Manual, Rev. 3Freescale Semiconductor xlixAddress Calculated effective address (pointer)Bit Bi

Pagina 468

MCF548x Reference Manual, Rev. 319-6 Freescale Semiconductor19.3.1 PCI Type 0 Configuration RegistersThe PCI controller supplies a type 0 PCI configur

Pagina 469

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 19-719.3.1.1 Device ID/Vendor ID Register (PCIIDR)—PCI Dword A

Pagina 470

MCF548x Reference Manual, Rev. 319-8 Freescale SemiconductorTable 19-4. PCISCR Field DescriptionsBits Name Description31 PE Parity error detected. Thi

Pagina 471

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 19-919.3.1.3 Revision ID/Class Code Register (PCICCRIR)—PCI Dw

Pagina 472 - 18.8 SDRAM Example

MCF548x Reference Manual, Rev. 319-10 Freescale Semiconductor19.3.1.4 Configuration 1 Register (PCICR1)—PCI Dword 3Table 19-5. PCICCRIR Field Descript

Pagina 473 - SDRAM Example

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 19-1119.3.1.5 Base Address Register 0 (PCIBAR0)—PCI Dword 431

Pagina 474 - 0111_0011_0110_0010

MCF548x Reference Manual, Rev. 319-12 Freescale Semiconductor19.3.1.6 Base Address Register 1 (PCIBAR1)—PCI Dword 519.3.1.7 CardBus CIS Pointer Regist

Pagina 475 - 0100_0110_0111_0111

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 19-13All 32 bits of the register are programmable by the slave

Pagina 476 - 151413121110987 6 543210

MCF548x Reference Manual, Rev. 319-14 Freescale Semiconductorregisters are accessed primarily internally as offsets of MBAR, but can also be accessed

Pagina 477

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 19-1519.3.2.2 Target Base Address Translation Register 0 (PCIT

Pagina 478 - 18.8.8 Issue a PALL command

MCF548x Reference Manual, Rev. 3Freescale Semiconductor vContentsParagraphNumberTitlePageNumberChapter 1 Overview1.1 MCF548x Family Overview ...

Pagina 479

MCF548x Reference Manual, Rev. 3l Freescale SemiconductorTable 2-1/2-3 Add column to indicate whether the signal has a pull-up resistor.These signals

Pagina 480

MCF548x Reference Manual, Rev. 319-16 Freescale Semiconductor19.3.2.3 Target Base Address Translation Register 1 (PCITBATR1)19.3.2.4 Target Control Re

Pagina 481

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 19-1719.3.2.5 Initiator Window 0 Base/Translation Address Regi

Pagina 482 - 18.8.12 Initialization Code

MCF548x Reference Manual, Rev. 319-18 Freescale Semiconductor19.3.2.6 Initiator Window 1 Base/Translation Address Register (PCIIW1BTAR)The field descr

Pagina 483

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 19-1919.3.2.7 Initiator Window 2 Base/Translation Address Regi

Pagina 484 - 18-36 Freescale Semiconductor

MCF548x Reference Manual, Rev. 319-20 Freescale Semiconductor19.3.2.9 Initiator Control Register (PCIICR)Table 19-15. PCIIWCR Field DescriptionsBits

Pagina 485 - PCI Bus Controller

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 19-2119.3.2.10 Initiator Status Register (PCIISR)Table 19-16.

Pagina 486

MCF548x Reference Manual, Rev. 319-22 Freescale Semiconductor19.3.2.11 Configuration Address Register (PCICAR)Table 19-17. PCIISR Field DescriptionsBi

Pagina 487 - Freescale Semiconductor 19-3

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 19-2319.3.3 Communication Subsystem Interface RegistersThe com

Pagina 488 - Table 19-2. PCI Memory Map

MCF548x Reference Manual, Rev. 319-24 Freescale Semiconductor19.3.3.1.2 Tx Start Address Register (PCITSAR)Table 19-19. PCITPSR Field DescriptionsBits

Pagina 489

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 19-2519.3.3.1.3 Tx Transaction Control Register (PCITTCR) 31 3

Pagina 490

Terminology and Notational ConventionsMCF548x Reference Manual, Rev. 3Freescale Semiconductor li2.2.6.1/2-22 Add the following after Table 2-4:Figure

Pagina 491

MCF548x Reference Manual, Rev. 319-26 Freescale Semiconductor19.3.3.1.4 Tx Enables Register (PCITER) 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16R

Pagina 492

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 19-2719.3.3.1.5 Tx Next Address Register (PCITNAR) 21 FEE FIFO

Pagina 493

MCF548x Reference Manual, Rev. 319-28 Freescale Semiconductor19.3.3.1.6 Tx Last Word Register (PCITLWR) 19.3.3.1.7 Tx Done Counts Register (PCITDCR) T

Pagina 494 - Header Type

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 19-2919.3.3.1.8 Tx Status Register (PCITSR) Table 19-25. PCITD

Pagina 495

MCF548x Reference Manual, Rev. 319-30 Freescale SemiconductorNOTERegisters MBAR + 0x8420 through MBAR + 0x843C are reserved forfuture use. Accesses to

Pagina 496

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 19-3119.3.3.1.9 Tx FIFO Data Register (PCITFDR) +19.3.3.1.10 T

Pagina 497

MCF548x Reference Manual, Rev. 319-32 Freescale Semiconductor19.3.3.1.11 Tx FIFO Control Register (PCITFCR) Table 19-28. PCITFSR Field DescriptionsBit

Pagina 498 - PCIGSCR Field Descriptions

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 19-3319.3.3.1.12 Tx FIFO Alarm Register (PCITFAR) Table 19-29.

Pagina 499

MCF548x Reference Manual, Rev. 319-34 Freescale Semiconductor19.3.3.1.13 Tx FIFO Read Pointer Register (PCITFRPR) Table 19-30. PCITFAR Field Descripti

Pagina 500 - PCITBATR1 Field Descriptions

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 19-3519.3.3.1.14 Tx FIFO Write Pointer Register (PCITFWPR)This

Pagina 501

MCF548x Reference Manual, Rev. 3lii Freescale Semiconductor10.2/10-5 Insert the following section before section 10.2 “XL Bus Arbiter”.10.2 PLL10.2.1

Pagina 502

MCF548x Reference Manual, Rev. 319-36 Freescale Semiconductor19.3.3.2.1 Rx Packet Size Register (PCIRPSR) 19.3.3.2.2 Rx Start Address Register (PCIRSA

Pagina 503

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 19-3719.3.3.2.3 Rx Transaction Control Register (PCIRTCR) Tabl

Pagina 504 - PCIIWCR Field Descriptions

MCF548x Reference Manual, Rev. 319-38 Freescale Semiconductor19.3.3.2.4 Rx Enables Register (PCIRER) 12 FB Full burst. This is the full burst bit and

Pagina 505

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 19-39Table 19-36. PCIRER Field DescriptionsBits Name Descripti

Pagina 506 - PCICAR Field Descriptions

MCF548x Reference Manual, Rev. 319-40 Freescale Semiconductor19.3.3.2.5 Rx Next Address Register (PCIRNAR) 17 IAE Initiator abort enable. User writes

Pagina 507 - Table 19-18

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 19-4119.3.3.2.6 Rx Done Counts Register (PCIRDCR) 31 30 29 28

Pagina 508 - Bits Name Description

MCF548x Reference Manual, Rev. 319-42 Freescale Semiconductor19.3.3.2.7 Rx Status Register (PCIRSR) 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16R 0

Pagina 509

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 19-43NOTERegisters 0x84A0 through 0x84BC are reserved for futu

Pagina 510

MCF548x Reference Manual, Rev. 319-44 Freescale Semiconductor19.3.3.2.9 Rx FIFO Status Register (PCIRFSR) 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17

Pagina 511

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 19-4519.3.3.2.10 Rx FIFO Control Register (PCIRFCR) 17 Alarm T

Pagina 512

Terminology and Notational ConventionsMCF548x Reference Manual, Rev. 3Freescale Semiconductor liiiTable 10-3/10-5 Bits BA, DT, and AT: The 0 and 1 are

Pagina 513

MCF548x Reference Manual, Rev. 319-46 Freescale Semiconductor19.3.3.2.11 Rx FIFO Alarm Register (PCIRFAR) 19 OF_MASK Overflow mask. When this bit is s

Pagina 514

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 19-4719.3.3.2.12 Rx FIFO Read Pointer Register (PCIRFRPR)19.3.

Pagina 515

MCF548x Reference Manual, Rev. 319-48 Freescale Semiconductor19.4 Functional DescriptionThe MCF548x PCI module provides both master and target PCI bus

Pagina 516

Functional Description MCF548x Reference Manual, Rev. 3Freescale Semiconductor 19-4919.4.1.2 Basic Transfer ControlThe basic PCI bus transfer mechani

Pagina 517

MCF548x Reference Manual, Rev. 319-50 Freescale Semiconductorcommand driven on the PCICXBE bus. In cycle 2, the AD bus is in a turnaround cycle becaus

Pagina 518

Functional Description MCF548x Reference Manual, Rev. 3Freescale Semiconductor 19-51Figure 19-48. PCI Write Terminated by Target19.4.1.4 PCI Bus Comm

Pagina 519

MCF548x Reference Manual, Rev. 319-52 Freescale SemiconductorThough MCF548x supports many PCI commands as an initiator, the communication subsystem in

Pagina 520

Functional Description MCF548x Reference Manual, Rev. 3Freescale Semiconductor 19-53As an initiator, the MCF548x supports both linear incrementing an

Pagina 521

MCF548x Reference Manual, Rev. 319-54 Freescale Semiconductortells the community of devices on the PCI bus that the bridge that “owns” the PCI bus has

Pagina 522

Functional Description MCF548x Reference Manual, Rev. 3Freescale Semiconductor 19-55its secondary bus as a Type 0 configuration access, decoding the

Pagina 523

MCF548x Reference Manual, Rev. 3liv Freescale Semiconductor21.4.9/21-28 Add the following table below the note at the end of the section and correct t

Pagina 524

MCF548x Reference Manual, Rev. 319-56 Freescale SemiconductorFigure 19-52. Initiator Arbitration Block Diagram19.4.2.1 Priority SchemeThe PCI initiato

Pagina 525

Functional Description MCF548x Reference Manual, Rev. 3Freescale Semiconductor 19-57The particular type of PCI transaction generated is determined by

Pagina 526

MCF548x Reference Manual, Rev. 319-58 Freescale Semiconductorrequest to the PCI bus comes in, the data transfer is delayed until all previous writes t

Pagina 527

Functional Description MCF548x Reference Manual, Rev. 3Freescale Semiconductor 19-59000 100 OP4 OP5 OP6 OP7 — — — — 00 0000 OP7 OP6 OP5 OP4001 100 —

Pagina 528

MCF548x Reference Manual, Rev. 319-60 Freescale Semiconductor19.4.4.2 Configuration MechanismIn order to support both Type 0 and Type 1 configuration

Pagina 529

Functional Description MCF548x Reference Manual, Rev. 3Freescale Semiconductor 19-61The MCF548x can issue PCI configuration transactions to itself. A

Pagina 530

MCF548x Reference Manual, Rev. 319-62 Freescale Semiconductor19.4.4.2.2 Type 1 Configuration TranslationFor Type 1 translations, the 30 high-order bit

Pagina 531

Functional Description MCF548x Reference Manual, Rev. 3Freescale Semiconductor 19-63assigned by the PCI SIG Steering Committee. The current list of d

Pagina 532 - 19.4 Functional Description

MCF548x Reference Manual, Rev. 319-64 Freescale SemiconductorUpon detection of a PCI address phase, the PCI controller decodes the address and bus com

Pagina 533 - 19.4.1.3 PCI Transactions

Functional Description MCF548x Reference Manual, Rev. 3Freescale Semiconductor 19-65Table 19-53. Aligned PCI to XL Bus TransfersPCI Bus XL BusBE[3:0]

Pagina 534 - 012345678

Terminology and Notational ConventionsMCF548x Reference Manual, Rev. 3Freescale Semiconductor lv25.1.2/25-2 Add the following section after section 24

Pagina 535 - 19.4.1.4 PCI Bus Commands

MCF548x Reference Manual, Rev. 319-66 Freescale Semiconductor19.4.5.4 Target AbortA target abort will occur if the PCI address falls within a base add

Pagina 536 - 19.4.1.5 Addressing

Functional Description MCF548x Reference Manual, Rev. 3Freescale Semiconductor 19-67on the XL bus will have 100% bandwidth available to them during P

Pagina 537

MCF548x Reference Manual, Rev. 319-68 Freescale Semiconductor19.4.6.3 Data TranslationThe PCI bus is inherently little endian in its byte ordering. Th

Pagina 538 - 31 11 10 8 7 2 1 0

Functional Description MCF548x Reference Manual, Rev. 3Freescale Semiconductor 19-69If Continuous mode is active, basic operation is still straight f

Pagina 539 - 19.4.2 Initiator Arbitration

MCF548x Reference Manual, Rev. 319-70 Freescale Semiconductor19.4.6.9 Bus ErrorsBecause bus errors are particular to the module register set and that

Pagina 540 - 19.4.2.1 Priority Scheme

Application Information MCF548x Reference Manual, Rev. 3Freescale Semiconductor 19-71read and write requests from an XL bus master and decodes them t

Pagina 541 - Freescale Semiconductor 19-57

MCF548x Reference Manual, Rev. 319-72 Freescale Semiconductor19.5.2.1 Address Translation19.5.2.1.1 Inbound Address TranslationThe MCF548x-as-target o

Pagina 542 - 19.4.4.1 Endian Translation

Application Information MCF548x Reference Manual, Rev. 3Freescale Semiconductor 19-73Figure 19-54. Inbound Address Map19.5.2.1.2 Outbound Address Tra

Pagina 543 - Transactions (Continued)

MCF548x Reference Manual, Rev. 319-74 Freescale SemiconductorFigure 19-55. Outbound Address Map19.5.2.1.3 Base Address Register OverviewTable 19-58 sh

Pagina 544 - 31 11 10 2 1 0

XL Bus Arbitration Priority MCF548x Reference Manual, Rev. 3Freescale Semiconductor 19-7519.6 XL Bus Arbitration PriorityTo prevent XL bus arbitratio

Pagina 545

MCF548x Reference Manual, Rev. 3lvi Freescale Semiconductor27.6.1/27-5 Remove instances of MDIS bit as it is not present on this version of the DSPI.T

Pagina 546 - 19-62 Freescale Semiconductor

MCF548x Reference Manual, Rev. 319-76 Freescale Semiconductor

Pagina 547

MCF548x Reference Manual, Rev. 3Freescale Semiconductor 20-1Chapter 20 PCI Bus Arbiter Module20.1 IntroductionThis chapter describes the MCF548x PCI

Pagina 548 - 19.4.5.3 Data Translation

MCF548x Reference Manual, Rev. 320-2 Freescale Semiconductor20.1.3 Features• Direct support for up to five external PCI bus masters• Fair arbitration

Pagina 549

Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 20-320.2.5 External Bus Grant/Request Output (PCIBG0/PCIREQOUT)The PCIBG0

Pagina 550 - 19.4.5.5 Latrule Disable

MCF548x Reference Manual, Rev. 320-4 Freescale SemiconductorTable 20-2. PACR Field DescriptionsBits Name Description31 DS Disable bit for the internal

Pagina 551 - 19.4.6.2 Addressing

Functional Description MCF548x Reference Manual, Rev. 3Freescale Semiconductor 20-520.3.2 PCI Arbiter Status Register (PASR)20.4 Functional Descripti

Pagina 552 - 19.4.6.5 Restart and Reset

MCF548x Reference Manual, Rev. 320-6 Freescale Semiconductor20.4.2 Arbitration20.4.2.1 Hidden Bus ArbitrationPCI bus arbitration can take place while

Pagina 553 - 19.4.6.8 Alarms

Functional Description MCF548x Reference Manual, Rev. 3Freescale Semiconductor 20-7Figure 20-4. PCI Arbitration Initial State20.4.2.3 Arbitration Lat

Pagina 554 - 19.5 Application Information

MCF548x Reference Manual, Rev. 320-8 Freescale SemiconductorFigure 20-5. Alternating PriorityDevice 0 and device 1 assert REQ while the bus is parked

Pagina 555 - 19.5.2 Address Maps

Functional Description MCF548x Reference Manual, Rev. 3Freescale Semiconductor 20-9Figure 20-6. Higher Priority OverrideThe arbiter again deasserts d

Pagina 556 - 19.5.2.1 Address Translation

Terminology and Notational ConventionsMCF548x Reference Manual, Rev. 3Freescale Semiconductor lviiFigure 31-3/Page 31-10 Remove overbar from ALE at lo

Pagina 557 - Application Information

MCF548x Reference Manual, Rev. 320-10 Freescale Semiconductorconsidered “broken” and subsequent requests are acknowledged. This “never-mind” scenario

Pagina 558

MCF548x Reference Manual, Rev. 3Freescale Semiconductor 21-1Chapter 21 FlexCAN21.1 IntroductionThe FlexCAN module is a communication controller imple

Pagina 559 - XL Bus Arbitration Priority

MCF548x Reference Manual, Rev. 321-2 Freescale SemiconductorFigure 21-2. FlexCAN Message Buffer Architecture21.1.2 The CAN SystemA typical CAN system

Pagina 560 - 19-76 Freescale Semiconductor

Introduction MCF548x Reference Manual, Rev. 3Freescale Semiconductor 21-3bus. It can also provide protection against damage to the FlexCAN caused by

Pagina 561 - PCI Bus Arbiter Module

MCF548x Reference Manual, Rev. 321-4 Freescale Semiconductor• The prescaler is disabled, thus halting all CAN bus communication.• The FlexCAN ignores

Pagina 562 - 20.2.3 PCI Clock (CLKIN)

External Signals MCF548x Reference Manual, Rev. 3Freescale Semiconductor 21-521.2 External SignalsThe FlexCAN module has two I/O signals connected to

Pagina 563 - 20.3 Register Definition

MCF548x Reference Manual, Rev. 321-6 Freescale Semiconductor21.3.2 Register DescriptionsThis section describes the registers in the FlexCAN module. NO

Pagina 564

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 21-7Table 21-2. CANMCR Field DescriptionsBits Name Description

Pagina 565 - 20.4 Functional Description

MCF548x Reference Manual, Rev. 321-8 Freescale Semiconductor21.3.2.2 FlexCAN Control Register (CANCTRL)CANCTRL is defined for specific FlexCAN control

Pagina 566 - 20.4.2 Arbitration

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 21-9Table 21-3. CANCTRL Field DescriptionsBits Name Descriptio

Pagina 567 - 20.4.2.4 Arbitration Examples

MCF548x Reference Manual, Rev. 3lviii Freescale Semiconductor

Pagina 568

MCF548x Reference Manual, Rev. 321-10 Freescale Semiconductor21.3.2.3 FlexCAN Timer Register (TIMER)This register represents a 16-bit free running cou

Pagina 569 - 20.4.3 Master Time-Out

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 21-11The timer value is captured at the beginning of the ident

Pagina 570 - 20.6 Interrupts

MCF548x Reference Manual, Rev. 321-12 Freescale Semiconductor21.3.2.4.1 FlexCAN Rx Global Mask Register (RXGMASK)The Rx global mask bits are applied t

Pagina 571 - Chapter 21

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 21-1321.3.2.4.2 FlexCAN Rx 14 Mask Register (RX14MASK)The RX14

Pagina 572 - 21.1.2 The CAN System

MCF548x Reference Manual, Rev. 321-14 Freescale Semiconductor21.3.2.5 FlexCAN Error Counter Register (ERRCNT)This register has two 8-bit fields reflec

Pagina 573 - 21.1.4 Modes of Operation

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 21-15to zero and counts in a manner where the internal counter

Pagina 574 - 21.1.4.5 Listen-Only Mode

MCF548x Reference Manual, Rev. 321-16 Freescale SemiconductorTable 21-8 describes the ERRSTAT fields.31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16R0

Pagina 575 - 21.2 External Signals

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 21-1721.3.2.7 Interrupt Mask Register (IMASK)IMASK contains on

Pagina 576 - 21.3.2 Register Descriptions

MCF548x Reference Manual, Rev. 321-18 Freescale SemiconductorTable 21-10 describes the IMASK fields.21.3.2.8 Interrupt Flag Register (IFLAG)IFLAG cont

Pagina 577

Functional Overview MCF548x Reference Manual, Rev. 3Freescale Semiconductor 21-1921.4 Functional OverviewThe FlexCAN module is flexible in that each

Pagina 578

MCF548x Reference Manual, Rev. 3Freescale Semiconductor 1-1Chapter 1 OverviewThis chapter provides an overview of the MCF548x microprocessor feature

Pagina 579

MCF548x Reference Manual, Rev. 321-20 Freescale Semiconductor313029282726252423 22 21 20 1918171615141312111098765432100x0 CODE SRR IDE RTR LENGTH TIM

Pagina 580

Functional Overview MCF548x Reference Manual, Rev. 3Freescale Semiconductor 21-2128–0 ID [28:18] Standard frame identifier: In standard frame format,

Pagina 581 - 21.3.2.4 Rx Mask Registers

MCF548x Reference Manual, Rev. 321-22 Freescale Semiconductor21.4.2 Message Buffer Memory Map The message buffer memory map starts at an offset of 0x8

Pagina 582

Functional Overview MCF548x Reference Manual, Rev. 3Freescale Semiconductor 21-23Figure 21-13. FlexCAN Message Buffer Memory Map21.4.3 Transmit Proce

Pagina 583

MCF548x Reference Manual, Rev. 321-24 Freescale SemiconductorOnce the arbitration process is complete and there is a “winner” MB for transmission, the

Pagina 584

Functional Overview MCF548x Reference Manual, Rev. 3Freescale Semiconductor 21-25was captured at the beginning of the ID field on the CAN bus) is wri

Pagina 585

MCF548x Reference Manual, Rev. 321-26 Freescale Semiconductorlost. Two or more receive MBs that hold a matching ID to a received frame do not assure r

Pagina 586

Functional Overview MCF548x Reference Manual, Rev. 3Freescale Semiconductor 21-27• There is a point in time until which the deactivation of a Tx MB c

Pagina 587

MCF548x Reference Manual, Rev. 321-28 Freescale SemiconductorWhen transmitting a remote frame, the user initializes a message buffer as a transmit mes

Pagina 588 - 151141391211109876543210

Functional Overview MCF548x Reference Manual, Rev. 3Freescale Semiconductor 21-29• SYNC_SEG: This segment has a fixed length of one time quantum. Sig

Pagina 589 - 21.4 Functional Overview

MCF548x Reference Manual, Rev. 3vi Freescale SemiconductorContentsParagraphNumberTitlePageNumber2.2.1.4 Read/Write (R/W) ...

Pagina 590

MCF548x Reference Manual, Rev. 31-2 Freescale SemiconductorWith on-chip support for multiple common communications interfaces, MCF548x products requi

Pagina 591 - Functional Overview

MCF548x Reference Manual, Rev. 321-30 Freescale SemiconductorIf PSEG2 equals two, then the FlexCAN transmits one time quantum late relative to the sch

Pagina 592

FlexCAN Initialization Sequence MCF548x Reference Manual, Rev. 3Freescale Semiconductor 21-31• If the RXECTR increases to a value greater than 127, i

Pagina 593 - 21.4.3 Transmit Process

MCF548x Reference Manual, Rev. 321-32 Freescale Semiconductor

Pagina 594 - 21.4.5 Receive Process

MCF548x Reference Manual, Rev. 3Freescale Semiconductor 22-1Chapter 22 Integrated Security Engine (SEC)This chapter provides an overview of the MCF54

Pagina 595 - 21.4.5.1 Self-Received Frames

MCF548x Reference Manual, Rev. 322-2 Freescale Semiconductordefine the cryptographic function to be performed and the location of the data. The SEC’s

Pagina 596 - 21-26 Freescale Semiconductor

Overview MCF548x Reference Manual, Rev. 3Freescale Semiconductor 22-322.4.2 SEC Controller UnitThe SEC controller unit manages on-chip resources, inc

Pagina 597 - 21.4.7.1 Remote Frames

MCF548x Reference Manual, Rev. 322-4 Freescale Semiconductor4. Wait for EU to complete processing.5. Upon completion, unload results and context and w

Pagina 598 - 21.4.9 Bit Timing

Overview MCF548x Reference Manual, Rev. 3Freescale Semiconductor 22-5Figure 22-2. DES Encryption ProcessIn addition, the DEU module can compute Tripl

Pagina 599

MCF548x Reference Manual, Rev. 322-6 Freescale SemiconductorFigure 22-4. RC4 Encryption Process22.4.4.3 Advanced Encryption Standard Execution Unit (A

Pagina 600 - x ≤ 127

Overview MCF548x Reference Manual, Rev. 3Freescale Semiconductor 22-7• The MDEU also supports HMAC computations, as specified in RFC 2104. With any h

Pagina 601 - 21.5.1 Interrupts

MCF548x Family Products MCF548x Reference Manual, Rev. 3Freescale Semiconductor 1-31.3 MCF548x Family ProductsTable 1-1 summarizes the products avai

Pagina 602 - 21-32 Freescale Semiconductor

MCF548x Reference Manual, Rev. 322-8 Freescale Semiconductor22.4.4.5 Random Number Generator (RNG)The RNG is a digital integrated circuit capable of g

Pagina 603 - Chapter 22

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 22-90x21008 SIMRH SEC Interrupt Mask Register High p. 22-140x2

Pagina 604 - 22.4 Overview

MCF548x Reference Manual, Rev. 322-10 Freescale Semiconductor22.6 ControllerThe controller within the SEC core is responsible for overseeing the opera

Pagina 605 - 22.4.3 Crypto-Channels

Controller MCF548x Reference Manual, Rev. 3Freescale Semiconductor 22-1122.6.1 EU AccessAssignment of an EU function to a channel is done either stat

Pagina 606 - 22.4.4 Execution Units (EUs)

MCF548x Reference Manual, Rev. 322-12 Freescale SemiconductorTable 22-4 describes the EUACRH and EUACRL fields.31 30 29 28 27 26 25 24 23 22 21 20 19

Pagina 607

Controller MCF548x Reference Manual, Rev. 3Freescale Semiconductor 22-1322.6.4.2 EU Assignment Status Registers (EUASRH and EUASRL)The EUASR register

Pagina 608

MCF548x Reference Manual, Rev. 322-14 Freescale Semiconductor22.6.4.3 SEC Interrupt Mask Registers (SIMRH and SIMRL)The SEC generates a single interru

Pagina 609

Controller MCF548x Reference Manual, Rev. 3Freescale Semiconductor 22-15I31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16Field CHA_1 CHA_0 AERR —Defin

Pagina 610 - Table 22-3. SEC Register Map

MCF548x Reference Manual, Rev. 322-16 Freescale Semiconductor22.6.4.6 SEC ID Register (SIDR)The read-only SEC ID register, displayed in Figure 22-13,

Pagina 611 - Mnemonic Name Page

Controller MCF548x Reference Manual, Rev. 3Freescale Semiconductor 22-1722.6.4.7 SEC Master Control Register (SMCR)The SEC master control register (S

Pagina 612 - 22.6 Controller

MCF548x Reference Manual, Rev. 31-4 Freescale Semiconductor— Memory management unit (MMU)– Separate, 32-entry, fully-associative instruction and data

Pagina 613 - 22.6.4 Controller Registers

MCF548x Reference Manual, Rev. 322-18 Freescale Semiconductor22.6.4.8 Master Error Address Register (MEAR)This register saves the address of the trans

Pagina 614

Channels MCF548x Reference Manual, Rev. 3Freescale Semiconductor 22-19store the ciphered data the EU outputs. Through a series of requests to the con

Pagina 615 - Controller

MCF548x Reference Manual, Rev. 322-20 Freescale Semiconductor31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16R0000000000000000WReset000000000000000015

Pagina 616 - 22-14 Freescale Semiconductor

Channels MCF548x Reference Manual, Rev. 3Freescale Semiconductor 22-21Table 22-12 defines the burst size according to the value displayed in the BURS

Pagina 617

MCF548x Reference Manual, Rev. 322-22 Freescale Semiconductor31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16R0000000000000000WReset0000000000000000151

Pagina 618

Channels MCF548x Reference Manual, Rev. 3Freescale Semiconductor 22-23Table 22-14. CCPSRLn Field DescriptionsBits Name Description31–27 — Reserved, s

Pagina 619

MCF548x Reference Manual, Rev. 322-24 Freescale Semiconductor18 SRD Secondary EU reset done. Reflects the state of the reset done signal from the assi

Pagina 620 - 22.7 Channels

Channels MCF548x Reference Manual, Rev. 3Freescale Semiconductor 22-25Table 22-15 shows the values of crypto-channel states. 8 EUERR EU error. An EU

Pagina 621 - Freescale Semiconductor 22-19

MCF548x Reference Manual, Rev. 322-26 Freescale Semiconductor0x12 Write mode secondary0x13 Write datasize primary0x14 Delay rng done0x15 Write datasiz

Pagina 622

Channels MCF548x Reference Manual, Rev. 3Freescale Semiconductor 22-2722.7.1.3 Crypto-Channel Current Descriptor Pointer Register (CDPRn)The CDPR, sh

Pagina 623 - Channels

MCF548x Family Features MCF548x Reference Manual, Rev. 3Freescale Semiconductor 1-5— Execution units for the following:– DES/3DES block cipher– AES

Pagina 624

MCF548x Reference Manual, Rev. 322-28 Freescale SemiconductorTable 22-17 describes the FRn fields.22.7.1.5 Data Packet Descriptor Buffer (CDBUFn)This

Pagina 625

ARC Four Execution Unit (AFEU) MCF548x Reference Manual, Rev. 3Freescale Semiconductor 22-29hardware reset, software reset, or module initialization,

Pagina 626

MCF548x Reference Manual, Rev. 322-30 Freescale SemiconductorFigure 22-22. AFEU Status Register (AFSR)Table 22-19 describes AFEU status register field

Pagina 627

ARC Four Execution Unit (AFEU) MCF548x Reference Manual, Rev. 3Freescale Semiconductor 22-3122.8.4 AFEU Interrupt Status Register (AFISR)The interrup

Pagina 628

MCF548x Reference Manual, Rev. 322-32 Freescale Semiconductor22.8.5 AFEU Interrupt Mask Register (AFIMR)The interrupt mask register, shown in Figure 2

Pagina 629 - 22.7.1.4 Fetch Register (FRn)

ARC Four Execution Unit (AFEU) MCF548x Reference Manual, Rev. 3Freescale Semiconductor 22-33Figure 22-24. AFEU Interrupt Mask Register (AFIMR)Table 2

Pagina 630 - 22.8.1 AFEU Register Map

MCF548x Reference Manual, Rev. 322-34 Freescale Semiconductor22.9 Data Encryption Standard Execution Units (DEU)This section contains details about th

Pagina 631

Data Encryption Standard Execution Units (DEU) MCF548x Reference Manual, Rev. 3Freescale Semiconductor 22-35Figure 22-25. DEU Reset Control Register

Pagina 632

MCF548x Reference Manual, Rev. 322-36 Freescale SemiconductorFigure 22-26. DEU Status Register (DSR)Table 22-23 describes the DEU status register’s bi

Pagina 633

Data Encryption Standard Execution Units (DEU) MCF548x Reference Manual, Rev. 3Freescale Semiconductor 22-3722.9.4 DEU Interrupt Status Register (DIS

Pagina 634

MCF548x Reference Manual, Rev. 31-6 Freescale SemiconductorThe ColdFire V4e processor contains a double-precision floating point unit (FPU). The FPU

Pagina 635

MCF548x Reference Manual, Rev. 322-38 Freescale Semiconductor29 OFE Output FIFO error. The DEU output FIFO was detected non-empty upon write of DEU da

Pagina 636 - 22.9.1 DEU Register Map

Data Encryption Standard Execution Units (DEU) MCF548x Reference Manual, Rev. 3Freescale Semiconductor 22-3922.9.5 DEU Interrupt Mask Register (DIMR)

Pagina 637

MCF548x Reference Manual, Rev. 322-40 Freescale Semiconductor22.10 Message Digest Execution Unit (MDEU)This section contains details about the message

Pagina 638

Message Digest Execution Unit (MDEU) MCF548x Reference Manual, Rev. 3Freescale Semiconductor 22-4122.10.2 MDEU Reset Control Register (MDRCR)This reg

Pagina 639

MCF548x Reference Manual, Rev. 322-42 Freescale SemiconductorFigure 22-30. MDEU Status Register (MDSR)Table 22-27 describes MDEU status register field

Pagina 640

Message Digest Execution Unit (MDEU) MCF548x Reference Manual, Rev. 3Freescale Semiconductor 22-4322.10.4 MDEU Interrupt Status Register (MDISR)The i

Pagina 641

MCF548x Reference Manual, Rev. 322-44 Freescale Semiconductor22.10.5 MDEU Interrupt Mask Register (MDIMR)The MDEU interrupt mask register, shown in Fi

Pagina 642 - 22.10.1 MDEU Register Map

Message Digest Execution Unit (MDEU) MCF548x Reference Manual, Rev. 3Freescale Semiconductor 22-45Figure 22-32. MDEU Interrupt Mask Register (MDIMR)T

Pagina 643

MCF548x Reference Manual, Rev. 322-46 Freescale Semiconductor22.11 RNG Execution Unit (RNG)The RNG is an execution unit capable of generating 32-bit r

Pagina 644

RNG Execution Unit (RNG) MCF548x Reference Manual, Rev. 3Freescale Semiconductor 22-4722.11.3 RNG Status Register (RNGSR)This RNG status register, Fi

Pagina 645 - Figure 22-31

MCF548x Family Features MCF548x Reference Manual, Rev. 3Freescale Semiconductor 1-7boundary-scan register, and a 32-bit ID register). The boundary s

Pagina 646

MCF548x Reference Manual, Rev. 322-48 Freescale Semiconductor22.11.4 RNG Interrupt Status Register (RNGISR)The RNG interrupt status register tracks th

Pagina 647

RNG Execution Unit (RNG) MCF548x Reference Manual, Rev. 3Freescale Semiconductor 22-49Table 22-32 describes RNG interrupt status register fields.22.1

Pagina 648 - 22.11.1 RNG Register Map

MCF548x Reference Manual, Rev. 322-50 Freescale Semiconductor22.12 Advanced Encryption Standard Execution Units (AESU)This section contains details a

Pagina 649 - RNG Execution Unit (RNG)

Advanced Encryption Standard Execution Units (AESU) MCF548x Reference Manual, Rev. 3Freescale Semiconductor 22-51Figure 22-36. AESU Reset Control Re

Pagina 650 - Figure 22-35

MCF548x Reference Manual, Rev. 322-52 Freescale SemiconductorFigure 22-37. AESU Status Register (AESSR)Table 22-35 describes AESU status register fiel

Pagina 651

Advanced Encryption Standard Execution Units (AESU) MCF548x Reference Manual, Rev. 3Freescale Semiconductor 22-5322.12.4 AESU Interrupt Status Regis

Pagina 652 - 22.12.1 AESU Register Map

MCF548x Reference Manual, Rev. 322-54 Freescale Semiconductor22.12.5 AESU Interrupt Mask Register (AESIMR)The AESU interrupt mask register, shown in F

Pagina 653

Advanced Encryption Standard Execution Units (AESU) MCF548x Reference Manual, Rev. 3Freescale Semiconductor 22-55and the interrupt status register i

Pagina 654

MCF548x Reference Manual, Rev. 322-56 Freescale Semiconductor22.13 DescriptorsAs an IPSec accelerator, the SEC has been targeted for ease of use and i

Pagina 655 - Figure 22-38

Descriptors MCF548x Reference Manual, Rev. 3Freescale Semiconductor 22-57Figure 22-40. Data Packet Descriptor Format 22.13.1.1 Descriptor HeaderDescr

Pagina 656

MCF548x Reference Manual, Rev. 31-8 Freescale Semiconductor1.4.6 Communications I/O Subsystem1.4.6.1 DMA ControllerThe communications subsystem conta

Pagina 657

MCF548x Reference Manual, Rev. 322-58 Freescale Semiconductor Table 22-38. Header Bit DefinitionsBits Name Description31–28 PEUSEL Primary execution u

Pagina 658 - 22.13 Descriptors

Descriptors MCF548x Reference Manual, Rev. 3Freescale Semiconductor 22-59Table 22-39 shows the permissible values for the descriptor TYPE field in th

Pagina 659 - 22.13.1.1 Descriptor Header

MCF548x Reference Manual, Rev. 322-60 Freescale Semiconductor22.13.1.2 Descriptor Length and Pointer FieldsThe length and pointer fields represent one

Pagina 660

Descriptors MCF548x Reference Manual, Rev. 3Freescale Semiconductor 22-6122.13.1.3 Null FieldsOn occasion, a descriptor field may not be applicable t

Pagina 661 - Table 22-39. Descriptor Types

MCF548x Reference Manual, Rev. 322-62 Freescale SemiconductorFigure 22-45. Chain of Descriptors22.13.3 Descriptor Type FormatsThe SEC accepts 12 fixe

Pagina 662 - 31 16 15 0

Descriptors MCF548x Reference Manual, Rev. 3Freescale Semiconductor 22-63Table 22-44 shows how the length/pointer pairs should be used with the vario

Pagina 663 - 22.13.2 Descriptor Chaining

MCF548x Reference Manual, Rev. 322-64 Freescale Semiconductor22.13.4 Descriptor ClassesThe SEC has two general classes of descriptors: dynamic, which

Pagina 664 - Table 22-43. Descriptor Types

Descriptors MCF548x Reference Manual, Rev. 3Freescale Semiconductor 22-6522.13.4.2 Static DescriptorsRecall that the SEC has five execution units and

Pagina 665 - Descriptors

MCF548x Reference Manual, Rev. 322-66 Freescale SemiconductorThe middle (and multiple subsequent) descriptors contains length/pointer pairs to the rem

Pagina 666 - 22.13.4 Descriptor Classes

EU Specific Data Packet Descriptors MCF548x Reference Manual, Rev. 3Freescale Semiconductor 22-67Because the key and context are unchanging over mult

Pagina 667 - 22.13.4.2 Static Descriptors

MCF548x Family Features MCF548x Reference Manual, Rev. 3Freescale Semiconductor 1-9• 4 Kbytes of shared endpoint FIFO RAM and 1 Kbyte of endpoint de

Pagina 668

MCF548x Reference Manual, Rev. 322-68 Freescale SemiconductorThe AFEU mode bits do not control cryptographic modes, only operational modes. Therefore,

Pagina 669

EU Specific Data Packet Descriptors MCF548x Reference Manual, Rev. 3Freescale Semiconductor 22-69Table 22-51 shows the descriptor format to load a pr

Pagina 670

MCF548x Reference Manual, Rev. 322-70 Freescale SemiconductorTable 22-53 shows the descriptor format to load a previously generated context into the A

Pagina 671

EU Specific Data Packet Descriptors MCF548x Reference Manual, Rev. 3Freescale Semiconductor 22-71Table 22-54 shows the descriptor format for the midd

Pagina 672

MCF548x Reference Manual, Rev. 322-72 Freescale Semiconductor22.14.2 DEU Mode Options and Data Packet DescriptorsFigure 22-47 shows the DEU options th

Pagina 673

EU Specific Data Packet Descriptors MCF548x Reference Manual, Rev. 3Freescale Semiconductor 22-7322.14.2.1 Dynamically Assigned DEUFor IPSec processi

Pagina 674 - — CETSED

MCF548x Reference Manual, Rev. 322-74 Freescale Semiconductor22.14.2.2 Statically Assigned DEUWhen statically assigned, it can be assumed that no othe

Pagina 675

EU Specific Data Packet Descriptors MCF548x Reference Manual, Rev. 3Freescale Semiconductor 22-75Table 22-61 shows the middle descriptor that perform

Pagina 676

MCF548x Reference Manual, Rev. 322-76 Freescale SemiconductorTable 22-63 shows the final descriptor that performs a cipher on data using the key and o

Pagina 677

EU Specific Data Packet Descriptors MCF548x Reference Manual, Rev. 3Freescale Semiconductor 22-7722.14.3 MDEU Mode Options and Data Packet Descriptor

Pagina 678

MCF548x Reference Manual, Rev. 31-10 Freescale Semiconductor• DMA support1.4.6.7 Controller Area Network (CAN)The FlexCAN modules are communication c

Pagina 679 - — INT HMAC PD ALG

MCF548x Reference Manual, Rev. 322-78 Freescale SemiconductorThe MDEU implements hardware accelerated hashing of data using MD5, SHA-160, or SHA-256.B

Pagina 680

EU Specific Data Packet Descriptors MCF548x Reference Manual, Rev. 3Freescale Semiconductor 22-79(outbound) or compare the hash generated by the SEC

Pagina 681

MCF548x Reference Manual, Rev. 322-80 Freescale SemiconductorTable 22-70 lists several different descriptors that use the format shown in Table 22-69.

Pagina 682

EU Specific Data Packet Descriptors MCF548x Reference Manual, Rev. 3Freescale Semiconductor 22-81Table 22-72 lists several different descriptors that

Pagina 683

MCF548x Reference Manual, Rev. 322-82 Freescale SemiconductorTable 22-74 lists several different descriptors that use the final MDEU descriptor format

Pagina 684

EU Specific Data Packet Descriptors MCF548x Reference Manual, Rev. 3Freescale Semiconductor 22-8322.14.5 AESU Mode Options and Data Packet Descriptor

Pagina 685 - IM — CM ED

MCF548x Reference Manual, Rev. 322-84 Freescale Semiconductor22.14.5.1 Dynamically Assigned AESUTable 22-77 shows a descriptor for a dynamically assig

Pagina 686

EU Specific Data Packet Descriptors MCF548x Reference Manual, Rev. 3Freescale Semiconductor 22-85Table 22-78 lists several different descriptors that

Pagina 687

MCF548x Reference Manual, Rev. 322-86 Freescale SemiconductorTable 22-80 lists several different descriptors that use the format shown in Table 22-79.

Pagina 688

EU Specific Data Packet Descriptors MCF548x Reference Manual, Rev. 3Freescale Semiconductor 22-87Table 22-83 shows the final descriptor for a statica

Pagina 689

MCF548x Family Features MCF548x Reference Manual, Rev. 3Freescale Semiconductor 1-11frequency from 33–66 MHz. The Flexbus is targeted to support ext

Pagina 690

MCF548x Reference Manual, Rev. 322-88 Freescale Semiconductor22.14.5.3 AESU-CCM Mode DescriptorThe SEC supports single pass, single descriptor AES-CCM

Pagina 691

EU Specific Data Packet Descriptors MCF548x Reference Manual, Rev. 3Freescale Semiconductor 22-89Table 22-87 shows the format used for the context ou

Pagina 692

MCF548x Reference Manual, Rev. 322-90 Freescale SemiconductorTable 22-89 shows the format used for the context input for AES-CCM.Table 22-87 shows the

Pagina 693 - 22.14.6.1 Snooping

EU Specific Data Packet Descriptors MCF548x Reference Manual, Rev. 3Freescale Semiconductor 22-91such that the same data read into the DEU, AESU, or

Pagina 694

MCF548x Reference Manual, Rev. 322-92 Freescale SemiconductorDEU/AESU and MDEU only reading the portion that matches the starting address and byte len

Pagina 695

EU Specific Data Packet Descriptors MCF548x Reference Manual, Rev. 3Freescale Semiconductor 22-93Table 22-93 lists typical AESU/HMAC multi-function d

Pagina 696

MCF548x Reference Manual, Rev. 322-94 Freescale Semiconductorcopy the last 8 bytes of the ciphertext to the Security Association Database Entry for th

Pagina 697

EU Specific Data Packet Descriptors MCF548x Reference Manual, Rev. 3Freescale Semiconductor 22-95Table 22-96 lists typical AESU/HMAC multi-function d

Pagina 698

MCF548x Reference Manual, Rev. 322-96 Freescale SemiconductorTable 22-98 lists typical DEU/HMAC multi-function descriptor header values for the first

Pagina 699

EU Specific Data Packet Descriptors MCF548x Reference Manual, Rev. 3Freescale Semiconductor 22-97Table 22-99 lists typical AESU/HMAC multi-function d

Pagina 700

MCF548x Reference Manual, Rev. 3Freescale Semiconductor viiContentsParagraphNumberTitlePageNumber2.2.5.1 Reset In (RSTI) ...

Pagina 701

MCF548x Reference Manual, Rev. 31-12 Freescale Semiconductor1.4.11.2 Interrupt ControllerThe interrupt controller on the MCF548x family can support u

Pagina 702

MCF548x Reference Manual, Rev. 322-98 Freescale SemiconductorTable 22-100 shows the representative descriptor format for the middle descriptors in a s

Pagina 703

EU Specific Data Packet Descriptors MCF548x Reference Manual, Rev. 3Freescale Semiconductor 22-99Table 22-102 lists typical AESU/HMAC multi-function

Pagina 704

MCF548x Reference Manual, Rev. 322-100 Freescale SemiconductorTable 22-103 shows the representative descriptor format for the final descriptor in a st

Pagina 705

EU Specific Data Packet Descriptors MCF548x Reference Manual, Rev. 3Freescale Semiconductor 22-101Table 22-104 lists typical DEU/HMAC multi-function

Pagina 706

MCF548x Reference Manual, Rev. 322-102 Freescale SemiconductorTable 22-105 lists typical AESU/HMAC multi-function descriptor header values.22.14.6.4 S

Pagina 707

EU Specific Data Packet Descriptors MCF548x Reference Manual, Rev. 3Freescale Semiconductor 22-103performs the HMAC function first, then attaches the

Pagina 708

MCF548x Reference Manual, Rev. 322-104 Freescale SemiconductorTable 22-107 lists several different descriptor header values that can be used for the o

Pagina 709 - Chapter 23

EU Specific Data Packet Descriptors MCF548x Reference Manual, Rev. 3Freescale Semiconductor 22-105The primary EU is the AFEU, with its mode bits set

Pagina 710 - 23.1.3 Modes of Operation

MCF548x Reference Manual, Rev. 322-106 Freescale SemiconductorTable 22-111 lists several different descriptor header values that can be used for the o

Pagina 711

MCF548x Reference Manual, Rev. 3Freescale Semiconductor 23-1Chapter 23 IEEE 1149.1 Test Access Port (JTAG)23.1 IntroductionThe Joint Test Action Grou

Pagina 712 - 23.3.2 Register Descriptions

MCF548x Reference Manual, Rev. 3Freescale Semiconductor 2-1Chapter 2 Signal Descriptions2.1 IntroductionThis chapter describes the MCF548x signals. N

Pagina 713 - 23.3.2.5 TEST_CTRL Register

MCF548x Reference Manual, Rev. 323-2 Freescale Semiconductor23.1.2 FeaturesThe basic features of the JTAG module are the following:• Performs boundary

Pagina 714 - 23.4 Functional Description

External Signal Description MCF548x Reference Manual, Rev. 3Freescale Semiconductor 23-3When one module is selected, the inputs into the other module

Pagina 715 - 23.4.3 JTAG Instructions

MCF548x Reference Manual, Rev. 323-4 Freescale Semiconductor23.2.1.5 Test Reset/Development Serial Clock (TRST/DSCLK)The TRST pin is an active low asy

Pagina 716 - 23.4.3.2 IDCODE Instruction

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 23-523.3.2.3 Bypass RegisterThe bypass register is a single-bi

Pagina 717 - 23.5.1 Restrictions

MCF548x Reference Manual, Rev. 323-6 Freescale Semiconductor23.3.2.6 Boundary Scan RegisterThe boundary scan register is connected between TDI and TDO

Pagina 718 - 23-10 Freescale Semiconductor

Functional Description MCF548x Reference Manual, Rev. 3Freescale Semiconductor 23-7Figure 23-3. TAP Controller State Machine Flow23.4.3 JTAG Instruct

Pagina 719 - Communications Subsystem

MCF548x Reference Manual, Rev. 323-8 Freescale Semiconductor23.4.3.1 External Test Instruction (EXTEST)The EXTEST instruction selects the boundary sca

Pagina 720

Initialization/Application Information MCF548x Reference Manual, Rev. 3Freescale Semiconductor 23-923.4.3.4 ENABLE_TEST_CTRL InstructionThe ENABLE_TE

Pagina 721 - Multichannel DMA

MCF548x Reference Manual, Rev. 323-10 Freescale Semiconductor

Pagina 722 - 24.1.3 Features

MCF548x Reference Manual, Rev. 3Freescale Semiconductor iPart IVCommunications SubsystemPart IV contains chapters that discuss the operation and confi

Pagina 723 - 24.2 External Signals

MCF548x Reference Manual, Rev. 32-2 Freescale SemiconductorFigure 2-1. MCF548x SignalsMCF548xE0MDIO / PFECI2C3E0CRS / PFEC0H0E0TXD[3:1] / PFEC0L[7:5]E

Pagina 724 - 24.3.2 Memory Structure

MCF548x Reference Manual, Rev. 3ii Freescale Semiconductor

Pagina 725 - 24.3.3 DMA Registers

MCF548x Reference Manual, Rev. 3Freescale Semiconductor 24-1Chapter 24 Multichannel DMA 24.1 IntroductionThe MCF548x’s direct memory access controlle

Pagina 726

MCF548x Reference Manual, Rev. 324-2 Freescale Semiconductor24.1.2 OverviewThe DMA controller processes microcode tasks that are stored in memory. A t

Pagina 727 - 24.3.3.3 Current Pointer (CP)

External Signals MCF548x Reference Manual, Rev. 3Freescale Semiconductor 24-324.2 External Signals24.2.1 DREQ[1:0] These active-low inputs provide ex

Pagina 728 - 24.3.3.4 End Pointer (EP)

MCF548x Reference Manual, Rev. 324-4 Freescale Semiconductor24.3.1.3 Variable TableEach task has a private 48-longword variable table. Typically, each

Pagina 729 - 24.3.3.6 PTD Control (PTD)

Memory Map/Register Definitions MCF548x Reference Manual, Rev. 3Freescale Semiconductor 24-5Figure 24-2. DMA Programmer-Maintained Memory Model24.3.3

Pagina 730

MCF548x Reference Manual, Rev. 324-6 Freescale Semiconductor24.3.3.2 Task Base Address Register (TaskBAR)Note that there is a 512-byte alignment restr

Pagina 731 - 15141312111098 7 6 5 43210

Memory Map/Register Definitions MCF548x Reference Manual, Rev. 3Freescale Semiconductor 24-724.3.3.3 Current Pointer (CP)31 30 29 28 27 26 25 24 23 2

Pagina 732

MCF548x Reference Manual, Rev. 324-8 Freescale Semiconductor24.3.3.4 End Pointer (EP)24.3.3.5 Variable Pointer (VP)31 30 29 28 27 26 25 24 23 22 21 20

Pagina 733

Memory Map/Register Definitions MCF548x Reference Manual, Rev. 3Freescale Semiconductor 24-924.3.3.6 PTD Control (PTD)The priority task decode contro

Pagina 734

Introduction MCF548x Reference Manual, Rev. 3Freescale Semiconductor 2-3Table 2-1 lists the signals for the MCF548x in functional group order.Table 2

Pagina 735

MCF548x Reference Manual, Rev. 324-10 Freescale Semiconductor24.3.3.7 DMA Interrupt Pending (DIPR)24.3.3.8 DMA Interrupt Mask Register (DIMR)31 30 29

Pagina 736

Memory Map/Register Definitions MCF548x Reference Manual, Rev. 3Freescale Semiconductor 24-1124.3.3.9 Task Control Registers (TCRn)Each of the sixtee

Pagina 737

MCF548x Reference Manual, Rev. 324-12 Freescale Semiconductor24.3.3.10 Priority Registers (PRIORn)When the PTD Control register bit 15 is set to a log

Pagina 738

Memory Map/Register Definitions MCF548x Reference Manual, Rev. 3Freescale Semiconductor 24-1324.3.3.11 Initiator Mux Control Register (IMCR)The DMA s

Pagina 739 - 24.3.3.16 PTD Debug Registers

MCF548x Reference Manual, Rev. 324-14 Freescale Semiconductor24.3.3.12 Task Size Registers (TSKSZ[0:1])Each of the 16 tasks can be programmed to use s

Pagina 740

Memory Map/Register Definitions MCF548x Reference Manual, Rev. 3Freescale Semiconductor 24-1531 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16TASK0 TAS

Pagina 741

MCF548x Reference Manual, Rev. 324-16 Freescale Semiconductor24.3.3.13 Debug Comparator Registers (DBGCOMPn)24.3.3.14 Debug Control (DBGCTL)31 30 29 2

Pagina 742 - 24.4 Functional Description

Memory Map/Register Definitions MCF548x Reference Manual, Rev. 3Freescale Semiconductor 24-17Table 24-14 below shows the encodings for the comparator

Pagina 743 - 24.4.4 Initiators

MCF548x Reference Manual, Rev. 324-18 Freescale SemiconductorTable 24-15 below shows the encodings for the bits. These bits are set to 101 at reset si

Pagina 744 - 24.4.8 Data Manipulation

Memory Map/Register Definitions MCF548x Reference Manual, Rev. 3Freescale Semiconductor 24-1924.3.3.16 PTD Debug RegistersThe PTD Debug register allo

Pagina 745 - 24.4.8.1 LURC Features

MCF548x Reference Manual, Rev. 32-4 Freescale SemiconductorM2, M3 SDBA[1:0] — — — SDRAM bank addressesO24LowE3 RAS — — — SDRAM row address strobeO24Hi

Pagina 746 - 24.4.9 Line Buffers

MCF548x Reference Manual, Rev. 324-20 Freescale Semiconductor24.3.4 External Request Module RegistersThe following section shows the registers contain

Pagina 747 - 24.5 Programming Model

Memory Map/Register Definitions MCF548x Reference Manual, Rev. 3Freescale Semiconductor 24-2124.3.4.3 External Request Address Mask Register (EREQMAS

Pagina 748 - 24.5.2 Task Memory

MCF548x Reference Manual, Rev. 324-22 Freescale Semiconductor24.4 Functional DescriptionThe DMA controller processes microcode tasks that are stored i

Pagina 749 -

Functional Description MCF548x Reference Manual, Rev. 3Freescale Semiconductor 24-23The details of creating task code is beyond the scope of this doc

Pagina 750 - 24.6 Timing Diagrams

MCF548x Reference Manual, Rev. 324-24 Freescale Semiconductor24.4.5 PrioritizationThe multichannel DMA has two basic prioritization schemes to decide

Pagina 751 - 24.6.3 Pipelined Requests

Functional Description MCF548x Reference Manual, Rev. 3Freescale Semiconductor 24-25function descriptor table. Each data routing descriptor can use t

Pagina 752 - 24-32 Freescale Semiconductor

MCF548x Reference Manual, Rev. 324-26 Freescale Semiconductor24.4.9 Line BuffersThe multichannel DMA makes use of line buffers in its interface to the

Pagina 753 - Comm Timer Module (CTM)

Programming Model MCF548x Reference Manual, Rev. 3Freescale Semiconductor 24-2724.4.10 Termination of LoopWhile executing an inner loop, there are tw

Pagina 754 - 25.1.2 Overview

MCF548x Reference Manual, Rev. 324-28 Freescale Semiconductor4. Priority registers - These will typically only be set during initialization, but can b

Pagina 755

Programming Model MCF548x Reference Manual, Rev. 3Freescale Semiconductor 24-29The base address for context save space is used to save variables and

Pagina 756 - 25.2.2 Register Descriptions

Introduction MCF548x Reference Manual, Rev. 3Freescale Semiconductor 2-5D24 PCIIRDY ———PCI initiator ready I/O 16 Hi-ZF23 PCIPAR — — — PCI parity I/O

Pagina 757

MCF548x Reference Manual, Rev. 324-30 Freescale Semiconductor24.6 Timing DiagramsThe following timing diagrams show the three modes of external reques

Pagina 758

Timing Diagrams MCF548x Reference Manual, Rev. 3Freescale Semiconductor 24-31DACKto assert (clock 5). The next falling edge of DREQ occurs during clo

Pagina 759 - 25.3 Functional Description

MCF548x Reference Manual, Rev. 324-32 Freescale Semiconductor

Pagina 760

MCF548x Reference Manual, Rev. 3Freescale Semiconductor 25-1Chapter 25 Comm Timer Module (CTM)25.1 IntroductionThis chapter contains a detailed descr

Pagina 761 - 000001 000001 000001

MCF548x Reference Manual, Rev. 325-2 Freescale SemiconductorFigure 25-2. Fixed Timer Channel Conceptual Block DiagramFigure 25-3. Variable Timer Chann

Pagina 762 - 25-10 Freescale Semiconductor

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 25-3The fixed timer channel provides the user with two modes,

Pagina 763 - Chapter 26

MCF548x Reference Manual, Rev. 325-4 Freescale Semiconductor 25.2.2 Register Descriptions25.2.2.1 Comm Timer Configuration Register (CTCRn)—Fixed Time

Pagina 764 - 26.2 Signal Description

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 25-525.2.2.2 Comm Timer Configuration Register (CTCRn)—Variabl

Pagina 765 - 26.3.2 Module Memory Map

MCF548x Reference Manual, Rev. 325-6 Freescale SemiconductorNOTEThe initiator mode is different from that of a fixed channel in that the periodis vari

Pagina 766 - Name Byte0 Byte1 Byte2 Byte3

Functional Description MCF548x Reference Manual, Rev. 3Freescale Semiconductor 25-725.3 Functional Description25.3.1 Variable Timer in Baud Clock Gen

Pagina 767 - 26.3.3 Register Descriptions

MCF548x Reference Manual, Rev. 32-6 Freescale SemiconductorAD8, AC6, AF7 E0TXD[3:1] PFEC0L[7:5] — — MAC transmit data O:I/O 8 GPIAE9 E0TXER PFEC0L4 —

Pagina 768

MCF548x Reference Manual, Rev. 325-8 Freescale Semiconductoris deasserted, and the percent counter stops counting and retains a value of 0x3. As befor

Pagina 769 - 76543210 Mode

Functional Description MCF548x Reference Manual, Rev. 3Freescale Semiconductor 25-9At the rising edge of the clock in cycle 8, the cAcknowledge signa

Pagina 770 - 15 14 13 12 11 1098 7 6543210

MCF548x Reference Manual, Rev. 325-10 Freescale Semiconductor

Pagina 771

MCF548x Reference Manual, Rev. 3Freescale Semiconductor 26-1Chapter 26 Programmable Serial Controller (PSC)26.1 IntroductionThis chapter describes th

Pagina 772

MCF548x Reference Manual, Rev. 326-2 Freescale Semiconductor• Backward compatible with the MC68681— 5,6,7,8 bits data plus parity— Odd, even, none, or

Pagina 773 - RCSEL TCSEL

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 26-326.2.4 PSCnTXDPSCnTXD are the transmitter serial data outp

Pagina 774

MCF548x Reference Manual, Rev. 326-4 Freescale Semiconductor0x860C 0x870C 0x880C 0x890C PSC Receive Buffer PSCRBRPSC Transmit BufferPSCTBW0x8610 0x87

Pagina 775

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 26-526.3.3 Register DescriptionsThis section gives detailed de

Pagina 776

MCF548x Reference Manual, Rev. 326-6 Freescale Semiconductor26.3.3.2 Mode Register 2 (PSCMR2n)PSCMR2 controls some of the module configuration. It is

Pagina 777

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 26-776543210 ModeR CM TXRTS TXCTS SB UARTWRCM TXRTSTXCTS0000 S

Pagina 778

Introduction MCF548x Reference Manual, Rev. 3Freescale Semiconductor 2-7AC24 DSPISIN PDSPI1 PSC3RXD — QSPI data in I:I/O 24 GPIAD22 DSPISCK PDSPI2 PS

Pagina 779

MCF548x Reference Manual, Rev. 326-8 Freescale Semiconductor26.3.3.3 Status Register (PSCSRn)The PSCSR register indicates the status of the characters

Pagina 780

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 26-9Table 26-5. PSCSRn Field DescriptionsBits NameDescription1

Pagina 781

MCF548x Reference Manual, Rev. 326-10 Freescale Semiconductor26.3.3.4 Clock Select Register (PSCCSRn)The comm timers (CTMs) or the PSC’s timer (see Se

Pagina 782

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 26-11The upper 4 bits set the receiver and the lower 4 bits se

Pagina 783 - 26.3.3.12 Input Port (PSCIPn)

MCF548x Reference Manual, Rev. 326-12 Freescale SemiconductorTable 26-7. PSCCRn Field DescriptionsBits Value Command Description7 — Reserved, should b

Pagina 784 - 76543210Mode

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 26-133–2TXC Field (This field selects a single command)00 NO A

Pagina 785 - Table 26-21. SIM[2:0]

MCF548x Reference Manual, Rev. 326-14 Freescale Semiconductor26.3.3.6 Receiver Buffer (PSCRBn) and Transmitter Buffer (PSCTBn)Data is read from the Rx

Pagina 786

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 26-15Figure 26-10 shows the modem 16 register.Figure 26-11 sho

Pagina 787

MCF548x Reference Manual, Rev. 326-16 Freescale SemiconductorTable 26-8 shows the fields for Modem 8, SIR, MIR, and FIR modes.Table 26-9 shows the fie

Pagina 788 - Eqn. 26-1

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 26-1726.3.3.7 Input Port Change Register (PSCIPCRn)PSCIPCRn sh

Pagina 789 - Eqn. 26-2

MCF548x Reference Manual, Rev. 32-8 Freescale SemiconductorTimer ModuleAD19 TIN3 PTIM7 IRQ3 CANRX1 Timer input I:I/O 8 GPIAD23 TOUT3 PTIM6 CANTX1 — Ti

Pagina 790 - 15141312111098765432 1 0

MCF548x Reference Manual, Rev. 326-18 Freescale Semiconductor26.3.3.8 Auxiliary Control Register (PSCACRn)PSCACR controls the handshake of the transmi

Pagina 791

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 26-1926.3.3.10 Interrupt Mask Register (PSCIMRn)The PSCIMR sel

Pagina 792

MCF548x Reference Manual, Rev. 326-20 Freescale Semiconductor15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 ModeRIPC 0 0 0 0 0 RXRDY_FU TXRDY DEOF ERR 0 0 0 0

Pagina 793

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 26-2126.3.3.11 Counter Timer Registers (PSCCTURn, PSCCTLRn)The

Pagina 794

MCF548x Reference Manual, Rev. 326-22 Freescale Semiconductor26.3.3.13 Output Port Bit Set (PSCOPSETn)Output ports are asserted by writing to this reg

Pagina 795

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 26-2326.3.3.15 PSC/IrDA Control Register (PSCSICRn)This regist

Pagina 796

MCF548x Reference Manual, Rev. 326-24 Freescale Semiconductor26.3.3.16 Infrared Control Register 1 (PSCIRCR1n)This register controls the configuration

Pagina 797 - 26.4 Functional Description

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 26-2526.3.3.18 Infrared SIR Divide Register (PSCIRSDRn)26.3.3.

Pagina 798 - 26.4.2 Multidrop Mode

MCF548x Reference Manual, Rev. 326-26 Freescale Semiconductor26.3.3.20 Infrared FIR Divide Register (PSCIRFDRn)This register sets the baud rate in FIR

Pagina 799 - 26.4.3 Modem8 Mode

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 26-2726.3.3.21 Rx and Tx FIFO Counter Register (PSCRFCNTn, PSC

Pagina 800 - 26.4.4 Modem16 Mode

Introduction MCF548x Reference Manual, Rev. 3Freescale Semiconductor 2-9Power SuppliesC16, C22, E24, H24, M24, R3, U24, Y3, AA24, AB3, AD7, AD10, AD1

Pagina 801 - 26.4.5 AC97 Mode

MCF548x Reference Manual, Rev. 326-28 Freescale SemiconductorReads from the PSCRFDRn register return received data from the Rx FIFO. In addition, this

Pagina 802 - 26.4.5.3 Low Power Mode

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 26-29Table 26-30. PSCRFSRn and PSCTFSRn Field DescriptionsBits

Pagina 803 - 26.4.7 MIR Mode

MCF548x Reference Manual, Rev. 326-30 Freescale Semiconductor26.3.3.24 Rx and Tx FIFO Control Register (PSCRFCRn, PSCTFCRn)The FIFO control registers

Pagina 804 - 26.4.8 FIR Mode

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 26-3131 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16R 0 0 WFR

Pagina 805 - 26.4.9 PSC FIFO System

MCF548x Reference Manual, Rev. 326-32 Freescale Semiconductor26.3.3.25 Rx and Tx FIFO Alarm Register (PSCRFARn, PSCTFARn)26.3.3.26 Rx and Tx FIFO Read

Pagina 806 - 26.4.9.1 RX FIFO

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 26-33provided through a port to the FIFO controller. The read

Pagina 807 - 26.4.9.2 TX FIFO

MCF548x Reference Manual, Rev. 326-34 Freescale Semiconductorthere are no safeguards to prevent retransmitting data which has been overwritten. When F

Pagina 808 - 26.4.10 Looping Modes

Functional Description MCF548x Reference Manual, Rev. 3Freescale Semiconductor 26-3526.4 Functional DescriptionThis section provides a complete funct

Pagina 809 - 26.5 Resets

MCF548x Reference Manual, Rev. 326-36 Freescale SemiconductorFigure 26-28. Modem Control and TransmitterIf PSCnRTS is programmed to be RxRTS, the PSCn

Pagina 810 - 26.7 Software Environment

Functional Description MCF548x Reference Manual, Rev. 3Freescale Semiconductor 26-37A/D bit is set or as a data character if the A/D bit is cleared.

Pagina 811 - 26.7.2 Configuration

MCF548x Reference Manual, Rev. 3viii Freescale SemiconductorContentsParagraphNumberTitlePageNumber2.2.11 I2C I/O Signals ...

Pagina 812 - 26.7.2.2 Modem8 Mode

MCF548x Reference Manual, Rev. 32-10 Freescale SemiconductorTable 2-2 lists the MCF548x signals in pin number order for the 388 PBGA package.AD164USB_

Pagina 813 - 26.7.2.4 AC97 Mode

MCF548x Reference Manual, Rev. 326-38 Freescale SemiconductorFigure 26-30. Waveform of Modem8 ModeThe transmitter starts to transmit the first bit at

Pagina 814 - 26.7.2.5 SIR Mode

Functional Description MCF548x Reference Manual, Rev. 3Freescale Semiconductor 26-39Figure 26-31. Waveform of Modem16 ModeThe function of this mode i

Pagina 815 - 26.7.2.6 MIR Mode

MCF548x Reference Manual, Rev. 326-40 Freescale Semiconductor26.4.5.1 TransmitterThe transmitter starts to transmit the first bit at the one clock aft

Pagina 816 - 26.7.2.7 FIR Mode

Functional Description MCF548x Reference Manual, Rev. 3Freescale Semiconductor 26-41Leaving low power mode can be done via either a warm or cold rese

Pagina 817 - 26.7.3 Programming

MCF548x Reference Manual, Rev. 326-42 Freescale SemiconductorThe STA represents the start of the frame and the STO represents the end of the frame. Bo

Pagina 818 - 26.7.3.2 FIR Mode

Functional Description MCF548x Reference Manual, Rev. 3Freescale Semiconductor 26-43.26.4.9 PSC FIFO SystemThe receive FIFO stack consists of the FIF

Pagina 819 - Chapter 27

MCF548x Reference Manual, Rev. 326-44 Freescale Semiconductorare unaffected, and PSCSRn[ERR] sets when the receiver detects the start bit of the new o

Pagina 820 - 27.4 Modes of Operation

Functional Description MCF548x Reference Manual, Rev. 3Freescale Semiconductor 26-45NOTEIn AC97, the number of data bytes are four times the number o

Pagina 821 - 27.5 Signal Description

MCF548x Reference Manual, Rev. 326-46 Freescale Semiconductor26.4.10 Looping ModesThe UART can be configured to operate in various looping modes as sh

Pagina 822 - 27.6 Memory Map and Registers

Resets MCF548x Reference Manual, Rev. 3Freescale Semiconductor 26-47is ignored, the TxD is held marking, and the receiver is clocked by the transmitt

Pagina 823 - Memory Map and Registers

Introduction MCF548x Reference Manual, Rev. 3Freescale Semiconductor 2-11A21 PSTDDATA1— — — R13 VSS — — —A22 PSTDDATA3— — — R14 VSS — — —A23 PSTDDATA

Pagina 824

MCF548x Reference Manual, Rev. 326-48 Freescale Semiconductor26.6 InterruptsThis section describes interrupts originated by this module.26.6.1 Descrip

Pagina 825

Software Environment MCF548x Reference Manual, Rev. 3Freescale Semiconductor 26-4926.7.2 Configuration26.7.2.1 UART ModeThe following is a sample ini

Pagina 826 - DCTAR registers is used

MCF548x Reference Manual, Rev. 326-50 Freescale Semiconductor26.7.2.2 Modem8 ModeApplying the clock to the PSCBCLK input and programming the control r

Pagina 827

Software Environment MCF548x Reference Manual, Rev. 3Freescale Semiconductor 26-5126.7.2.3 Modem16 ModeThe configuration sequence in modem16 mode is

Pagina 828

MCF548x Reference Manual, Rev. 326-52 Freescale Semiconductor26.7.2.5 SIR ModeHere is a sample configuration sequence in SIR mode. 6 PSCRFAR 00F0 ALAR

Pagina 829

Software Environment MCF548x Reference Manual, Rev. 3Freescale Semiconductor 26-5326.7.2.6 MIR ModeApplying clock to the PSCBCLK input and programmin

Pagina 830

MCF548x Reference Manual, Rev. 326-54 Freescale Semiconductor26.7.2.7 FIR ModeApplying the clock to the PSCBCLK input and programming the control regi

Pagina 831

Software Environment MCF548x Reference Manual, Rev. 3Freescale Semiconductor 26-5526.7.3 ProgrammingIn any mode, after the configuration sequence, en

Pagina 832

MCF548x Reference Manual, Rev. 326-56 Freescale SemiconductorAfter initialization and after enabling the receiver, the receiver is ready to receive da

Pagina 833

MCF548x Reference Manual, Rev. 3Freescale Semiconductor 27-1Chapter 27 DMA Serial Peripheral Interface (DSPI)This chapter describes the use of the DM

Pagina 834

MCF548x Reference Manual, Rev. 32-12 Freescale SemiconductorB261E1RXD2 PFEC1L2 — —V2 AD2 — — —C1 SDVDD— ——V3AD4 — — —C2 CAS — ——V4IVDD — — —C3 VSS — —

Pagina 835

MCF548x Reference Manual, Rev. 327-2 Freescale Semiconductor27.3 Block DiagramFigure 27-1 shows a DSPI with external queues in system RAM.Figure 27-1.

Pagina 836 - 27.7 Functional Description

Signal Description MCF548x Reference Manual, Rev. 3Freescale Semiconductor 27-327.5 Signal Description27.5.1 OverviewTable 27-1 lists the DSPI signal

Pagina 837

MCF548x Reference Manual, Rev. 327-4 Freescale Semiconductor27.5.2.4 DSPI Serial Input (DSPISIN)DSPISIN is a serial data input signal.27.5.2.5 DSPI Se

Pagina 838 - 27.7.2.2 Slave Mode

Memory Map and Registers MCF548x Reference Manual, Rev. 3Freescale Semiconductor 27-527.6.1 DSPI Module Configuration Register (DMCR)The DMCR contain

Pagina 839 - Freescale Semiconductor 27-21

MCF548x Reference Manual, Rev. 327-6 Freescale Semiconductor25 PCSSE Peripheral chip select strobe enable. Selects between the DSPICS5 and PCSS functi

Pagina 840

Memory Map and Registers MCF548x Reference Manual, Rev. 3Freescale Semiconductor 27-727.6.2 DSPI Transfer Count Register (DTCR)The DTCR contains a co

Pagina 841

MCF548x Reference Manual, Rev. 327-8 Freescale Semiconductoran SPI master, the DTFR[CTAS] field in the command portion of the Tx FIFO entry selects wh

Pagina 842

Memory Map and Registers MCF548x Reference Manual, Rev. 3Freescale Semiconductor 27-921–20 PASC After DSPISCK delay prescaler. The PASC field selects

Pagina 843 - 27.7.4 Transfer Formats

MCF548x Reference Manual, Rev. 327-10 Freescale Semiconductor7–4 DT Delay after transfer scaler. The DT field selects the delay after transfer scaler.

Pagina 844 - 12345678910111213141516

Memory Map and Registers MCF548x Reference Manual, Rev. 3Freescale Semiconductor 27-1127.6.4 DSPI Status Register (DSR)The DSR contains status and fl

Pagina 845

Introduction MCF548x Reference Manual, Rev. 3Freescale Semiconductor 2-13D5 SDDATA28— — — AB1 AD12 — — —D6 VSS— — — AB2 AD15 — — —D7 SDADDR2 — — — AB

Pagina 846

MCF548x Reference Manual, Rev. 327-12 Freescale SemiconductorTable 27-9. DSR Field DescriptionsBits Name Description31 TCF Transfer complete flag. The

Pagina 847

Memory Map and Registers MCF548x Reference Manual, Rev. 3Freescale Semiconductor 27-1327.6.5 DSPI DMA/Interrupt Request Select Register (DIRSR)The DI

Pagina 848

MCF548x Reference Manual, Rev. 327-14 Freescale SemiconductorDIRSR Field DescriptionsBits Name Description31 TCFE Transfer complete flag interrupt ena

Pagina 849

Memory Map and Registers MCF548x Reference Manual, Rev. 3Freescale Semiconductor 27-1527.6.6 DSPI Tx FIFO Register (DTFR)The DTFR provides a means to

Pagina 850 - 27-32 Freescale Semiconductor

MCF548x Reference Manual, Rev. 327-16 Freescale Semiconductor27.6.7 DSPI Rx FIFO Register (DRFR)The DRFR provides a means to read the Rx FIFO. See Sec

Pagina 851 - 27.8.2 Baud Rate Settings

Memory Map and Registers MCF548x Reference Manual, Rev. 3Freescale Semiconductor 27-1727.6.8 DSPI Tx FIFO Debug Registers 0–3 (DTFDRn)The DTFDRn regi

Pagina 852 - 27.8.3 Delay Settings

MCF548x Reference Manual, Rev. 327-18 Freescale Semiconductor 27.7 Functional DescriptionThe DMA serial peripheral interface (DSPI) block provides a s

Pagina 853 - Table 27-23. Delay Values

Functional Description MCF548x Reference Manual, Rev. 3Freescale Semiconductor 27-19Figure 27-11. SPI Serial Protocol OverviewThe DSPI has four perip

Pagina 854

MCF548x Reference Manual, Rev. 327-20 Freescale SemiconductorState transitions from running to stopped occur on the next frame boundary if a transfer

Pagina 855 - C Interface

Functional Description MCF548x Reference Manual, Rev. 3Freescale Semiconductor 27-21for successful communication with an SPI master. These SPI slave

Pagina 856 - 28.2 External Signals

MCF548x Reference Manual, Rev. 32-14 Freescale SemiconductorF2 SDDQS1— — — AC24 DSPISIN PDSPI1 PSC3RXD —F3 SDVDD— ——AC25DACK1PDMA3 TOUT1 —F4 VSS — — —

Pagina 857 - 28.3.2 Register Descriptions

MCF548x Reference Manual, Rev. 327-22 Freescale Semiconductor27.7.2.5 Rx FIFO Buffering MechanismThe Rx FIFO functions as a buffer for data received o

Pagina 858 - 28.3.2.2 I

Functional Description MCF548x Reference Manual, Rev. 3Freescale Semiconductor 27-2327.7.3.1 Baud Rate GeneratorThe baud rate is the frequency of the

Pagina 859 - C Status Register (I2SR)

MCF548x Reference Manual, Rev. 327-24 Freescale SemiconductorEqn. 27-7Table 27-18 shows an example of how to compute the delay after transfer.27.7.3.5

Pagina 860 - Figure 28-5. I

Functional Description MCF548x Reference Manual, Rev. 3Freescale Semiconductor 27-2527.7.4 Transfer FormatsThe SPI serial communication is controlled

Pagina 861 - 28.3.2.6 I

MCF548x Reference Manual, Rev. 327-26 Freescale SemiconductorFigure 27-15. DSPI Transfer Timing Diagram (MTFE = 0, CPHA = 0, FMSZ = 8)The master initi

Pagina 862 - 28.4 Functional Description

Functional Description MCF548x Reference Manual, Rev. 3Freescale Semiconductor 27-27Figure 27-16. DSPI Transfer Timing Diagram (MTFE = 0, CPHA = 1, F

Pagina 863 - 28.4.4 Data Transfer

MCF548x Reference Manual, Rev. 327-28 Freescale SemiconductorFigure 27-17. DSPI Modified Transfer Format (MTFE = 1, CPHA = 0, Fsck = Fsys/4)27.7.4.4 M

Pagina 864 - 28.4.5 Acknowledge

Functional Description MCF548x Reference Manual, Rev. 3Freescale Semiconductor 27-29be visible on the master DSPISCK pin during the sampling of the l

Pagina 865 - 28.4.6 Repeated Start

MCF548x Reference Manual, Rev. 327-30 Freescale Semiconductor(tDT) is not inserted between the transfers. Figure 27-20 shows the timing diagram for tw

Pagina 866 - 28.5 Initialization Sequence

Functional Description MCF548x Reference Manual, Rev. 3Freescale Semiconductor 27-31Figure 27-21. Continuous DSPISCK Timing Diagram (CSCK = 0)If DTFR

Pagina 867 - Initialization Sequence

Introduction MCF548x Reference Manual, Rev. 3Freescale Semiconductor 2-15K1 SDWE— — — AE3 AD28 — — —K2 SDDATA0— — — AE4 AD27 — — —K3 SDDATA1 — — — AE

Pagina 868

MCF548x Reference Manual, Rev. 327-32 Freescale SemiconductorEach condition has a flag bit in the Section 27.6.4, “DSPI Status Register (DSR)” and a r

Pagina 869 - 28.5.3 Generation of STOP

Initialization and Application Information MCF548x Reference Manual, Rev. 3Freescale Semiconductor 27-3327.8 Initialization and Application Informati

Pagina 870 - 28.5.5 Slave Mode

MCF548x Reference Manual, Rev. 327-34 Freescale Semiconductor27.8.3 Delay SettingsTable 27-23 shows the values for the delay after transfer (tDT) and

Pagina 871

Initialization and Application Information MCF548x Reference Manual, Rev. 3Freescale Semiconductor 27-3527.8.4 Calculation of FIFO Pointer AddressesT

Pagina 872 - 28.5.7 Flow Control

MCF548x Reference Manual, Rev. 327-36 Freescale SemiconductorFigure 27-23. Tx FIFO Pointers and Counter27.8.4.1 Address Calculation for the First-in E

Pagina 873 - C Interrupt Routine

MCF548x Reference Manual, Rev. 3Freescale Semiconductor 28-1Chapter 28 I2C Interface28.1 IntroductionThis chapter describes the I2C™ module, includin

Pagina 874 - 28-20 Freescale Semiconductor

MCF548x Reference Manual, Rev. 328-2 Freescale Semiconductor28.1.2 I2C OverviewI2C is a two-wire, bidirectional serial bus which provides a simple, ef

Pagina 875 - USB 2.0 Device Controller

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 28-328.3 Memory Map/Register Definition28.3.1 I2C Register Map

Pagina 876 - 29.1.3 Block Diagram

MCF548x Reference Manual, Rev. 328-4 Freescale Semiconductor28.3.2.2 I2C Frequency Divider Register (I2FDR)The I2FDR, shown in Figure 28-3, provides a

Pagina 877 - 29.1.3.4 FIFO RAM Manager

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 28-528.3.2.3 I2C Control Register (I2CR)The I2CR is used to en

Pagina 878 - 29.2.1 USB Memory Map

MCF548x Reference Manual, Rev. 32-16 Freescale Semiconductor2.2 MCF548x External Signals2.2.1 FlexBus Signals2.2.1.1 Address/Data Bus (AD[31:0])The AD

Pagina 879

MCF548x Reference Manual, Rev. 328-6 Freescale Semiconductor76543210R ICF IAAS IBB IAL 0 SRW IIF RXAKWReset10000001RegAddrMBAR + 0x8F0CFigure 28-5. I2

Pagina 880

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 28-728.3.2.5 I2C Data I/O Register (I2DR)While in master-recei

Pagina 881

MCF548x Reference Manual, Rev. 328-8 Freescale Semiconductor28.4 Functional DescriptionThe I2C has a simple bidirectional 2-wire bus for efficient int

Pagina 882

Functional Description MCF548x Reference Manual, Rev. 3Freescale Semiconductor 28-9Normally, a standard communication is composed of four parts: STAR

Pagina 883

MCF548x Reference Manual, Rev. 328-10 Freescale SemiconductorData can be changed only while SCL is low and must be held stable while SCL is high, as F

Pagina 884

Functional Description MCF548x Reference Manual, Rev. 3Freescale Semiconductor 28-1128.4.6 Repeated StartA repeated START signal is a START signal ge

Pagina 885

MCF548x Reference Manual, Rev. 328-12 Freescale SemiconductorDevices with shorter low periods enter a high wait state during this time (see Figure 28-

Pagina 886 - 15 14131211109876543210

Initialization Sequence MCF548x Reference Manual, Rev. 3Freescale Semiconductor 28-132. Update the I2ADR to define it as a slave device (give it a sl

Pagina 887

MCF548x Reference Manual, Rev. 328-14 Freescale Semiconductor/* Wait for I2SR.IBB (bus busy) to be set */while ( !(MCF5_I2C_I2SR & MCF_I2C_I2SR_BB

Pagina 888

Initialization Sequence MCF548x Reference Manual, Rev. 3Freescale Semiconductor 28-1528.5.3 Generation of STOPA data transfer ends with a STOP signal

Pagina 889

MCF548x External Signals MCF548x Reference Manual, Rev. 3Freescale Semiconductor 2-172.2.1.2 Chip Select (FBCS[5:0])FBCS[5:0] are asserted to indicat

Pagina 890

MCF548x Reference Manual, Rev. 328-16 Freescale Semiconductor/* Generate STOP by clearing I2CR.MSTA */MCF_I2C_I2CR = 0x80;}/*Store received data and r

Pagina 891

Initialization Sequence MCF548x Reference Manual, Rev. 3Freescale Semiconductor 28-17/* Set I2CR.MTX to put the module in transit mode */MCF_I2C_I2CR

Pagina 892

MCF548x Reference Manual, Rev. 328-18 Freescale Semiconductor/* Receive data from master device and store in rx-buffer */for(i=0; i<rx_byte_count;

Pagina 893

Initialization Sequence MCF548x Reference Manual, Rev. 3Freescale Semiconductor 28-19Figure 28-14. Flow-Chart of Typical I2C Interrupt RoutineClear I

Pagina 894

MCF548x Reference Manual, Rev. 328-20 Freescale Semiconductor

Pagina 895

MCF548x Reference Manual, Rev. 3Freescale Semiconductor 29-1Chapter 29 USB 2.0 Device Controller29.1 IntroductionThis chapter provides an overview of

Pagina 896

MCF548x Reference Manual, Rev. 329-2 Freescale Semiconductor29.1.3 Block DiagramA block diagram of the complete USB 2.0 Device controller module is sh

Pagina 897 - 29.2.3 USB Counter Registers

Introduction MCF548x Reference Manual, Rev. 3Freescale Semiconductor 29-329.1.3.3 FIFO ControllerThe FIFO controller implements the data FIFOs in suc

Pagina 898

MCF548x Reference Manual, Rev. 329-4 Freescale Semiconductor29.1.3.5.4 USBCLKINInput pin for the 12-MHz USB crystal circuit.29.1.3.5.5 USBCLKOUTOutput

Pagina 899

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 29-50xB088 USB PID error counter register, USB framing error c

Pagina 900

MCF548x Reference Manual, Rev. 32-18 Freescale SemiconductorFor burst-inhibited transfers, TSIZ[1:0] changes with each ALE assertion to reflect the ne

Pagina 901 - EPnINACR)

MCF548x Reference Manual, Rev. 329-6 Freescale Semiconductor0xB164 EP2 OUT interface number register, EP2 OUT status registerEP2OUTIFR EP2OUTSR — —0xB

Pagina 902 - EPnINMPSR)

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 29-70xB1D0– 0xB1D7Reserved0xB1D8 EP4 IN attribute control regi

Pagina 903

MCF548x Reference Manual, Rev. 329-8 Freescale Semiconductor0xB23C EP6 IN interface number register, EP6 IN status registerEP6INIFR EP6INSR — —0xB240–

Pagina 904

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 29-929.2.2 USB Request, Control, and Status RegistersThe follo

Pagina 905

MCF548x Reference Manual, Rev. 329-10 Freescale Semiconductor29.2.2.2 USB Control Register (USBCR)The USBCR configures features of the module.6–4 — Re

Pagina 906

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 29-11Table 29-3. USBCR Field DescriptionsBits Name Description

Pagina 907

MCF548x Reference Manual, Rev. 329-12 Freescale Semiconductor29.2.2.3 USB Descriptor RAM Control Register (DRAMCR)1 APPLOCK Application Lock. This bit

Pagina 908

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 29-1329.2.2.4 USB Descriptor RAM Data Register (DRAMDR)The DRA

Pagina 909

MCF548x Reference Manual, Rev. 329-14 Freescale Semiconductor29.2.2.5 USB Interrupt Status Register (USBISR)The USBISR maintains the status of interru

Pagina 910

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 29-1529.2.2.6 USB Interrupt Mask Register (USBIMR)Setting a bi

Pagina 911

MCF548x External Signals MCF548x Reference Manual, Rev. 3Freescale Semiconductor 2-192.2.2.3 SDRAM Bank Addresses (SDBA[1:0])Each SDRAM module has fo

Pagina 912

MCF548x Reference Manual, Rev. 329-16 Freescale Semiconductor29.2.2.7 USB Application Interrupt Status Register (USBAISR)The USBAISR contains informat

Pagina 913

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 29-1729.2.2.8 USB Application Interrupt Mask Register (USBAIMR

Pagina 914

MCF548x Reference Manual, Rev. 329-18 Freescale Semiconductor29.2.2.9 Endpoint Info Register (EPINFO)The EPINFO contains the currently active endpoint

Pagina 915

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 29-1929.2.2.10 USB Configuration Value Register (CFGR)29.2.2.1

Pagina 916

MCF548x Reference Manual, Rev. 329-20 Freescale Semiconductor29.2.2.12 USB Device Speed Register (SPEEDR)The SPEEDR contains the current USB operating

Pagina 917

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 29-2129.2.2.13 USB Frame Number Register (FRMNUMR)29.2.2.14 US

Pagina 918

MCF548x Reference Manual, Rev. 329-22 Freescale Semiconductor29.2.2.15 USB Application Interface Update Register (IFUR)The IFUR is used by the USB app

Pagina 919

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 29-2329.2.3 USB Counter RegistersThe USB module contains a num

Pagina 920

MCF548x Reference Manual, Rev. 329-24 Freescale Semiconductor29.2.3.2 USB Dropped Packet Counter Register (DPCNT)29.2.3.3 USB CRC Error Counter Regist

Pagina 921 - 29.4 Software Interface

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 29-2529.2.3.5 USB PID Error Counter Register (PIDECNT)29.2.3.6

Pagina 922 - 29-48 Freescale Semiconductor

MCF548x Reference Manual, Rev. 3Freescale Semiconductor ixContentsParagraphNumberTitlePageNumberChapter 3 ColdFire Core3.1 Core Overview ...

Pagina 923 - 29.4.1.3 Endpoint Registers

MCF548x Reference Manual, Rev. 32-20 Freescale Semiconductor2.2.2.14 SDRAM Reference Voltage (VREF)This is the input reference voltage for differentia

Pagina 924 - 29.4.2 Exception Handling

MCF548x Reference Manual, Rev. 329-26 Freescale Semiconductor29.2.3.7 USB Transmitted Packet Counter Register (TXPCNT)29.2.3.8 USB Counter Overflow Re

Pagina 925 - 29.4.3.3 Receiving Packets

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 29-2729.2.4 Endpoint Context RegistersThe endpoint registers a

Pagina 926 - 29.4.3.4 USB Transfers

MCF548x Reference Manual, Rev. 329-28 Freescale Semiconductor29.2.4.2 Endpoint n Max Packet Size Register (EP0MPSR, EPnOUTMPSR, EPnINMPSR)The endpoint

Pagina 927 - 29.4.3.5 Control Transfers

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 29-2929.2.4.3 Endpoint n Interface Number Register (EP0IFR, EP

Pagina 928 - 29.4.3.7 Interrupt Traffic

MCF548x Reference Manual, Rev. 329-30 Freescale Semiconductor29.2.4.4 Endpoint n Status Register (EP0SR, EPnOUTSR, EPnINSR)The endpoint status registe

Pagina 929 - Freescale Semiconductor 29-55

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 29-3129.2.4.5 bmRequest Type Register (BMRTR)The BMRTR records

Pagina 930 - 29-56 Freescale Semiconductor

MCF548x Reference Manual, Rev. 329-32 Freescale Semiconductor29.2.4.6 bRequest Type Register (BRTR)The BRTR records the bRequest field of a SETUP tran

Pagina 931 - Chapter 30

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 29-3329.2.4.8 wIndex Register (WINDEXR)The WINDEXR records the

Pagina 932 - 30.1.3 Overview

MCF548x Reference Manual, Rev. 329-34 Freescale SemiconductorWhen the host directs a SYNCH_FRAME control read query at this register’s endpoint, the c

Pagina 933 - 30.1.5 Modes of Operation

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 29-3529.2.5.2 USB Endpoint n Interrupt Status Register (EPnISR

Pagina 934 - 30.2 External Signals

MCF548x External Signals MCF548x Reference Manual, Rev. 3Freescale Semiconductor 2-212.2.3.9 Reset (PCIRESET)The PCIRESET signal is asserted active l

Pagina 935 - Freescale Semiconductor 30-5

MCF548x Reference Manual, Rev. 329-36 Freescale SemiconductorIf a register write occurs at the same time an interrupt is received, the interrupt takes

Pagina 936 - Table 30-4. Module Memory Map

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 29-3729.2.5.3 USB Endpoint n Interrupt Mask Register (EPnIMR)T

Pagina 937

MCF548x Reference Manual, Rev. 329-38 Freescale Semiconductor29.2.5.4 USB Endpoint n FIFO RAM Configuration Register (EPnFRCFGR)The EPnFRCFGR allows t

Pagina 938

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 29-3929.2.5.5 USB Endpoint n FIFO Data Register (EPnFDR)The EP

Pagina 939

MCF548x Reference Manual, Rev. 329-40 Freescale Semiconductor29.2.5.6 USB Endpoint n FIFO Status Register (EPnFSR)Table 29-40. EPnFDR Field Descriptio

Pagina 940

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 29-4123 FAE Frame accept error. This bit indicates a frame acc

Pagina 941 - Register (EIR)

MCF548x Reference Manual, Rev. 329-42 Freescale Semiconductor29.2.5.7 USB Endpoint n FIFO Control Register (EPnFCR)31 30 29 28 27 26 25 24 23 22 21 20

Pagina 942

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 29-4326-24 GR Granularity. The functionality of this field dep

Pagina 943 - Register (EIMR)

MCF548x Reference Manual, Rev. 329-44 Freescale Semiconductor29.2.5.8 USB Endpoint n FIFO Alarm Register (EPnFAR)31 30 29 28 27 26 25 24 23 22 21 20 1

Pagina 944

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 29-4529.2.5.9 USB Endpoint n FIFO Read Pointer (EPnFRP)29.2.5.

Pagina 945

MCF548x Reference Manual, Rev. 32-22 Freescale Semiconductor2.2.5 Clock and Reset SignalsThe clock and reset signals configure the MCF548x and provide

Pagina 946

MCF548x Reference Manual, Rev. 329-46 Freescale Semiconductor29.2.5.11 USB Endpoint n Last Read Frame Pointer (EPnLRFP)Table 29-45. EPnFWP Field Descr

Pagina 947 - 15 14 131211109876543210

Functional Description MCF548x Reference Manual, Rev. 3Freescale Semiconductor 29-4729.2.5.12 USB Endpoint n Last Write Frame Pointer (EPnLWFP)29.3 F

Pagina 948

MCF548x Reference Manual, Rev. 329-48 Freescale SemiconductorAt power-up time, the USB module contains no configuration information. The USB module do

Pagina 949

Software Interface MCF548x Reference Manual, Rev. 3Freescale Semiconductor 29-49Download of the descriptor data consists of the following steps:1. Ve

Pagina 950

MCF548x Reference Manual, Rev. 329-50 Freescale Semiconductor29.4.1.4 FIFO SizesFIFO sizes must be programmed to match the traffic sent across the US

Pagina 951

Software Interface MCF548x Reference Manual, Rev. 3Freescale Semiconductor 29-5129.4.3.1 USB PacketsData moves across the USB in units called packets

Pagina 952

MCF548x Reference Manual, Rev. 329-52 Freescale Semiconductor2. On receiving EOF interrupt, prepare to read a complete packet of data. Clear the EOF i

Pagina 953

Software Interface MCF548x Reference Manual, Rev. 3Freescale Semiconductor 29-53further requests from the host. This guarantees that data from two di

Pagina 954

MCF548x Reference Manual, Rev. 329-54 Freescale Semiconductor4. Handle the request appropriately. If a data transfer is implied by the command, set up

Pagina 955

Software Interface MCF548x Reference Manual, Rev. 3Freescale Semiconductor 29-5529.4.3.8 Isochronous OperationsIsochronous operations are a special c

Pagina 956

MCF548x External Signals MCF548x Reference Manual, Rev. 3Freescale Semiconductor 2-23Figure 2-2. CLKIN, Internal Bus, and Core Clock Ratios2.2.6.2 AD

Pagina 957

MCF548x Reference Manual, Rev. 329-56 Freescale Semiconductor

Pagina 958

MCF548x Reference Manual, Rev. 3Freescale Semiconductor 30-1Chapter 30 Fast Ethernet Controller (FEC)30.1 Introduction This Fast Ethernet Controller

Pagina 959

MCF548x Reference Manual, Rev. 330-2 Freescale SemiconductorFigure 30-1. FEC Block Diagram30.1.3 OverviewThe Fast Ethernet Controller is designed to s

Pagina 960

Introduction MCF548x Reference Manual, Rev. 3Freescale Semiconductor 30-330.1.4 FeaturesThe FEC incorporates the following features:• Support for thr

Pagina 961

MCF548x Reference Manual, Rev. 330-4 Freescale Semiconductortransceiver via this interface in the following sections: Section 30.4.3, “Network Interfa

Pagina 962

External Signals MCF548x Reference Manual, Rev. 3Freescale Semiconductor 30-530.2.5 Transmit Error (EnTXER)Assertion of this output signal for one or

Pagina 963

MCF548x Reference Manual, Rev. 330-6 Freescale Semiconductor.A false carrier condition occurs if the PHY detects a bad start-of-stream delimiter. This

Pagina 964

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 30-730.3.2 Detailed Memory Map (Control/Status Registers)Table

Pagina 965

MCF548x Reference Manual, Rev. 330-8 Freescale Semiconductor30.3.3 MIB Block Counters Memory MapTable 30-6 defines the MIB Counters memory map which d

Pagina 966

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 30-9which are supported do not require MIB counters. Counters

Pagina 967

MCF548x Reference Manual, Rev. 32-24 Freescale Semiconductor2.2.6.5 AD2—Auto Acknowledge Configuration (AACONFIG)At reset, the enabling and disabling

Pagina 968

MCF548x Reference Manual, Rev. 330-10 Freescale Semiconductor30.3.3.1 Ethernet Interrupt Event Register (EIR)When an event occurs that sets a bit in t

Pagina 969 - FECTFSR[ALARM] bit is set

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 30-11Interrupts resulting from errors/problems detected in the

Pagina 970

MCF548x Reference Manual, Rev. 330-12 Freescale Semiconductor30.3.3.2 Interrupt Mask Register (EIMR)The EIMR controls which possible interrupt events

Pagina 971

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 30-1330.3.3.3 Ethernet Control Register (ECR)ECR is a read/wri

Pagina 972

MCF548x Reference Manual, Rev. 330-14 Freescale Semiconductor30.3.3.4 MII Management Frame Register (MMFR)The MMFR is accessed by the user and does no

Pagina 973 - 30.4 Functional Description

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 30-15To perform a read or write operation on the MII Managemen

Pagina 974

MCF548x Reference Manual, Rev. 330-16 Freescale SemiconductorThe MII_SPEED field must be programmed with a value to provide an EMDC frequency of less

Pagina 975

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 30-1730.3.3.6 MIB Control Register (MIBC)The MIBC is a read/wr

Pagina 976 - 30.4.4 FEC Frame Transmission

MCF548x Reference Manual, Rev. 330-18 Freescale Semiconductor30.3.3.8 Receive Hash Register (RHR)This read only register provides address recognition

Pagina 977 - 30.4.5 FEC Frame Reception

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 30-1930.3.3.9 Transmit Control Register (TCR)The TCR is read/w

Pagina 978 - 30-48 Freescale Semiconductor

MCF548x External Signals MCF548x Reference Manual, Rev. 3Freescale Semiconductor 2-252.2.7.2 Management Data Clock (E0MDC, E1MDC)EMDC is an output cl

Pagina 979 - 30.4.7 Hash Algorithm

MCF548x Reference Manual, Rev. 330-20 Freescale Semiconductor30.3.3.10 Physical Address Low Register (PALR)The PALR is written by the user. This regis

Pagina 980 - Eqn. 30-1

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 30-2130.3.3.11 Physical Address High Register (PAHR)The PAHR i

Pagina 981

MCF548x Reference Manual, Rev. 330-22 Freescale Semiconductor30.3.3.12 Opcode/Pause Duration Register (OPD)The OPD is read/write accessible. This regi

Pagina 982

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 30-2330.3.3.14 Individual Address Lower Register (IALR)The IAL

Pagina 983 - 30.4.10 Collision Handling

MCF548x Reference Manual, Rev. 330-24 Freescale Semiconductor30.3.3.15 Group Address Upper Register (GAUR)The GAUR is written by the user. This regist

Pagina 984 - 30.4.12.1 Transmission Errors

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 30-2530.3.3.17 FEC Transmit FIFO Watermark Register (FECTFWR)T

Pagina 985 - 30.4.13 MII Data Frame

MCF548x Reference Manual, Rev. 330-26 Freescale Semiconductor30.3.3.18 FEC Receive FIFO Data Register (FECRFDR)This is the main interface port for the

Pagina 986

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 30-2731 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16R IP 0 0 0

Pagina 987

MCF548x Reference Manual, Rev. 330-28 Freescale Semiconductor30.3.3.20 FEC Receive FIFO Control Register (FECRFCR)The FIFO receive control register pr

Pagina 988 - 30-58 Freescale Semiconductor

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 30-2931 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16R000TIMERF

Pagina 989 - Mechanical

MCF548x Reference Manual, Rev. 32-26 Freescale Semiconductor2.2.7.12 Transmit Error (E0TXER, E1TXER)When the ETXER output is asserted for one or more

Pagina 990

MCF548x Reference Manual, Rev. 330-30 Freescale Semiconductor30.3.3.21 FEC Receive FIFO Last Read Frame Pointer Register (FECRLRFP)The last read frame

Pagina 991 - Mechanical Data

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 30-31in-between the read and write pointers) into framed and u

Pagina 992

MCF548x Reference Manual, Rev. 330-32 Freescale Semiconductor30.3.3.24 FEC Receive FIFO Read Pointer Register (FECRFRP)The read pointer is a FIFO main

Pagina 993 - Pinout

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 30-3330.3.3.25 FEC Receive FIFO Write Pointer Register (FECRFW

Pagina 994

MCF548x Reference Manual, Rev. 330-34 Freescale Semiconductor30.3.3.27 FEC Transmit FIFO Status Register (FECTFSR)The FIFO transmit status register co

Pagina 995

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 30-35Table 30-34. FECTFSR Field DescriptionsBits Name Descript

Pagina 996

MCF548x Reference Manual, Rev. 330-36 Freescale Semiconductor30.3.3.28 FEC Transmit FIFO Control Register (FECTFCR)The FIFO transmit control register

Pagina 997

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 30-3730.3.3.29 FEC Transmit FIFO Last Read Frame Pointer Regis

Pagina 998 - 31.3 Mechanical Diagrams

MCF548x Reference Manual, Rev. 330-38 Freescale Semiconductor30.3.3.30 FEC Transmit FIFO Last Write Frame Pointer Register (FECTLWFP)The last read fra

Pagina 999

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 30-3930.3.3.31 FEC Transmit FIFO Alarm Register (FECTFAR)This

Pagina 1000 - PBGA package

MCF548x External Signals MCF548x Reference Manual, Rev. 3Freescale Semiconductor 2-272.2.9.2 DSPI Synchronous Serial Data Input (DSPISIN)The DSPISIN

Pagina 1001

MCF548x Reference Manual, Rev. 330-40 Freescale Semiconductor30.3.3.32 FEC Transmit FIFO Read Pointer Register (FECTFRP)The read pointer is a FIFO mai

Pagina 1002

Memory Map/Register Definition MCF548x Reference Manual, Rev. 3Freescale Semiconductor 30-4130.3.3.34 FEC FIFO Reset Register (FECFRST)The FIFO’s wit

Pagina 1003

MCF548x Reference Manual, Rev. 330-42 Freescale Semiconductor30.3.3.35 FEC CRC and Transmit Frame Control Word Register (FECCTCWR)The FEC can be sent

Pagina 1004

Functional Description MCF548x Reference Manual, Rev. 3Freescale Semiconductor 30-4330.4 Functional DescriptionThis section describes the operation o

Pagina 1005

MCF548x Reference Manual, Rev. 330-44 Freescale Semiconductor30.4.2 Frame Control/Status WordsIn the FEC, transmit frame control words and receive fra

Pagina 1006

Functional Description MCF548x Reference Manual, Rev. 3Freescale Semiconductor 30-4530.4.2.2 Transmit Frame Control Word (TFCW)Figure 30-40 shows the

Pagina 1007

MCF548x Reference Manual, Rev. 330-46 Freescale Semiconductor30.4.3 Network Interface OptionsThe FEC supports both an MII interface for 10/100 Mbps Et

Pagina 1008

Functional Description MCF548x Reference Manual, Rev. 3Freescale Semiconductor 30-47When the transmit FIFO fills to the watermark (defined by FECTFWR

Pagina 1009

MCF548x Reference Manual, Rev. 330-48 Freescale SemiconductorDuring reception, the Ethernet controller checks for various error conditions and once th

Pagina 1010 - 31.6 Case Drawing

Functional Description MCF548x Reference Manual, Rev. 3Freescale Semiconductor 30-49Figure 30-41. Ethernet Address Recognition—Receive Block Decision

Pagina 1011 - MCF548x Memory Map

MCF548x Reference Manual, Rev. 32-28 Freescale Semiconductor2.2.11.1 Serial Clock (SCL)This bidirectional open-drain signal is the clock signal for th

Pagina 1012

MCF548x Reference Manual, Rev. 330-50 Freescale SemiconductorThe hash table registers must be initialized by the user. The CRC32 polynomial to use in

Pagina 1013

Functional Description MCF548x Reference Manual, Rev. 3Freescale Semiconductor 30-5159:FF:FF:FF:FF:FF 0x1C 2879:FF:FF:FF:FF:FF 0x1D 2929:FF:FF:FF:FF:

Pagina 1014 - A-4 Freescale Semiconductor

MCF548x Reference Manual, Rev. 330-52 Freescale Semiconductor30.4.8 Full Duplex Flow ControlFull-duplex flow control allows the user to transmit pause

Pagina 1015

Functional Description MCF548x Reference Manual, Rev. 3Freescale Semiconductor 30-53The user must specify the desired pause duration in the OPD regis

Pagina 1016

MCF548x Reference Manual, Rev. 330-54 Freescale Semiconductortransmit side and/or limit the size of the frames to prevent transmit FIFO underrun and r

Pagina 1017

Functional Description MCF548x Reference Manual, Rev. 3Freescale Semiconductor 30-5530.4.12.2 Reception Errors30.4.12.2.1 Overrun Error If the recei

Pagina 1018

MCF548x Reference Manual, Rev. 330-56 Freescale SemiconductorThe data portion of the frame consists of N octets which corresponds to 2N nibbles being

Pagina 1019

Functional Description MCF548x Reference Manual, Rev. 3Freescale Semiconductor 30-574 Auto-Negotiation (AN) AdvertisementE5 AN Link Partner Ability E

Pagina 1020

MCF548x Reference Manual, Rev. 330-58 Freescale Semiconductor

Pagina 1021

MCF548x Reference Manual, Rev. 3Freescale Semiconductor iPart VMechanicalPart V provides mechanical descriptions of the MCF548x.Contents• Chapter 31,

Pagina 1022

MCF548x External Signals MCF548x Reference Manual, Rev. 3Freescale Semiconductor 2-292.2.14 Timer Module SignalsThe signals in the following sections

Pagina 1023

MCF548x Reference Manual, Rev. 3ii Freescale Semiconductor

Pagina 1024

MCF548x Reference Manual, Rev. 3Freescale Semiconductor 31-1Chapter 31 Mechanical DataThis chapter contains drawings showing the pinout, packaging, a

Pagina 1025

MCF548x Reference Manual, Rev. 331-2 Freescale SemiconductorA22 PSTDDATA3— — — R14 VSS — — —A23 PSTDDATA7 — — — R15 VSS — — —A24 PCIBR0 PPCIBR0 TIN0 —

Pagina 1026

Pinout MCF548x Reference Manual, Rev. 3Freescale Semiconductor 31-3C1 SDVDD — — — V3 AD4 — — —C2 CAS — ——V4IVDD — — —C3 VSS — — — V23 DSPICS3 PDSPI5

Pagina 1027

MCF548x Reference Manual, Rev. 331-4 Freescale SemiconductorD6 VSS— — — AB2 AD15 — — —D7 SDADDR2 — — — AB3 EVDD — — —D8 SDADDR6 — — — AB4 VSS — — —D9

Pagina 1028

Pinout MCF548x Reference Manual, Rev. 3Freescale Semiconductor 31-5F3 SDVDD — ——AC25DACK1 PDMA3 TOUT1 —F4 VSS — — — AC26 PSC2TXD PPSC3PSC20 — —F23 PC

Pagina 1029

MCF548x Reference Manual, Rev. 331-6 Freescale SemiconductorK2 SDDATA0— — — AE4 AD27 — — —K3 SDDATA1 — — — AE5 R/W PFBCTL2 TBST —K4 SDDATA11 — — — AE6

Pagina 1030

Pinout MCF548x Reference Manual, Rev. 3Freescale Semiconductor 31-7M23 VSS — — — AF9 E0TXCLK PFEC0H7 — —M24 EVDD — — — AF10 E0MDIO PFECI2C3 — —M25 PC

Pagina 1031

MCF548x Reference Manual, Rev. 331-8 Freescale Semiconductor31.3 Mechanical Diagrams31.3.1 MCF5485/5484 Mechanical DiagramFigure 31-1–Figure 31-4 show

Pagina 1032

Mechanical Diagrams MCF548x Reference Manual, Rev. 3Freescale Semiconductor 31-9Figure 31-2 shows the pinout for the upper right quadrant of the MCF5

Commenti su questo manuale

Nessun commento