
MPC5
644A
Micro
c
on
tro
ller
Re
fe
ren
ce
Man
u
al, R
e
v
. 6
Appendice
s
Fre
e
scale
Semico
nductor
995
DATA_UART_TX = DATA_WORD_TX(0x000000AA); //load first byte to be transmitted=AA
DATA_SIZE_TX = DATA_SIZE_TRANS(8); //8-bit data word for transmitter
MATCH_RATE_RX = MATCH_RATE_REC(0x412); //setup match rate for receiver
DATA_SIZE_RX = DATA_SIZE_REC(8); //8-bit data word for receiver
//Write to Channel host service request registers(ETPU_CxHSRR) to
//initialize active channels(Channel 0 and 1)
ETPU_C0HSRR_1 = HOST_SERV_REQ(3);
ETPU_C1HSRR_1 = HOST_SERV_REQ(2);
//write to Channel priority field to enable each channel by
//assigning it a high,middle or low priority
ETPU_C0CR_1 =(ETPU_C0CR_1 | CHANNEL_PRIORITY_HIGH);
ETPU_C1CR_1 =(ETPU_C1CR_1 | CHANNEL_PRIORITY_HIGH);
//Monitor channel host service request register for completion
//of initialization
//HSR should be zero in the end of initialization
do
{
temp = ETPU_C0HSRR_1;
} while (temp != 0);
do
{
temp = ETPU_C1HSRR_1;
} while (temp != 0);
//Write GTBE bit to start TCR1 and TCR2 time bases counting
//at the same time
ETPU_MCR = (ETPU_MCR | GTBE);
}// end of etpu_initialization routine
***********************************************************************************
24.7.3
Predefined channel mode summary
explains channel double match predefined submode functionality by showing all event sequence possibilities. The initial
state considered for all submodes is channel flags MRLA, MRLB, TDLA and TDLB reset. From initial state one can follow the table
and verify how each submode behaves in a determined sequence of events. Note that the actions performed by an event type depend
on all previous events following the initial state, for a given channel submode.
Summary of Contents for MPC5644A
Page 2: ...MPC5644A Microcontroller Reference Manual Rev 6 2 Freescale Semiconductor...
Page 24: ...MPC5644A Microcontroller Reference Manual Rev 6 24 Freescale Semiconductor...
Page 26: ...MPC5644A Microcontroller Reference Manual Rev 6 26 Freescale Semiconductor...
Page 52: ...Introduction MPC5644A Microcontroller Reference Manual Rev 6 52 Freescale Semiconductor...
Page 56: ...Memory Map MPC5644A Microcontroller Reference Manual Rev 6 56 Freescale Semiconductor...
Page 1228: ...Decimation Filter MPC5644A Microcontroller Reference Manual Rev 6 1228 Freescale Semiconductor...
Page 1440: ...FlexCAN Module MPC5644A Microcontroller Reference Manual Rev 6 1440 Freescale Semiconductor...