Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

AFE4404: Reading non-output registers in AFE4404

$
0
0

Part Number:AFE4404

Hello, 

I have been working with an AFE4404 + SFH7050 sensor and everything seems to work. I control them with an Arduino and have been able to get CLKOUT and output led values from AFE. However, other register values always return zero even after I enable REG_READ. 

I need to know these information:

- in an i2c operation before reading a specific register (e,g, reg 0x23), should I do a write i2c_write(0x00, 0x01) to enable reading, then maybe wait for some time, and then do a write to target register followed by requesting 3 bytes? I did exactly this and just received zero. 

- should I skip sending a start flag on i2c bus and write the target register after writing REG_READ? I haven't tried it. 

- REG_READ will stay enabled and requires being set only once or I will need to do the operation every time I want to read a register?

Thanks,

Mona


Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>