multiple outputs in C6711 DSK

Started by kpepp January 12, 2006
Hello everybody,

I have been working for about 3 months with the c6711 dsk and I have
become quite familiar with its most important features. I have also
developed a number of applications using both C and assembly. For input
and output purposes, I used the on-board AD535 codec, either by means of
polling or by using the interrupt INT11. I am interested in developing an
application with 3 or 4 outputs so I must somehow overcome the single
input/single output limitation due to the codec. One possible idea would
be the use of the external connector J3, and the external interrupt pins
DB_EINT4 - DB_EINT7. Has anybody tried that before? I have also the
impression that the above mentioned pins may also be used for
memory-mapped input-output, or for input-output using the GPIO registers.
Is that correct? Any help will be greatly appreciated.      



"kpepp" <peppas@uop.gr> wrote in message
news:3ZSdnYmgS8Wu11veRVn-tg@giganews.com...
> Hello everybody, > > I have been working for about 3 months with the c6711 dsk and I have > become quite familiar with its most important features. I have also > developed a number of applications using both C and assembly. For input > and output purposes, I used the on-board AD535 codec, either by means of > polling or by using the interrupt INT11. I am interested in developing an > application with 3 or 4 outputs so I must somehow overcome the single > input/single output limitation due to the codec. One possible idea would > be the use of the external connector J3, and the external interrupt pins > DB_EINT4 - DB_EINT7. Has anybody tried that before? I have also the > impression that the above mentioned pins may also be used for > memory-mapped input-output, or for input-output using the GPIO registers. > Is that correct? Any help will be greatly appreciated. > > >
There are dughter cards available with up to 8 I/O. Naebad
>> >There are dughter cards available with up to 8 I/O. > >Naebad > > >
Unfortunately, our lab does not have such a daughter card so I have, for the time being, to rely on the existing stuff. I would like to feed the output signals on a RF circuit for a beamforming application. I have the following questions: a) Is GPIO supported by the C6711 processor or it is only a feature of the C6416 one? b) I have downloaded a TI Reference quide for GPIO, however apart from the pure technical stuff, no insight was given about how can I configure the GPIO pins and associate them with pins on the external memory DSK. Is it possible for somebody to describe step-by step the configuration of the GPIO and the association with pins on DSK? c) If GPIO is not supported by c6711 DSK, what other alternatives exist? Is it possible to transfer simultaneously data in the external pins of the J3 DB-peripheral by activating interrupts EINT4...EINT6? Is it possible to have something like this in my source code: interrupt void c_int11() //interrupt service routine { //implementation of filter A, output from the codec } interrupt void c_int4() //interrupt service routine { //implementation of filter B, output from J3, pin DB_EINT4 } .. interrupt void c_int7() //interrupt service routine { //implementation of filter N, output from J3, pin DB_EINT7 } There exists an asm file that configures the interrupt vector. Thus the changes should be like this: .. .. INT11: b _c_int11 ;branch to ISR .loop 7 NOP .endloop INT4: b _c_int4 ;branch to ISR .loop 7 NOP .endloop INT7: b _c_int7 ;branch to ISR .loop 7 NOP .endloop Can the above thoughts work in practice? d)Is there any source (link or whatever else) that describes the equipment demanded for converting the output signals of the DSP to RF? Is there any commercial product that achieves the above or I have to design and construct the appripriate circuits from the scratch?
>> >There are dughter cards available with up to 8 I/O. > >Naebad > > >
Unfortunately, our lab does not have such a daughter card so I have, for the time being, to rely on the existing stuff. I would like to feed the output signals on a RF circuit for a beamforming application. I have the following questions: a) Is GPIO supported by the C6711 processor or it is only a feature of the C6416 one? b) I have downloaded a TI Reference quide for GPIO, however apart from the pure technical stuff, no insight was given about how can I configure the GPIO pins and associate them with pins on the external memory DSK. Is it possible for somebody to describe step-by step the configuration of the GPIO and the association with pins on DSK? c) If GPIO is not supported by c6711 DSK, what other alternatives exist? Is it possible to transfer simultaneously data in the external pins of the J3 DB-peripheral by activating interrupts EINT4...EINT6? Is it possible to have something like this in my source code: interrupt void c_int11() //interrupt service routine { //implementation of filter A, output from the codec } interrupt void c_int4() //interrupt service routine { //implementation of filter B, output from J3, pin DB_EINT4 } .. interrupt void c_int7() //interrupt service routine { //implementation of filter N, output from J3, pin DB_EINT7 } There exists an asm file that configures the interrupt vector. Thus the changes should be like this: .. .. INT11: b _c_int11 ;branch to ISR .loop 7 NOP .endloop INT4: b _c_int4 ;branch to ISR .loop 7 NOP .endloop INT7: b _c_int7 ;branch to ISR .loop 7 NOP .endloop Can the above thoughts work in practice? d)Is there any source (link or whatever else) that describes the equipment demanded for converting the output signals of the DSP to RF? Is there any commercial product that achieves the above or I have to design and construct the appripriate circuits from the scratch?
"kpepp" <peppas@uop.gr> wrote in message 
news:_uWdndb3k97XCFrenZ2dnUVZ_tudnZ2d@giganews.com...
>>> >>There are dughter cards available with up to 8 I/O. >> >>Naebad >> >> >> > > Unfortunately, our lab does not have such a daughter card so I have, for > the time being, to rely on the existing stuff. I would like to feed the > output signals on a RF circuit for a beamforming application. I have the > following questions: > > a) Is GPIO supported by the C6711 processor or it is only a feature of the > C6416 one?
GPIO is supported by all C6000 dsps including DM64x
> b) I have downloaded a TI Reference quide for GPIO, however apart from the > pure technical stuff, no insight was given about how can I configure the > GPIO pins and associate them with pins on the external memory DSK. Is it > possible for somebody to describe step-by step the configuration of the > GPIO and the association with pins on DSK?
> c) If GPIO is not supported by c6711 DSK, what other alternatives exist? > Is it possible to transfer simultaneously data in the external pins of the > J3 DB-peripheral by activating interrupts EINT4...EINT6? > Is it possible to have something like this in my source code: > > interrupt void c_int11() //interrupt service routine > { > //implementation of filter A, output from the codec > } > > interrupt void c_int4() //interrupt service routine > { > //implementation of filter B, output from J3, pin DB_EINT4 > } > > .. > > interrupt void c_int7() //interrupt service routine > { > //implementation of filter N, output from J3, pin DB_EINT7 > } > > There exists an asm file that configures the interrupt vector. > Thus the changes should be like this: > .. > .. > INT11: b _c_int11 ;branch to ISR > .loop 7 > NOP > .endloop > > INT4: b _c_int4 ;branch to ISR > .loop 7 > NOP > .endloop > > INT7: b _c_int7 ;branch to ISR > .loop 7 > NOP > .endloop > > Can the above thoughts work in practice?
Sorry can't comment on your code as I'm not yet familiar with C6000 asm. May have to learn it but may get moved to working on a different dsp before that occurs.
> d)Is there any source (link or whatever else) that describes the equipment > demanded for converting the output signals of the DSP to RF? Is there any > commercial product that achieves the above or I have to design and > construct the appripriate circuits from the scratch?
You are talking about up conversion you only want to convert to rf ? Don't need to go both ways ? Yes there are quite a few products. www.signalware.com make some daughter boards for the TI dsk boards with high speed adc and dac on the one board. Then you just need an addon or another board with upconverter and power amp.