Forums

University DSK 8 IO pins

Started by cont...@juno.com June 14, 2006
Where are the 8 digital IO pins mentioned on the University TMS320VC33 DSP Starter Kit web sites? What is the name of those pins on the board?

http://focus.ti.com/general/docs/university/univ.tsp?templateId=5807&path=templatedata/cm/univgen/data/univ_orphan_vc33dsk (mentions 4 input and 4 output pins)
and
http://focus.ti.com/docs/toolsw/folders/print/tmdsdsk33.html (mentions 8 IO pins)

Is there any sample code that allows access to those digital IO pins?

I am using the serial port to download the program to the DSK with the debugger in Windows XP. I'm using the two analog input channels (there are only two right?) and one of the analog output channels for a reference sine wave. It would be preferable if I could transmit analog DC out of the second output channel, but I guess because of the AC coupling that is not possible. Instead I want to have digital input and output to control a tabletop DC source using text commands (ASCII) to a RS232 port.

The DSK I have is TMDSDSK33, 701388 Rev B, 11 Jan 05.

Sincerely,
Mike



Hi Mike

Look through DSK3HELP.HLP in the main installation directory. Not only
will you find references to these pins, but also the board schematic. I
believe there is a simple program as well. If not, its a simple write to
an address space in the IO channel defined by the CPLD (look there). By
the way, if you are real adventurous, you could even redefine the CPLD.
But then again, this could bust up a working DSK pretty badly, so I
would not want to suggest this for beginners :-)

Hope this helps
Keith Larson
DSP and Analog Consultant
Lincoln, Ma 01773

---------------------------------
c...@juno.com wrote:

Where are the 8 digital IO pins mentioned on the University TMS320VC33
DSP Starter Kit web sites? What is the name of those pins on the board?

Is there any sample code that allows access to those digital IO pins?

I am using the serial port to download the program to the DSK with the
debugger in Windows XP. I'm using the two analog input channels (there
are only two right?) and one of the analog output channels for a
reference sine wave. It would be preferable if I could transmit analog
DC out of the second output channel, but I guess because of the AC
coupling that is not possible. Instead I want to have digital input and
output to control a tabletop DC source using text commands (ASCII) to a
RS232 port.

The DSK I have is TMDSDSK33, 701388 Rev B, 11 Jan 05.

Sincerely, Mike
How do I toggle a digital output pin of the VC33 University DSK? The I/O memory address 80A000-80A004 seem to be available for I/O in the documentation of the CPLD VHDL in the debugger help file. Loading a value to those four registers (via enter address and value in debugger) has no effect on the outputted voltage on the CPLD pins. I attached a voltage source to the pins in the CPLD one at a time through a resistor but the value shown in the debugger screen never changes (or the different value when the address is double clicked) Which output pins corresponds to which of the four bits in the CPLD? (I tried to open the VHDL in Xilinx, but I couldn't get it to simulate). The file idrive.asm in the sample files seems intended to control the output of a digital pin, but it wouldn't compile. Is there C code for accessing the CPLD included in the VC33 DSK? Being able to toggle any digital output pin on the University DSK would also be satisfactory. I'm using the printer parallel port to download the program and debugger to the DSK.

Sincerely,
Mike

Hi Mike
>
>Look through DSK3HELP.HLP in the main installation directory. Not only
>will you find references to these pins, but also the board schematic. I
>believe there is a simple program as well. If not, its a simple write to
>an address space in the IO channel defined by the CPLD (look there). By
>the way, if you are real adventurous, you could even redefine the CPLD.
>But then again, this could bust up a working DSK pretty badly, so I
>would not want to suggest this for beginners :-)
>
>Hope this helps
>Keith Larson
>DSP and Analog Consultant
>Lincoln, Ma 01773
>
>---------------------------------
>c...@juno.com wrote:
>
>Where are the 8 digital IO pins mentioned on the University TMS320VC33
>DSP Starter Kit web sites? What is the name of those pins on the board?
>
>Is there any sample code that allows access to those digital IO pins?
>
>I am using the serial port to download the program to the DSK with the
>debugger in Windows XP. I'm using the two analog input channels (there
>are only two right?) and one of the analog output channels for a
>reference sine wave. It would be preferable if I could transmit analog
>DC out of the second output channel, but I guess because of the AC
>coupling that is not possible. Instead I want to have digital input and
>output to control a tabletop DC source using text commands (ASCII) to a
>RS232 port.
>
>The DSK I have is TMDSDSK33, 701388 Rev B, 11 Jan 05.
>
>Sincerely, Mike
I found my mistake, 80A001 controls JP8 (BIT_IO) not JP7 (JTAG_CPLD). That address is listed in the CPLD VHDL, but setting the address value to 80A001 changes which binary outputs activated on JP8.

