AN2442 Freescale Semiconductor / Motorola, AN2442 Datasheet - Page 12

no-image

AN2442

Manufacturer Part Number
AN2442
Description
Booting the MSC8102 Device Through TDM
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
Example Boot Master Code
12
; -------------------------------------------
; Pin Configuration
; PC31 - CLK1
; PC30 - CLK2
; PC29 - TIN2
; PC28 - TOUT2_B
; PC27 - BRG5O
; -------------------------------------------
; Configure TDM pins
write_l
write_l
write_l
write_l
write_l
write_l
; Configure Timer and BRG pins
write_l
write_l
write_l
; -------------------------------------------
; Configure the clock and frame sync
; -------------------------------------------
; TDM clock ~ 446kHz
write_l #$00010048,BRGC5
; Generate TDM frame sync (32 clocks per frame)
write_l #$10000000,TGCR1
write_w #$000E,TMR2
write_w #$001f,TRR2
; -------------------------------------------
; TDMA1 Rx clock - CLK1
; TDMA1 Tx clock - CLK2
; -------------------------------------------
write_b #$00,CMXSI1CR
#$03c00000,PPARA
#$03c00000,PSORA
#$00000000,PDIRA
#$00000fff,PPARB
#$00000fff,PSORB
#$00000000,PDIRB
#$0000001f,PPARC
#$00000008,PSORC
#$00000018,PDIRC
Freescale Semiconductor, Inc.
MSC8101
For More Information On This Product,
BRG5O
TIN2
L1RCLK
L1TCLK
TOUT2
L1RSYN
L1TXD
L1RXD
Example 2. Configure TDM Pins
Figure 9. TDM Pin Connection
Go to: www.freescale.com
TDM3RCLK
TDM3TCLK
TDM3RSYN
TDM3TSYN
TDM3RDAT
TDM3TDAT
MSC8102

Related parts for AN2442