Part Number: LDC1101EVM
Hiiyyaaa Forum experts,
I need to check threshold for RP and L so for that we need to configure 0x0A register. I have configured as 0x09. I'm not seeing my RP_HIN or L_HIN is setting 0. Please tell me something about this.
If I'm setting INTB_FUNC register which is 0x0A as 0x01 then I'm seeing my RP_HIN is 0 in RO_HIN. can't we use this INTB_FUNC register to check for RP_HIN and L_HIN. Please reply ASAP. I need to finish my work as soon as possible
Thanks and Regards,
When comparing Rp and L to their respective thresholds, the RP_HIN and L_HIN values will latch to 0 after the threshold has been exceeded. In order to reset the values after they are read, you need to write the INTB_FUNC value to 0x00. If you are interested in only when the measurement is currently above the threshold, try using the RP_HI_LON and L_HI_LON values of the STATUS register.
The INTB_FUNC value is used to report a specific flag to the SDO pin. Writing a value of 0x09 to the pin is not valid, please see table 13 in the datasheet for the different output possibilities.
Current and Position Sensing
For more information, check out the Inductive Sensing FAQ
"TI makes no warranties and assumes no liability for applications assistance or customer product design. You are fully responsible for all design decisions and engineering with regard to your products, including decisions relating to application of TI products. By providing technical information, TI does not intend to offer or provide engineering services or advice concerning your designs."
We are glad that we were able to resolve this issue, and will now proceed to close this thread.
If you have further questions related to this thread, you may click "Ask a related question" below. The newly created question will be automatically linked to this question.
In reply to Justin Beigel:
Please give me a brief description about RP_HI_LON and L_HI_LON and also how to use them. Please< its a request because I have tried according to my datasheet but I failed to make that work if you can explain a bit, that will work for me. Hope you understood what I tried to say.
In INTB_FUNC (RP_HI_LON bit is always getting 0 and 1 continously). Why I'm seeing that bit is always getting low and high. Can you explain this to me. How can we avoid that for better results.
In reply to Manish_Thakur:
The RP_HI_LON and L_HI_LON are outputs based on a hysteresis comparison between the RP_DATA/L_DATA and your thresholds. If you are seeing these values switch rapidly between 0 and 1, then it could be due to a few different things. It could be due to the high and low thresholds that you have set. Another thing to check is the values of the actual data (RP_DATA/L_DATA). If they are moving around a lot, it could be due to the sensor/target setup that you are using. Check out the LDC Sensor Design document for more information on the sensors. Additionally, if you are unsure of where your thresholds should be set for the Rp measurement, the Measuring Rp of an L-C Sensor for Inductive Sensing app note can help.
Hope this helps,
You have mentioned this "Writing a value of 0x09 to the pin is not valid, please see table 13 in the datasheet for the different output possibilities" So the attached image says
1) If you want to check RP_HI_LON then write 0x02 in INTB_FUNC register and If we want to check L_HI_LON then write 0x16 in INTB_FUNC am I correct at this point?
2) If I want to check RP_HI_LON and L_HI_LON then can we write 0x18 in INTB_FUNC register.
Please clear my concepts about this point then my doubts will be clear regarding the LDC1101. Please reply ASAP.
The INTB_FUNC register is used to determine which output will show on the SDO pin of the device. You can only have one output show up on the pin at a time so if you need to check the value of both, then you will need to access the register values through the I2C or switch which one is output to the SDO pin.
Hope this helps,
To INTB Reporting on SDO we need to write 0x80 into INTB_MODE register. am I correct here?
one last question regarding this topic how we can get interrupt on SDO pin. I'm using MSP430FR5969 board so what I'm trying to get is I need interrupt on SDO pin if DRDY is set or clear. And in datasheet it has been said that SDO pin will go low and high as shown in image
so my SDO pin is a port pin of GPIO if I configure that port for interrupt so there interrupt will generate or not on port pin. Please clear my this doubt and afterthat you can further move to close the thread.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.