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.

ADS7046: ADS7046 example C code with STM32

Part Number: ADS7046


Hello,

Does TI offer example C code for the ADS7046 or any other for acquiring 3msps sampling?

  • Hi db,

    We do not have any example code to share with you.  The ADS7046 uses SPI mode 1, its a straight forward 3-wire SPI interface.

  • hi tom,

    Thanks for reply. I'm working on same and i also get result but I trying to get precise sampling rate.

    Below I attach some snap for SCLK and CS signal. i trying to minimize time between sclk regenerate pulses. it is taking long time so I can't be able to reach sampling rate. I trying with different methods like Interrupt, DMA but same got. so can you suggest possible method to acquiring max 3msps sampling rate using stm32h745.  

    Red= CS signal, Blue= SCLK.... controller SYS clock frequency 400Mhz

                             

  • Unfortunately we don't know enough about your controller to tell you how to speed things up.