Hi
I need to set the analogue input to DC coupling.
i try to call the ad9467_analog_input_coupling(ad9467_device, 1, &status) but dones' work as the function doesn't write any actual bit when the coupling mode = 1. I also use coupling mode = 7 with no luck.
I looked into the code and it only writes to the register when coupling mode == 0 or 7.
if((coupling_mode == 0) || (coupling_mode == 7))
Note: function description.
/***************************************************************************//**
* @brief Sets the AC coupling(0) or DC coupling(1) mode.
*
* @param dev - The device structure.
* @param coupling_mode - Input coupling mode selection.
* Example: 0 - AC coupling;
* 1 - DC coupling(default).
* @param ret_stat - Return parameter of the set coupling mode.
*
* @return Error code.
*******************************************************************************/
the figure below shows the square signal capture by AD9467 FMC Card / Xilinx Reference Design. the square signal feature is 50khz, 1Vp-p and 0 offsets.
Please help.