infineon4engineers Facebook

infineon@google+ Google+

infineon@linkedin linkedin

infineon4engi@twitter twitter

infineon@youtube youtube

+ Reply to Thread
Results 1 to 4 of 4

Thread: TLV493D 3D mag sensor not robustly reliable

  1. #1
    New Member New Member Renate is on a distinguished road
    Join Date
    Feb 2019
    Posts
    2
    Points
    17.5

    TLV493D 3D mag sensor not robustly reliable

    I'm using a TLV493D 3D mag sensor on I2C using the "Master Command Mode".
    It generally works, but not robustly.
    I'm polling at 5 second intervals and I hit maybe 5% of the time where the CH/FR indicates that it hasn't finished conversion.
    Yes, I can try another read.
    Since the MCM mode doesn't actually power down, you can't use the PD flag to check for completion.
    Some of the time it indicates that conversion is finished but the binary value of the temperature read is zero (XYZ is good).
    Sometimes, it seems to lock up the bus completely.

    Yes, I have full recovery methods working, but I'm not impressed.

    The reference manual says:
    5.6 ADC hang up in Master Controlled or Fast Mode
    Problem description
    In the Master Controlled Mode (MCM) or the Fast Mode (FM) the ADC conversion may hang up.
    Say what?

  2. #2
    Beginner
    Infineon Employee
    Infineon Employee
    dagern is on a distinguished road
    Join Date
    Jan 2018
    Posts
    4
    Hi,

    I see the same with a hung up ADC from time to time. Performing a reset as described in 5.6 works quite well in my case.
    btw: why aren't you running the sensor in the master controlled low-power mode (5.5.1)?
    The views expressed here are my personal opinions, have not been reviewed or authorized by Infineon and do not necessarily represent the views of Infineon.

  3. #3
    New Member New Member Renate is on a distinguished road
    Join Date
    Feb 2019
    Posts
    2
    Points
    17.5
    Well, the 5.5.1 "Master controlled low-power mode" uses the /INT (SCL), which kind of makes the whole I2C bus non-standard.
    That /INT might have been useful if they had broken it out on a separate pin.
    Anyway, turning down the power after conversion is not a big difference from the regular MCM.

    The 5.6 reset of broadcasting to everything is kind of an ugly thing to do on the I2C bus.
    Who knows what other devices on the bus could do?
    Moreover, the I2C spec says that you are supposed to send an actual byte after the broadcast address.

    Yes, I do repeated reads, yes, I do full broadcast reset/config, yes, I have gotten this to nominally working ok.

    In any case, it's kind of like buying a new TV and being told that if the picture turns snowy to just smack it on the side.

  4. #4
    New Member New Member Spratling is on a distinguished road
    Join Date
    Apr 2019
    Posts
    1
    Points
    40
    If only smacking it on the side worked. Unfortunately, it's more intricate than that. You're 100% right, Renate.

+ Reply to Thread

Tags for this Thread

Disclaimer

All content and materials on this site are provided “as is“. Infineon makes no warranties or representations with regard to this content and these materials of any kind, whether express or implied, including without limitation, warranties or representations of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, whether express or implied, is granted by Infineon. Use of the information on this site may require a license from a third party, or a license from Infineon.


Infineon accepts no liability for the content and materials on this site being accurate, complete or up- to-date or for the contents of external links. Infineon distances itself expressly from the contents of the linked pages, over the structure of which Infineon has no control.


Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Usage Terms of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Usage Terms of this site. Infineon reserves the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.