2021-12-09 04:14 AM
Hello,
I have to interface the ADS7046 12-Bit, 3-MSPS, Single-Ended Input, Small-Size, Low-Power SAR ADC. Spi compatible ADC 12 bit resolution and MSPS.
1.How to set its data size in spi configuration?
2.In datasheet they did not give the clock polarity which then I have to set?2.Its maximum clock is 3MHz how to set ? I have to set less than 3Mhz clock to spi.
3.CS pin is GPIO is set ,in that I have to also manage the clock of GPIO?
4.First two bits is getting zero after that 12 bit is sampled after it get two zero. Then I have shifting the data to remove. the zeros.
2021-12-09 07:01 AM
Hi,
please precise which platform (board or STM32 part number) you are using. Then we can dispatch your question to the right topic.
Regards.
2021-12-09 07:15 AM
I am working on Nucle-h745ziq board. And stm32cubeide am using. I am confused that fsmaple frequency is 3MHz. Spi compatible frequency is maximum 60Mhz.so which frequency I have to configure to spi?