Page 1 of 1

MCP3208 12bit SPI Help needed

Posted: Fri Jan 24, 2014 9:05 pm
by Jordy101091
Hi all,

I need some assistance with reading a ADC MCP3208 by the SPI bus.
Everything I do seems to backfire on my and im only getting incorrect values.

I hope that you guys can help me with my problem.

http://ww1.microchip.com/downloads/en/D ... 21298e.pdf

I have also attached my program:
For the ADC Part look for macro "ReadADC"
Controller 2014.fcfx
(79.1 KiB) Downloaded 350 times

Re: MCP3208 12bit SPI Help needed

Posted: Sat Jan 25, 2014 1:48 pm
by Jordy101091
After a good night of hard working and head banging I got it to work.

If anybody is interested in component version of the MCP3208 the let me know.

Regards Jordy

Re: MCP3208 12bit SPI Help needed

Posted: Mon Mar 24, 2014 6:15 pm
by mohamedwaly
hello
can you explain how to connect the ADC and how to read the 12bit from it?

Re: MCP3208 12bit SPI Help needed

Posted: Mon Mar 24, 2014 8:33 pm
by Jordy101091
mohamedwaly wrote:hello
can you explain how to connect the ADC and how to read the 12bit from it?

Maybe if you like I could create a component version for this device so it's easier for you to use it.
Let me know what you think of this.

Regards Jordy.

Re: MCP3208 12bit SPI Help needed

Posted: Mon Mar 24, 2014 10:06 pm
by mohamedwaly
hello
thank you very much
i use MCP3202B http://ww1.microchip.com/downloads/en/D ... 21034D.pdf
but i have flowcode 5 and flowcode 6 trail only.
so if you create component for 6 i can't use in 5, so if you can explain or make a tutorial project ,i think it will be better

Re: MCP3208 12bit SPI Help needed

Posted: Mon Mar 24, 2014 10:17 pm
by Jordy101091
mohamedwaly wrote:hello
thank you very much
i use MCP3202B http://ww1.microchip.com/downloads/en/D ... 21034D.pdf
but i have flowcode 5 and flowcode 6 trail only.
so if you create component for 6 i can't use in 5, so if you can explain or make a tutorial project ,i think it will be better
Yes of course I can create A tutorial for you if that is easier for you to work with.
I will make it available to you trough a personal Message if that is ok with you.
I don't think I can complete it today but I will do my best.

Regards Jordy

Re: MCP3208 12bit SPI Help needed

Posted: Mon Mar 24, 2014 10:19 pm
by mohamedwaly
Jordy101091 wrote:
mohamedwaly wrote:hello
thank you very much
i use MCP3202B http://ww1.microchip.com/downloads/en/D ... 21034D.pdf
but i have flowcode 5 and flowcode 6 trail only.
so if you create component for 6 i can't use in 5, so if you can explain or make a tutorial project ,i think it will be better
Yes of course I can create A tutorial for you if that is easier for you to work with.
I will make it available to you trough a personal Message if that is ok with you.
I don't think I can complete it today but I will do my best.

Regards Jordy
Thank you very much

Re: MCP3208 12bit SPI Help needed

Posted: Mon Mar 24, 2014 10:28 pm
by Jordy101091
Your welcome

Rg Jordy

Re: MCP3208 12bit SPI Help needed

Posted: Mon Oct 05, 2015 3:17 pm
by JAW
Hi Jordy,

I have just started to try and use the MCP3208 and wondered if you could send me the tutorial previously mentioned in this thread.

Regards

James