I am working on a SPORT programming for DAC on BF531 custom board.
My SCLK is 133Mhz
I have initialized the SPORT as follows.
*pSPORT0_TFSDIV = 0x001F; // frame sync every 32 clk cycles
*pSPORT0_TCR2 = SLEN; // SLEN is 0F
*pSPORT0_TCR1 = 0x7602;
*pSPORT0_TCR1 = 0x7603;
sysreg_write(reg_SYSCFG, 0x32); //Initialize System Configuration Register
while(TXHRE != 1)
*pSPORT0_TX16 = 0xFFFF ;
I am trying to just pust the data FFFF to the DAC LTC1661. So could you please help me with this.
I can view the Parallel TX/RX register being updated in the simulator mode and when i run on the actual hardware i dont see this register being updated