I have ADC7715 drive and I want use in my main code.
how is the procedure to read values from ADC7715?
if i had using ADC from PIC I would use
test=read_adc();
tks
nina
Humberto
Joined: 08 Sep 2003 Posts: 1215 Location: Buenos Aires, La Reina del Plata
Posted: Thu Jun 28, 2007 2:53 pm
Really the device is an ADC but the code is AD7715.
test=read_adc(); // is used ONLY when the ADC is built in a microcontroller.
The get out a serial digital word with an AD value from a device like the AD7715 and
others, is used a predefined procedure according to know standars.
This procedure is used to configure the internal registers to customize its behaviour
to the required application.
Every device has its own characteristics and functionalities, which are described
in datasheets in terms of commands and waveforms by the AD manufacturer.
SPI is a industry-standard serial interface used widely in modern devices to communicate
with microcontrollers.
Is it not as easy to handle this device for a beginner, anyway following you will
find an Application Note describing how to use an SPI controller.
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