Legacy Forum: Preserving Nearly 20 Years of Community History - A Time Capsule of Discussions, Memories, and Shared Experiences.

continuous acquisition using the AD7918 on the RB-100

Based on DMP's Vortex processor / SoC this board is a full computer capable of running a standard Windows and Linux installation on the backpack of your robot.
16 postsPage 2 of 21, 2
16 postsPage 2 of 21, 2

Post by roboard » Tue Jul 27, 2010 3:28 am

Post by roboard
Tue Jul 27, 2010 3:28 am

ea4ps wrote:My fault!!! I did try and change the variable to 1023, for this reason in channel 7 I get 1023 value. Despite this, why do I get values like 32767 if these are inicializated or 496 and 1023 if nothing is connected?
I think that this happend because the adc chip is ?burned?


When calling ad7918_InitializeMCH() with all channels and some channels return 32767, it indicates that some A/D channels can't respond possibly due to the A/D burned.

Please try the same code with lower SPI clock: use spi_Initialize(SPICLK_10000KHZ) instead. If it gives the same results, your AD7918 chip might really be burned, and you can email tech@roboard.com for the repair issue. :)
ea4ps wrote:My fault!!! I did try and change the variable to 1023, for this reason in channel 7 I get 1023 value. Despite this, why do I get values like 32767 if these are inicializated or 496 and 1023 if nothing is connected?
I think that this happend because the adc chip is ?burned?


When calling ad7918_InitializeMCH() with all channels and some channels return 32767, it indicates that some A/D channels can't respond possibly due to the A/D burned.

Please try the same code with lower SPI clock: use spi_Initialize(SPICLK_10000KHZ) instead. If it gives the same results, your AD7918 chip might really be burned, and you can email tech@roboard.com for the repair issue. :)
roboard
Savvy Roboteer
Savvy Roboteer
Posts: 302
Joined: Fri Jul 03, 2009 4:44 am

Previous
16 postsPage 2 of 21, 2
16 postsPage 2 of 21, 2