View previous topic :: View next topic |
Author |
Message |
khwoo
Joined: 26 May 2009 Posts: 12
|
Need help in MCP3424 read 18 bits and store in register |
Posted: Sun Oct 23, 2011 7:16 am |
|
|
Hi,
I am in the trouble of writing a code for
MCP3424, ADC chip reading 18 bits through its 4 channels.
Microchip PIC24HJ128GP206 sends commands, receive and store the data in its registers.
Can anyone help on this? Or are there any previous threads that has similar cases like this.
Thanks |
|
|
RF_Developer
Joined: 07 Feb 2011 Posts: 839
|
Re: Need help in MCP3424 read 18 bits and store in register |
Posted: Mon Oct 24, 2011 1:54 am |
|
|
khwoo wrote: | Hi,
I am in the trouble of writing a code for
MCP3424, ADC chip reading 18 bits through its 4 channels.
Microchip PIC24HJ128GP206 sends commands, receive and store the data in its registers.
Can anyone help on this? Or are there any previous threads that has similar cases like this.
Thanks |
Its a simple enough I2C ADC IC :-| Please post your code and someone may be able to help. Drivers for devices such as this are the normally the first thing I'd do on any project. Let's see where you've got to, and where you're having trouble. As for whether there are any threads dealing with this, why not simply search on "MCP3424"? Ahhh, I see you already have....
RF Developer |
|
|
temtronic
Joined: 01 Jul 2010 Posts: 9229 Location: Greensville,Ontario
|
|
Posted: Mon Oct 24, 2011 4:58 am |
|
|
Be sure to use the correct pullup resisitors on the I2C bus for the VDD, VCC that you're using !
That chip, lke other Microchip products , has very good documentation, free to download, as well as example code. It's just another I2C device. |
|
|
|