-
Hi everyone. Writing some code to read a PT100 thermocouple via an AD7124 ADC, I was digging in the driver code and made some discoveries:
If it sounds reasonable, i could take in charge. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
Beta Was this translation helpful? Give feedback.
-
About your first point — when you suggest dropping the bipolar-mask property, could you clarify how you plan to handle bipolar mode instead? Since zephyr,differential typically refers to input configuration rather than voltage encoding, do you see them as related, or would you propose a separate way to handle bipolar settings? |
Beta Was this translation helpful? Give feedback.
here it is #91136
it's just for the current sources, the post filter settings could be a little bit complicated cause just a bit for channel won't be enough. if have any suggestion on this..
one more thing. at the moment we can set the ADC mode but if we use something diffrent from the default AD7124_CONTINUOUS we won't get any sample. maybe we could check the ADC mode at the beginning of the read function and temporarily switch to AD7124_SINGLE