Joined: 12 Oct 2010 Posts: 1 Location: Indore, India
MCP3021 not working only able to read upper 4 bits
Posted: Tue Oct 12, 2010 8:44 am
Hi there!
I make a code to comunicate with a i2c mcp3021 device.
But I am only able to read read upper 4 bits of ADC and after that it gives NAK bit on next pulse and I am not able to receive any more data. _________________ Regards
Girish
FvM
Joined: 27 Aug 2008 Posts: 2337 Location: Germany
Posted: Tue Oct 12, 2010 9:12 am
You may want to show the code.
trirath
Joined: 14 Jun 2010 Posts: 20 Location: Pathunthanee Thailand
Posted: Sat Nov 20, 2010 8:24 am
There are many example code in this forum you can search MCP3202, MCP3204 or MCP32.
Anyway, CCS Complier provided driver in directory Driver MCP3204 and MCP3208 that work. When I adapted to MCP3202 that work fine.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum