AnsweredAssumed Answered

ADF4158 configuration

Question asked by ahmedandre on May 17, 2018



I have looked at the source code of the c# application software and I have seen the following code

for (int i = 0; i < 4; i++)
buffer[i] = (byte)(data >> (i * 8));

buffer[4] = 32;
buffer_length = 5;


Is that is needed for EVERY register to be encoded correctly ?  I'm writing an SPI firmware to control the ADF4158.