Quantcast
Channel: Data converters
Viewing all articles
Browse latest Browse all 28678

Forum Post: ADS1248: ADS1248 GPIO Configuration

$
0
0
Part Number: ADS1248 Hi, I'm actually working on the ADS1248 ADC. For my application i need a high level on the pin 14 ( AIN5/GPIO5). The SPI work well, i can read/write registers but i have difficulties to setup the GPIO5 to output high level state. Here my procedure : - Reset the chip by pull down the reset pin during 10ms - Wait 1s - Pull start pin to high - Wait for DRDY falling edge - Send SDATAC cmd - Wait for DRDY falling edge - Write GPIOCFG to 0x20 (GPIO5 bit set to 1 to use the pin as a GPIO ) - Write GPIODIR to 0x00 (GPIO5 bit to 0 for output mode) - Write GPIODAT to 0x20 (GPIO5 bit to 1 for a high level) Bellow traces of the SPI communication. I think I forget something but I do not know what. Best regards Thomas SDATAC cmd : WREG

Viewing all articles
Browse latest Browse all 28678

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>