DSPRelated.com
Forums

Questions About THS1206 and TMS320C6711 DSK

Started by jongyoub May 21, 2007
Hi, I am Jongyoub Ryu in Korea.

I am studing about THS1206 and TMS320C6711 DSK.

I want to collect 4-channel data for THS1206 on TMS320C6711 DSK.

So I found a document "slaa210.pdf(Getting started with the data
converter plug-in)".

I can know how to use THS1206 on TMS320C6711 DSK in this document
and generate codes about them.

But I think that it is not sufficient because I can not collect data
using the codes.

When I called 'dc_rblock' function, Buffer did not have data.

And when I called 'dc_read' function, Buffer had garbage values.

I set the THS1206 in Data Converter Support as

Interface Settings
ADC Address : 0xA0020000
Data Shift : 0
DATA_AV : High
DATA_AV Type : Pulse
Read/Write Type : RD / WR
Data Format : 2's
DSP Interrupt : Ext Int 4

It seems that I cannot catch important points for this setting. So I
want that someone help me.

If someone knows how to collect from THS1206 and TMS320C6711 DSK,
teach me about them.

If someone has example codes about THS1206 and TMS320C6711 DSK, send
the codes to me please.

My e-mail is j...@hotmail.com.

Regards, jongyoub
Jongyoub Ryu-

> I am studing about THS1206 and TMS320C6711 DSK.
>
> I want to collect 4-channel data for THS1206 on TMS320C6711 DSK.
>
> So I found a document "slaa210.pdf(Getting started with the data
> converter plug-in)".
>
> I can know how to use THS1206 on TMS320C6711 DSK in this document
> and generate codes about them.
>
> But I think that it is not sufficient because I can not collect data
> using the codes.
>
> When I called 'dc_rblock' function, Buffer did not have data.
>
> And when I called 'dc_read' function, Buffer had garbage values.
>
> I set the THS1206 in Data Converter Support as
>
> Interface Settings
> ADC Address : 0xA0020000
> Data Shift : 0
> DATA_AV : High
> DATA_AV Type : Pulse
> Read/Write Type : RD / WR
> Data Format : 2's
> DSP Interrupt : Ext Int 4
>
> It seems that I cannot catch important points for this setting. So I
> want that someone help me.

Well, a few general comments:

1) THS1206 EVM requires the 5-6K "sandwich" board to use with DSK 6711. It seems
that not many people are using that combination, or at least if they are, they're not
posting on the online tech forums. My guess is that it will be difficult for you to
obtain accurate, reliable peer help.

2) The data converter plug-in is not a common approach. Maybe you can get started by
using basic C source code and CCS project examples that come with the THS1206. Can
you find those? Such "basic code examples" would be simpler and easier than using
the data converter, plus if you posted questions you would be likely to get helpful
replies, since that's a common approach.

3) One thing you might try is getting basic A/D and D/A on the DSK 6711 working.
Then use that code as your "base", and modify. For example replace the McBSP read in
the ISR code with EMIF read, enable EINT4 to trigger the ISR instead of McBSP, etc.
This would allow you to keep a lot of things the same -- same general code structure,
same sampling rate (use 8 KHz), etc. You could even use #define statements to allow
either way.

Hopefully this is helpful info, but if not I understand. Maybe someone else on the
forum can provide specific answers.

-Jeff

> If someone knows how to collect from THS1206 and TMS320C6711 DSK,
> teach me about them.
>
> If someone has example codes about THS1206 and TMS320C6711 DSK, send
> the codes to me please.
>
> My e-mail is j...@hotmail.com.
>
> Regards, jongyoub