Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

how to communicate a 16 bit ADC chip with PIC 16F877A

Status
Not open for further replies.

irangathathsara

Newbie level 5
Joined
Mar 31, 2011
Messages
8
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,334
Please help me how can I communicate a 16 bit ADC chip with PIC 16F877A
 

If it uses SPI, just write a code for SPI communication, or used library functions.
 

Thanx for rplying,
ADC chip is MAX 1132 which support SPI, It is 16 bit and the PIc16F is 8 bit, i want to send data from ADC chip and read it from PIC.
Where would I find mikroC codes on this matter?
 

If you are have difficulties handling 16-bit data with an 8-bit microcontroller, attached is an appnote and code from Maxim. It demos an interface between 16-bit ADC to an 8-bit PIC. The interface is I2C, but you should be able to port it to SPI. However, finding MikroC specific code may be difficult. This project most likely will require porting code from one compiler to another.
 

Attachments

  • AN2394-Maxim16bitADC.pdf
    80.8 KB · Views: 94
  • 1169_Assembly2.txt
    15.8 KB · Views: 41
Last edited:
Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top