2 modem8 mode, Modem8 mode -50 – Freescale Semiconductor MCF5480 User Manual

Page 812

Advertising
background image

MCF548x Reference Manual, Rev. 3

26-50

Freescale Semiconductor

26.7.2.2

Modem8 Mode

Applying the clock to the PSCBCLK input and programming the control registers are required to initialize

in modem8 mode. The following table describes a sample initialization sequence.

9

PSCRFCR

0F

WRITE TAG = 00

Not EOF

FRMEN=1

Enable frame mode

GR[2:0]=100

Granularity is 4 byte

10

PSCTFCR

0F

WRITE TAG = 00

Not EOF

FRMEN=1

Enable frame mode

GR[2:0]=100

Granularity is 16 byte

11

PSCRFAR

00F0

ALARM[8:0]=0F0

Request is asserted if # of data >= 240

12

PSCTFAR

00F0

ALARM[8:0]=0F0

Request is asserted if # of empty >= 240

13

PSCOPSET

01

RES=0

Bit is always 0.

RTS=1

Assert RTS (PSCnRTS=0)

14

PSCCR

05

TC=01

Enable transmitter

RC=01

Enable receiver

Table 26-42. Sample Initialization Sequence for Modem8 Mode

Step

No.

Register

Value

Details

Meaning

1

PSCSICR

01

DTS1=0

The 1st bit is in the rising edge of sync

SHDIR=0

MSB first

SIM[2:0]=001

modem8 mode

2

PSCCR

20

MISC=010

Reset receiver and RxFIFO

30

MISC=011

Reset transmitter and TxFIFO

40

MISC=100

Reset all error status

3

PSCIMR

0300

IPC=0

Disable input port change interrupt

RxRDY or FU=1

Enable receiver interrupt/request

TxRDY=1

Enable transmitter interrupt/request

4

PSCRFCR

0F

WRITE TAG=00

Not EOF

FRMEN=1

Enable frame mode

GR[2:0]=100

Granularity is 4 byte

Table 26-41. Sample Initialization Sequence for UART Mode (Continued)

Step

No.

Register

Value

Details

Meaning

Advertising
This manual is related to the following products: