SPRUJ53B April 2024 – September 2024 TMS320F28P550SJ , TMS320F28P559SJ-Q1
Register | Value | Selected Mode |
---|---|---|
Epg1MuxRegs | ||
EPGMXSEL0.SEL0 | 0x1 | Select EPGOUT0 to drive DATAOUT[0] |
EPGMXSEL0.SEL1 | 0x1 | Select EPGOUT1 to drive DATAOUT[1] |
EPGMXSEL0.SEL2 | 0x1 | Select EPGOUT2 to drive DATAOUT[2] |
EPGMXSEL0.SEL3 | 0x1 | Select EPGOUT3 to drive DATAOUT[3] |
Epg1Regs | ||
Global Settings | ||
GCTL0.EPGOUT0SEL | 0x0 | Selects signal mux output on EPGOUT0 |
GCTL0.EPGOUT1SEL | 0x0 | Selects signal mux output on EPGOUT1 |
GCTL0.EPGOUT2SEL | 0x0 | Selects signal mux output on EPGOUT2 |
GCTL0.EPGOUT3SEL | 0x0 | Selects signal mux output on EPGOUT3 |
GCTL3.EPGOUT0_SIGOUTSEL | 0x0 | Select SIGGEN0.OUT[0] on EPGOUT0 |
GCTL3.EPGOUT1_SIGOUTSEL | 0x1 | Select SIGGEN0.OUT[1] on EPGOUT1 |
GCTL3.EPGOUT2_SIGOUTSEL | 0x2 | Select SIGGEN0.OUT[2] on EPGOUT2 |
GCTL3.EPGOUT3_SIGOUTSEL | 0x3 | Select SIGGEN0.OUT[3] on EPGOUT3 |
GCTL1.SIGGEN0_CLKSEL | 0x0 | Select CLKOUT0 of CLKGEN0 as the clock source of SIGGEN0 |
CLKGEN0 Setting | ||
CLKDIV0_CTL0.PRD | 0x0 | Divide by 1 |
CLKDIV0_CLKOFFSET.CLK0OFFSET | 0x0 | No offset |
SIGGEN0 Mode and Bit Length Configuration | ||
SIGGEN0_CTL0.BITLENGTH | 0xC | Configure bit length to 12 to get a divide-by-12 clock. |
SIGGEN0_CTL0.MODE | 0x3 | Configure the mode to rotate right repeat mode to generate a periodic waveform. |
SIGGEN0_DATA0[11:0] | 0000 0111 1110 | Initialize the 12 bits to 6 ones and 6 zeroes, which makes sure of a 50% duty cycle clock. |
SIGGEN0_DATA0[27:16] | 0001 1111 1000 | Create a 2-cycle offset with respect to first clock. |
SIGGEN0_DATA1[11:0] | 0111 1110 0000 | Create a 4-cycle offset with respect to first clock. |
SIGGEN0_DATA1[27:16] | 1111 1000 0001 | Create a 6-cycle offset with respect to first clock. |