Forums

Interfacing a ADC to the TMS320F2812

Started by domistep February 18, 2004
Hello,

I read the application report of TI about
how Interfacing a ADC to the TMS320F2812  ...
I have a simple question !!!
I didn t understood where i have to connect the 16 bits parallel 
output from the ADC, on the DSP !!!
Does the output of the ADC go on an GPIO configured as input for the
DSP ?

thank you

jean
On 18 Feb 2004 16:00:40 -0800, domistep@free.fr (domistep) wrote in
comp.dsp:

> Hello, > > I read the application report of TI about > how Interfacing a ADC to the TMS320F2812 ... > I have a simple question !!! > I didn t understood where i have to connect the 16 bits parallel > output from the ADC, on the DSP !!! > Does the output of the ADC go on an GPIO configured as input for the > DSP ? > > thank you > > jean
You could connect the 16 bit output of the ADC to a 16 bit GPIO port, and use other GPIO lines for control signals to the ADC. Or if the ADC has three-state outputs, you could connect the 16 bits to the XD15 through XD0 data bus and connect its output enable to the XRD read pin. Then you would have to program one of the external chip selects, perhaps XZCS0AND1. That is one of the points of having a part like the 2812 that has a complete 16 bit external bus interface. -- Jack Klein Home: http://JK-Technology.Com FAQs for comp.lang.c http://www.eskimo.com/~scs/C-faq/top.html comp.lang.c++ http://www.parashift.com/c++-faq-lite/ alt.comp.lang.learn.c-c++ http://www.contrib.andrew.cmu.edu/~ajo/docs/FAQ-acllc.html
Jack Klein <jackklein@spamcop.net> wrote in message news:<hb783096uid7hqladeqcvvfhs7qp17h1nk@4ax.com>...
> On 18 Feb 2004 16:00:40 -0800, domistep@free.fr (domistep) wrote in > comp.dsp: > > > Hello, > > > > I read the application report of TI about > > how Interfacing a ADC to the TMS320F2812 ... > > I have a simple question !!! > > I didn t understood where i have to connect the 16 bits parallel > > output from the ADC, on the DSP !!! > > Does the output of the ADC go on an GPIO configured as input for the > > DSP ? > > > > thank you > > > > jean > > You could connect the 16 bit output of the ADC to a 16 bit GPIO port, > and use other GPIO lines for control signals to the ADC. > > Or if the ADC has three-state outputs, you could connect the 16 bits > to the XD15 through XD0 data bus and connect its output enable to the > XRD read pin. Then you would have to program one of the external chip > selects, perhaps XZCS0AND1. > > That is one of the points of having a part like the 2812 that has a > complete 16 bit external bus interface.
Thank you for your answer ... Just to be sure, when you say " connect the 16 bit output of the ADC to a 16 bit GPIO port" that s mean for instance, i can use for instance the GPIOA0 to the GPIOA15 port ? If i did well understand the all GPIOA, or GPIOB or GPIOC or GPIOD or GPIOE can be configured as input .. Thank you
On 19 Feb 2004 00:18:41 -0800, domistep@free.fr (domistep) wrote in
comp.dsp:

> Jack Klein <jackklein@spamcop.net> wrote in message news:<hb783096uid7hqladeqcvvfhs7qp17h1nk@4ax.com>... > > On 18 Feb 2004 16:00:40 -0800, domistep@free.fr (domistep) wrote in > > comp.dsp: > > > > > Hello, > > > > > > I read the application report of TI about > > > how Interfacing a ADC to the TMS320F2812 ... > > > I have a simple question !!! > > > I didn t understood where i have to connect the 16 bits parallel > > > output from the ADC, on the DSP !!! > > > Does the output of the ADC go on an GPIO configured as input for the > > > DSP ? > > > > > > thank you > > > > > > jean > > > > You could connect the 16 bit output of the ADC to a 16 bit GPIO port, > > and use other GPIO lines for control signals to the ADC. > > > > Or if the ADC has three-state outputs, you could connect the 16 bits > > to the XD15 through XD0 data bus and connect its output enable to the > > XRD read pin. Then you would have to program one of the external chip > > selects, perhaps XZCS0AND1. > > > > That is one of the points of having a part like the 2812 that has a > > complete 16 bit external bus interface. > > > Thank you for your answer ... > Just to be sure, when you say " connect the 16 bit output of the ADC > to a 16 bit GPIO port" > that s mean for instance, i can use for instance the GPIOA0 to the > GPIOA15 port ? > If i did well understand the all GPIOA, or GPIOB or GPIOC or GPIOD or > GPIOE can be configured as input .. > > Thank you
Yes, all GPIO pins can be configured as inputs if you use them in GPIO mode. Of course, you can't use them for anything else. -- Jack Klein Home: http://JK-Technology.Com FAQs for comp.lang.c http://www.eskimo.com/~scs/C-faq/top.html comp.lang.c++ http://www.parashift.com/c++-faq-lite/ alt.comp.lang.learn.c-c++ http://www.contrib.andrew.cmu.edu/~ajo/docs/FAQ-acllc.html