This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

How to code to write or read CFR for ADS8328 with TMS320C28069?

Other Parts Discussed in Thread: ADS8328

Hello.

How to code to write or read CFR of ADS8328?

reset =    WRITE_CFR |  

            !AUTO_CHAN|CCLK_INT|MAN_TRG|D8_DNC|           

            !POL_INT_EOC_LOW|PIN10_EOC|PIN10_OUTPUT|ANAP_DISABLE| 

            RESUME_NAP|RESUME_DEEP|!TAG|!NO_RESET;

SpibRegs.SPITXBUF = reset;
while(SpibRegs.SPIFFTX.bit.TXFFST == 1) {}

SpibRegs.SPITXBUF = 0xC000;
while(SpibRegs.SPIFFTX.bit.TXFFST == 1) {}
CFRValue1 = SpibRegs.SPIRXBUF;

as above, I configured CFR with reset. But after writing, when i read the value of CFR, the value of CRF

was different from the value which I writed with reset.

The code is correct?

THANKS

Kevin