DSPRelated.com
Forums

code in document EE-191

Started by hora...@yahoo.fr July 20, 2006
Hi everybody,

Im trying to connect my ADSP 21161N to the PCs serial port via an RS-232 adapter as its shown in document EE-191.

The program seems to do nothing. Im almost sure of the hardware connections so let me list you the steps Ive followed and please tell me if you think theres something missing.

1 Downloading the EE-191 software code and compiling it on VisualDSP 4.0 without changes.
2 Connecting the following pins of SPORTS to the RS232 adapter:
19 (SD3B) to RS232s OUT
15 (SFS3) to RS232s OUT
5 (SD1A) to RS232s IN
3 Opening in Windows HyperTerminal a session in the COM port where RS232 is plugged, with:
115200 bps
8 data bits
Parity none
Stop bits 1
Flux control none
4 Running in Ez-kit Lite the code. At this point messages should be shown (in hyperterminal? At the Visual DSP console?) by pushing IRQ buttons but nothing happens.

Please, tell me if you notice something is wrong or missing in this list.

Thanks,
Hori
On Thu, 20 Jul 2006 h...@yahoo.fr wrote:

> Hi everybody,
>
> Im trying to connect my ADSP 21161N to the PCs serial port via an RS-232 adapter as its shown in document EE-191.
>
> The program seems to do nothing. Im almost sure of the hardware connections so let me list you the steps Ive followed and please tell me if you think theres something missing.
>
> 1 Downloading the EE-191 software code and compiling it on VisualDSP 4.0 without changes.
> 2 Connecting the following pins of SPORTS to the RS232 adapter:
> 19 (SD3B) to RS232s OUT
> 15 (SFS3) to RS232s OUT
> 5 (SD1A) to RS232s IN
> 3 Opening in Windows HyperTerminal a session in the COM port where RS232 is plugged, with:
> 115200 bps
> 8 data bits
> Parity none
> Stop bits 1
> Flux control none
> 4 Running in Ez-kit Lite the code. At this point messages should be shown (in hyperterminal? At the Visual DSP console?) by pushing IRQ buttons but nothing happens.
>
> Please, tell me if you notice something is wrong or missing in this list.
>

Howdy Hori,

Do you have a level shifter? You need something like a MAX233 to go from
the LVTTL of the DSP to RS232 levels. If you have an o'scope, check that
you are toggling all the lines correctly. And even if flow control is
none, you may have to set CTS/RTS so the uart on the pc will work, usually
tying them together does the trick.

Patience, persistence, truth,
Dr. mike