I'm having a real heck of a time with this chip, the TI ADS1256 A to D converter. Has anyone else here programmed this device before with a uC . I am using an atmel atmega 162 . All of my outputs look alive and well, and the ADC sends back semi random data when I attempt to just read a configuration register. If anyone here has example code (pseudo code, assembler, c, any processor) I would be relieved to just see some example of the proper sequence or timing. I've been through the data sheet several times and have cut back from a complete configuration and data acquisition to a very simple "what's in this register" and still don't have it working. TI doesn't have any examples of coding on their website as far as I can tell. I'm truly at a loss here, as the signals all look fairly clean (SPI signals), as far as I can tell I'm sending the right sequences and still I just get random gibberish from the chip. Thanks!
ADS1256 analog to digital converter
Started by ●April 18, 2006
Reply by ●April 18, 20062006-04-18
fenriswolfnews@hotmail.com wrote:> I'm having a real heck of a time with this chip, the TI ADS1256 A to D > converter. Has anyone else here programmed this device before with a uC > . I am using an atmel atmega 162 . All of my outputs look alive and > well, and the ADC sends back semi random data when I attempt to just > read a configuration register. If anyone here has example code (pseudo > code, assembler, c, any processor) I would be relieved to just see some > example of the proper sequence or timing. I've been through the data > sheet several times and have cut back from a complete configuration and > data acquisition to a very simple "what's in this register" and still > don't have it working. TI doesn't have any examples of coding on their > website as far as I can tell. I'm truly at a loss here, as the signals > all look fairly clean (SPI signals), as far as I can tell I'm sending > the right sequences and still I just get random gibberish from the > chip. Thanks!The signals look fairly clean ? They have to be identical to the datasheet. With matching timing. Some ADC requires some idle time after a reset. But this will also be mentioned in the datsheet. Meaning you will have to actually measure your SPI signals and compare each detail with the datasheet. Not just the timings, but also the written details Rene -- Ing.Buero R.Tschaggelar - http://www.ibrtses.com & commercial newsgroups - http://www.talkto.net