SPRUIZ1B July 2023 – August 2024 TMS320F28P650DH , TMS320F28P650DK , TMS320F28P650SH , TMS320F28P650SK , TMS320F28P659DH-Q1 , TMS320F28P659DK-Q1 , TMS320F28P659SH-Q1
Register | Value | Selected Mode |
---|---|---|
Epg1MuxRegs | ||
EPGMXSEL0.SEL0 | 0x1 | Select EPGOUT0 to drive DATAOUT[0] |
EPGMXSEL0.SEL1 | 0x1 | Select EPGOUT1 to drive DATAOUT[1] |
Epg1Regs | ||
Global Settings | ||
GCTL0.EPGOUT0SEL | 0x0 | Selects signal mux output on EPGOUT0 |
GCTL3.EPGOUT0_SIGOUTSEL | 0x4 | Select SIGGEN0.OUT[4] on EPGOUT0, on 64-bit reversal, 31 bit appears on 32 bit (hence, configuring to 4). |
GCTL0.EPGOUT1SEL | 0x0 | Selects signal mux output on EPGOUT1 |
GCTL3.EPGOUT1_SIGOUTSEL | 0x8 | Select SIGGEN1.OUT[0] on EPGOUT1. |
GCTL1.SIGGEN0_CLKSEL | 0x0 | Select CLKOUT0 of CLKGEN0 as the clock source of SIGGEN0 |
GCTL1.SIGGEN1_CLKSEL | 0x4 | Select CLKOUT0 of CLKGEN1 as the clock source of SIGGEN1 |
CLKGEN0 Setting | ||
CLKDIV0_CTL0.PRD | 0x7 | Divide by 8 |
CLKDIV0_CLKOFFSET.CLK0OFFSET | 0x0 | No offset |
CLKDIV1_CTL0.PRD | 0x3 | Divide by 4 |
SIGGEN0 Mode and Bit Length Configuration | ||
SIGGEN0_CTL0.BITLENGTH | 0x20 | Do 32 shifts. |
SIGGEN0_CTL0.MODE | 0x1 | Configure the mode to shift right once mode. Generates an interrupt after 32 shifts. |
SIGGEN0_CTL0.BRIN | 0x1 | Reverse the bits to the data transform block to make sure that the MSB is transmitted first. |
SIGGEN0_CTL0.BROUT | 0x1 | Reverse the data back and store in the register |
SIGGEN0_DATA0[15:0] | 0xAA55 | Data to be shifted out |
SIGGEN0_DATA0[31:16] | 0xCCCC | Data to be shifted out |
SIGGEN0_DATA1[15:0] | 0xAA55 | Data to be shifted out |
SIGGEN0_DATA1[31:16] | 0x55AA | Data to be shifted out |
SIGGEN1 Mode and Bit Length Configuration | ||
SIGGEN1_CTL0.BITLENGTH | 0x2 | Set bit length to 2 to generate a 50% duty clock. |
SIGGEN1_CTL0.MODE | 0x3 | Configure the mode to rotate right repeat mode. Generates a 50% duty cycle clock. |
SIGGEN1_DATA0[15:0] | 0x2 | Data to be shifted out |