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.

ADS131A04: Do you have any sample program to use ADS131A04?

Part Number: ADS131A04

 Hello guys,

 One of my customers is going to evaluate ADS131A04 for their new products.

 They have the following questions for the evaluation. Could you please give me your reply?

 Q1, There is this description ,"// Configure Int/Ext reference, CLK dividers, OSR, comparator threshold,

        negative charge pump, and power mode setting" as configuring device on page 82 in the device datasheet (ver#: SBAS590E)

        Can ADS131A04 be operated correctly with these items setting only?

        Is there any item which must be set  for correct operation except items above?

        They want to know the minimum item which must be set.

 Q2, Do you have any sample program to operate ADS131A04 correctly?

 Your reply would be much appreciated.

 Best regards,

 Kazuya.

  • Hello Nakai-san,

    Thank you for promoting our ADS131A04 with your customers. May I ask what is the application?

    The start-up routine shown in Figure 106 is just an example of which registers need to be configured. It is not a fully comprehensive set of register settings. For example, the device defaults to using an external reference voltage, so the customer might switch to the internal reference at this time.

    There is some example C code available on the ADS131A04 product folder: https://www.ti.com/product/ADS131A04#design-development##software-development

    Best regards,

    Ryan

  •  Hello Ryan, 

     Thank you very much for your reply.

     Could I ask you a few additional questions as the follows?

     Q1. In Asynchronous Interrupt Mode, the master can know that new conversion data is alive by /DRDY falling edge.

            In case of Synchronous Slave Mode, how can the master know that new conversion data is alive?

            Because the master give clock signal to CLKIN pin of ADS131, can the master know it by counting the number of the clock pulse?

     Q2. The customer will use 2 pieces of ADS131 on one board. 

           I think there are 2 type of connection between MCU and ADS131 in the case.

           One is one by one connection. Then 2 set of connection bus (SCLK,DIN,DOUT,/CS,/RDY) are needed.

           The other is daisy chain connection. Then 1set of connection bus is needed.

           What is advantage and disadvantage of each connection?

      Could you please give me your reply?

     Thank you again and best regards,

     Kazuya.

  • Hello Nakai-san,

    1. Please refer to Figure 65. The host will drive the same signal to /CS and /DRDY. This will establish the frame size and synchronize conversions to the frame period.
    2. There is no difference in functionality between sharing one SPI bus or using two independent SPI buses. It's merely a matter of resource availability in the host controller. Keep in mind that sharing one SPI bus will require a faster SCLK frequency in order to read all of the data in one data rate period. Multiple device configurations are available in all interface modes.

    Regards,

    Ryan

  • Hello Ryan,

     Thank you very much for your reply.

     It is very helpful for the customer and me.

     Thank you again and best regards,

     Kazuya.