This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

How to access ADC_EVT_CAPT register

Hi, All

I want to use timer-5 to trigger adc-tsc subsystem in am335x. The function am33xx_cm_write_reg(val, 0, AM33XX_CM_ADC_EVT_REG_OFFSET); is used to write a value to the register where AM33XX_CM_ADC_EVT_REG_OFFSET = 0x0fd8, but the am33xx_cm_read_reg(0, AM33XX_CM_ADC_EVT_REG_OFFSET); always returns 0 no matter what value is written before. Are there something need to do before accessing this rgister?

It's appreciated for any comments, thanks!

Best Regards

Cheng Shi

Emtronix