AnsweredAssumed Answered

Cannt get the AD7124-4 RDY signal

Question asked by taotaowang on Sep 7, 2016
Latest reply on Sep 8, 2016 by taotaowang

Hello,

       I am using AD7124 to sample a analog signal. I config the AD to work in single mode,and only use one channel(channel 0). The following list is my configuration for AD register:

 

ad7124_st_reg gAd7124Regs[] =
{
{0x00, 0x00, 1, 2}, /* AD7124_Status */
{0x01, 0x07C9, 2, 1}, /* AD7124_ADC_Control */   // Standby mode
{0x02, 0x0000, 3, 2}, /* AD7124_Data */
{0x03, 0x0000, 3, 1}, /* AD7124_IOCon1 */
{0x04, 0x0000, 2, 1}, /* AD7124_IOCon2 */
{0x05, 0x02, 1, 2}, /* AD7124_ID */
{0x06, 0x0000, 3, 2}, /* AD7124_Error */
{0x07, 0x020038, 3, 1}, /* AD7124_Error_En */
{0x08, 0x00, 1, 2}, /* AD7124_Mclk_Count */
{0x09, 0x8001, 2, 1}, /* AD7124_Channel_0 */ 
{0x0A, 0x1043, 2, 1}, /* AD7124_Channel_1 */ 
{0x0B, 0x30C7, 2, 1}, /* AD7124_Channel_2 */ 
{0x0C, 0x20B1, 2, 1}, /* AD7124_Channel_3 */ 
{0x0D, 0x0001, 2, 1}, /* AD7124_Channel_4 */
{0x0E, 0x0001, 2, 1}, /* AD7124_Channel_5 */
{0x0F, 0x0001, 2, 1}, /* AD7124_Channel_6 */
{0x10, 0x0001, 2, 1}, /* AD7124_Channel_7 */
{0x11, 0x0001, 2, 1}, /* AD7124_Channel_8 */
{0x12, 0x0001, 2, 1}, /* AD7124_Channel_9 */
{0x13, 0x0001, 2, 1}, /* AD7124_Channel_10 */
{0x14, 0x0001, 2, 1}, /* AD7124_Channel_11 */
{0x15, 0x0001, 2, 1}, /* AD7124_Channel_12 */
{0x16, 0x0001, 2, 1}, /* AD7124_Channel_13 */
{0x17, 0x0001, 2, 1}, /* AD7124_Channel_14 */
{0x18, 0x0001, 2, 1}, /* AD7124_Channel_15 */
{0x19, 0x0817, 2, 1}, /* AD7124_Config_0 */ 
{0x1A, 0x0815, 2, 1}, /* AD7124_Config_1 */ 
{0x1B, 0x0010, 2, 1}, /* AD7124_Config_2 */ 
{0x1C, 0x0800, 2, 1}, /* AD7124_Config_3 */ 
{0x1D, 0x0860, 2, 1}, /* AD7124_Config_4 */
{0x1E, 0x0860, 2, 1}, /* AD7124_Config_5 */
{0x1F, 0x0860, 2, 1}, /* AD7124_Config_6 */
{0x20, 0x0860, 2, 1}, /* AD7124_Config_7 */
{0x21, 0x000001, 3, 1}, /* AD7124_Filter_0 */
{0x22, 0x000001, 3, 1}, /* AD7124_Filter_1 */
{0x23, 0x000001, 3, 1}, /* AD7124_Filter_2 */ 
{0x24, 0x000001, 3, 1}, /* AD7124_Filter_3 */
{0x25, 0x060180, 3, 1}, /* AD7124_Filter_4 */
{0x26, 0x060180, 3, 1}, /* AD7124_Filter_5 */
{0x27, 0x060180, 3, 1}, /* AD7124_Filter_6 */
{0x28, 0x060180, 3, 1}, /* AD7124_Filter_7 */
};

 

I use Stm32F205 to communicate with AD7124.  In a 4ms timer interrupt service function, I start signal conversion every 4ms by writing the AD7124_ADC_Control register with  0x07C5  ,but the DOUT/RDY pin has always been a high level. 

 

 

According to the datesheet, after conversition, the DOUT/RDY pin shall go low to indicate the data is ready. Can you help me to find where is the problem?

Thank you!

Outcomes