Page 1 of 1

Trouble of reading a MCP3208 ADC

Posted: Mon Sep 08, 2014 6:27 am
by lilzz
I was trying to read value from an ADC MCP3208 but something gone wrong.

Now Pi haven't trouble to boot up. There's stack trace dump and I see something of entering kdb,
kgdb_handle_excption, kdb_stb, ISA_ARM segment kernel, table, DAC, and a bunch registers dump look like.

What happened there? corrupted OS and need to reinstall?

Re: Trouble of reading a MCP3208 ADC

Posted: Mon Sep 08, 2014 7:01 am
by joan
How did you connect the MCP3208 to the Pi? What voltage was it being fed? What voltage was present on DOUT?

Re: Trouble of reading a MCP3208 ADC

Posted: Mon Sep 08, 2014 2:59 pm
by lilzz
joan wrote:How did you connect the MCP3208 to the Pi? What voltage was it being fed? What voltage was present on DOUT?
I made a new 5.0V ADC board so I didn't connect the DOUT, just sclk, MOSI, GND from Pi, I trying to measure the voltage using voltage meter on DOUT..

So, Now, Pi can't boot it got that error message every time I am trying to boot even after I reprogrammed the SDCARD, It's hardware related.

Is the GPIO pin got damaged? Any way to recover from that?

Re: Trouble of reading a MCP3208 ADC

Posted: Mon Sep 08, 2014 3:55 pm
by joan
It doesn't sound like the MCP3208 was the cause of any damage.

From your description it sounds like the kernel is booting into single user mode. At one stage there was a gpio setting that caused that (a particular gpio being held low at boot). I thought that feature had been removed.

It may be best to start a new post with details of what you see on screen during boot. The sort of people who can help with that may not be the sort of people who read MCP3208 related topics.

Re: Trouble of reading a MCP3208 ADC

Posted: Mon Sep 08, 2014 4:42 pm
by lilzz
joan wrote:It doesn't sound like the MCP3208 was the cause of any damage.
Now if the GPIO pin got damages by over voltage then the board wouldn't be able to power up?

Re: Trouble of reading a MCP3208 ADC

Posted: Mon Sep 08, 2014 4:49 pm
by joan
lilzz wrote:
joan wrote:It doesn't sound like the MCP3208 was the cause of any damage.
Now if the GPIO pin got damages by over voltage then the board wouldn't be able to power up?
Possibly.