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.

ADS7951 programming for Auto-1 mode

Guru 20090 points

Hello,

I would like to confirm the program sequence for Auto-1 mode continuously. (repeat the conversion CH0 --> CH1 --> CH2 --....--> CH7 --> CH0 -->CH1--> CH2...CH7-->CH0-->.....)

(1)
Is the following program sequence for above operation correct?

1.Device Power Up
2.Device Operation in Manual Mode as default
3.Set the mode-control register of the Table 2 for Auto-1mode
   Then change to Auto-1mode
4.Set the program register of the Table3.
5.Set the Continued Operation in a Selected Mode of the Table 7.

Should we set the table 7 for repeating operation?

(2)
Regarding Table2 DI10.
According to Figure 52, I understood that we don't need to set the DI10 of Table 2.
Is my understanding correct?
If yes, when should we set the DI10 to "1"?

Best Regards,
Ryuji Asaka

 

  • Asaka-san,

    Hello!!

    Here are the answers to your questions:

    (1)

    This sequence is fine and will work correctly.

    I would suggest that you first program the Program Register in Table 3 (to select the required channels) and then set Mode-control register in Table 2 (to enter Auto-1 mode). This helps ensure that no channels are skipped during the configuration process.

    For continued operation in Auto-1 mode you could either write 0x2800 (Auto-1 mode as per Table 2) or 0x0000 (Continued Operation in Selected mode as per Table 7) for all subsequent frames.

     

    (2)

    Yes, your understanding in correct. You do not need to set the DI10 of Table 2, particularly when you are entering Auto-1 immediately after power-up.

    DI10 would need to be set to "1" in case the device was running in some other mode and has already converted data of a few channels before moving to Auto-1 mode. In this case, setting D10 for one frame would cause the device to start from the lowest enabled channel (Ch0 in your case) as it enters Auto-1 mode.

    Regards,

    Sandeep

  • Hello Sandeep san,

    Thank you for the reply.
    Regarding (2), there is the description as the following in figure 52.

    "DI10 = x . The device automatically resets the channel to the lowest number in auto-1 sequence"
    I think that the DI10 state is don't care when we change the auto-1mode from some other mode if the device already converted data of a few channels.
    Should we set DI10 to "1" when change the mode?

    Best Regards,
    Ryuji Asaka
  • Asaka-san,

    Thank you for your reply.

    I understand your question. Please give me a day to look at the design database for this part and give you the correct answer.

    Regards,

    Sandeep

  • Hello Asaka-san,

     

    I checked the design database and I can confirm that the DI10=”x” in the Auto-1 flowchart is correct.


    There is a piece of logic in the design that always resets the channel to the lowest enabled channel when it enters auto-1 mode from one of the other modes.

     

    The use case for DI10=”1” would be to reset the channel count to the lowest enabled channel while already running in auto-1 mode.

     

    Regards,

    Sandeep