Page 1 of 1

MCP3208

Posted: Sun May 12, 2013 10:20 pm
by Jordy101091
HI everyone,

For A project im trying to interface a 8CH 12Bit ADC "MCP3208", Im tryin all day to get it to work but I not getting anything out.
I hop somebody can help with this as I don't know what i'm doing wrong.

I have checked all my signals and I'm 99% sure that they are connected correctly.

Datasheet of: MCP3208 http://ww1.microchip.com/downloads/en/d ... 21298c.pdf

I have attached my Flowcode below

Regards Jordy

Re: MCP3208

Posted: Tue May 14, 2013 4:42 am
by Jordy101091
Hi all,

Does nobody have an idea what I'm doing wrong here.

Regards Jordy

Re: MCP3208

Posted: Tue May 14, 2013 9:13 am
by Benj
Hi Jordy,

Is the D1 signal your Chip select signal?

If so then it looks like your almost doing things correctly. The last send char 0b00000000 is probably not required as the transaction is completed after 3 bytes.

Looks like the sending begins halfway through the second byte which is helpful.

Here is an example which should collect the lower 8-bits of the result. If you also need the upper 4 bits then let me know and I will see what is possible.