-Mike
How do I toggle a digital output pin of the VC33 University DSK? The I/O memory address 80A000-80A004 seem to be available for I/O in the documentation of the CPLD VHDL in the debugger help file. Loading a value to those four registers (via enter address and value in debugger) has no effect on the outputted voltage on the CPLD pins. I attached a voltage source to the pins in the CPLD one at a time through a resistor but the value shown in the debugger screen never changes (or the different value when the address is double clicked) Which output pins corresponds to which of the four bits in the CPLD? (I tried to open the VHDL in Xilinx, but I couldn't get it to simulate). The file idrive.asm in the sample files seems intended to control the output of a digital pin, but it wouldn't compile. Is there C code for accessing the CPLD included in the VC33 DSK? Being able to toggle any digital output pin on the University DSK would also be satisfactory. I'm using the printer parallel port to download the program and debugger to the DSK.
>
>Sincerely,
>Mike
>
>Hi Mike
>>
>> Look through DSK3HELP.HLP in the main installation directory. Not only
>> will you find references to these pins, but also the board schematic. I
>> believe there is a simple program as well. If not, its a simple write to
>> an address space in the IO channel defined by the CPLD (look there). By
>> the way, if you are real adventurous, you could even redefine the CPLD.
>> But then again, this could bust up a working DSK pretty badly, so I
>> would not want to suggest this for beginners :-)
>>
>> Hope this helps
>> Keith Larson
>> DSP and Analog Consultant
>> Lincoln, Ma 01773
>>
>> ---------------------------------
>> c...@juno.com wrote:
>>
>> Where are the 8 digital IO pins mentioned on the University TMS320VC33
>> DSP Starter Kit web sites? What is the name of those pins on the board?
>>
>> Is there any sample code that allows access to those digital IO pins?
>>
>> I am using the serial port to download the program to the DSK with the
>> debugger in Windows XP. I'm using the two analog input channels (there
>> are only two right?) and one of the analog output channels for a
>> reference sine wave. It would be preferable if I could transmit analog
>> DC out of the second output channel, but I guess because of the AC
>> coupling that is not possible. Instead I want to have digital input and
>> output to control a tabletop DC source using text commands (ASCII) to a
>> RS232 port.
>>
>> The DSK I have is TMDSDSK33, 701388 Rev B, 11 Jan 05.
>>
>> Sincerely, Mike
Hi Mike

I was half wondering what you were writing about, so I thought it must
be that there was some confusion over the labeling of the headers. I
then opened the help file and saw what I think might have led to a
problem. The board diagram in the helpfile was for the original 6 layer
DSK board that only existed as a prototype. I guess I missed that
before leaving TI.

Best regards
Keith
-----
c...@juno.com wrote:

I found my mistake, 80A001 controls JP8 (BIT_IO) not JP7 (JTAG_CPLD).
That address is listed in the CPLD VHDL, but setting the address value
to 80A001 changes which binary outputs activated on JP8.

-Mike

How do I toggle a digital output pin of the VC33 University DSK? The I/O
memory address 80A000-80A004 seem to be available for I/O in the
documentation of the CPLD VHDL in the debugger help file. Loading a
value to those four registers (via enter address and value in debugger)
has no effect on the outputted voltage on the CPLD pins. I attached a
voltage source to the pins in the CPLD one at a time through a resistor
but the value shown in the debugger screen never changes (or the
different value when the address is double clicked) Which output pins
corresponds to which of the four bits in the CPLD? (I tried to open the
VHDL in Xilinx, but I couldn't get it to simulate). The file idrive.asm
in the sample files seems intended to control the output of a digital
pin, but it wouldn't compile. Is there C code for accessing the CPLD
included in the VC33 DSK? Being able to toggle any digital output pin on
the University DSK would also be satisfactory. I'm using the printer
parallel port to download the program and debugger to the DSK.

Sincerely, Mike

Hi Mike

Look through DSK3HELP.HLP in the main installation directory. Not only
will you find references to these pins, but also the board schematic. I
believe there is a simple program as well. If not, its a simple write to
an address space in the IO channel defined by the CPLD (look there). By
the way, if you are real adventurous, you could even redefine the CPLD.
But then again, this could bust up a working DSK pretty badly, so I
would not want to suggest this for beginners :-)

Hope this helps
Keith Larson
DSP and Analog Consultant
Lincoln, Ma 01773
--------------------------------
Where are the 8 digital IO pins mentioned on the University TMS320VC33
DSP Starter Kit web sites? What is the name of those pins on the board?

Is there any sample code that allows access to those digital IO pins?

I am using the serial port to download the program to the DSK with the
debugger in Windows XP. I'm using the two analog input channels (there
are only two right?) and one of the analog output channels for a
reference sine wave. It would be preferable if I could transmit analog
DC out of the second output channel, but I guess because of the AC
coupling that is not possible. Instead I want to have digital input and
output to control a tabletop DC source using text commands (ASCII) to a
RS232 port.

The DSK I have is TMDSDSK33, 701388 Rev B, 11 Jan 05.

Sincerely, Mike