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