AnsweredAssumed Answered

HSC-ADC-EVALEZ+AD9656. Devider in Matlab.

Question asked by EDDDD on Oct 30, 2017
Latest reply on Nov 13, 2017 by DougI


      I'm working with a set HSC-ADC-EVALEZ +AD9656 in a matlab environment. For work I use the code based on the example provided on this forum. I do not understand how to change the value of a clock divider. I change the values of the registers ad9656:

"board.SpiWrite(int16(hex2dec('0B')), uint8(hex2dec('05')))"

and ad9508:

"board.SpiWrite(int16(hex2dec('15')), uint8(hex2dec('05'))) 
board.SpiWrite(int16(hex2dec('16')), uint8(hex2dec('00'))) 
board.SpiWrite(int16(hex2dec('1B')), uint8(hex2dec('05'))) 
board.SpiWrite(int16(hex2dec('1C')), uint8(hex2dec('00')))

but this leads to an error. Where do I do something wrong?