I'm using Pmod AD5 on PYNQ Z1 board. I used the demo code and it works fine. I'm wondering if I can change the data rate of Pmod AD5? By default it is about 6 samples per second and I want to change it to about 50. I checked the AD7193 datasheet and it says the last 10 bits of mode registers control the data rate (FS[0] to FS[9]). I found a function in demo code called "AD5_WriteConfig(PmodAD5* InstancePtr)" . Can I ask that should I change values in Bytes[3] to change data rate? Since I tried some numbers in Bytes[3], it doesn't work.
Question
Mingfei
Hi everyone,
I'm using Pmod AD5 on PYNQ Z1 board. I used the demo code and it works fine. I'm wondering if I can change the data rate of Pmod AD5? By default it is about 6 samples per second and I want to change it to about 50. I checked the AD7193 datasheet and it says the last 10 bits of mode registers control the data rate (FS[0] to FS[9]). I found a function in demo code called "AD5_WriteConfig(PmodAD5* InstancePtr)" . Can I ask that should I change values in Bytes[3] to change data rate? Since I tried some numbers in Bytes[3], it doesn't work.
Function:
Datasheet:
Thank you for your help
Mingfei
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.