This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Time of changing mode from "Configuration" to "Active"

Part Number: TMAG5170-Q1

Hi, All.

How long does it take to change status bit of MISO to "Active"  when I commanded TMAG5170-Q1 to change operating mode from "Configuration mode" to "Active Measure mode" ?

I would like to distingish between this processing was success or failed but I could not find data of this time from Datasheets.

regards,
takeya

  • Takeya,

    We should plan around the worst case scenario.  The initialization times for each mode are shown in Table 3 of the datasheet:

    Notice that Active mode has an initialization of 10 us, Standby has an initialization of 35 us, and Configuration mode has an initialization of tstandby + 35 us . The specification for tstandby is shown here:

    A worst case initialization will be the 213 us for standby mode + 35 us + 10 us = 258 us.

    If converting continuously in active mode, the datasheet indicates that the first conversion should take 40 us, while subsequent conversions each take 25 us. If in trigger mode, each conversion will take about 40 us.

    Thank you,

    Scott Bryson

  • Scott Bryson,

    Thank you for getting back  to me.
    I recognized your answer as below.

    Master sent command to change operating mode from configuration to Active measurement. (0us)
    Changing operating mode was completed. (258us)
    First conversion was done. (298us)

    So,time of changing SYS_STATUS (Bit 10-8) from 0x0 to 0x2 = 298us.

    Is this recognition correct ?

    Best regards.
    Takeya

  • Takeya,

    The worst case time to change modes based on what is shown is 258 us. 

    If using trigger mode, then the first conversion will start once initiated, and that could be at any time following the initialization.  If operating in continuous mode, then the conversions will start immediately and the first possible result should be ready no later than 298 us (one channel with 1x averaging). 

    The complete conversion time will increase based on the conversion pattern selected.  For example XYX will require 3 conversions requiring a time of 40 us + 25 us + 25 us = 90 us.  Then if averaging were selected then this mode would increase by (3*25 us) *(n-1) where n is the number of averaging samples.  So for the case of 32x averaging we would expect this entire conversion to require 2415 us.  For every conversion following this while in continuous mode, the conversion would require 2400 us.  In trigger mode, every conversion would require the larger value as the pipelined conversion process terminates and must restart after each trigger event.

    Thank you,

    Scott Bryson