Sign in

username:

password:



Not a member?

Search adsp



Search tips

Subscribe to adsp



adsp by Keywords

AD1819 | AD7332 | ADSP-2106 | ADSP-21060 | ADSP-21065L | ADSP-2116 | ADSP-21160M | ADSP-2181 | ADSP-218x | ADSP-219 | ADSP-2199 | ADSP219 | BF531 | BF532 | BF533 | BF535 | Blackfin | FFT | JTAG | LDF | SDRAM | SHARC | SPORT | UART | VDSP++ | VisualDSP

Discussion Groups

Discussion Groups | Analog Devices DSPs | code in document EE-191

Technical discussions related to Analog Devices DSPs (including Blackfin, TigerSHARC, SHARC and ADSP-21xx DSPs).

  

Post a new Thread

code in document EE-191 - hora...@yahoo.fr - Jul 20 8:26:02 2006



Hi everybody,

I’m trying to connect my ADSP 21161N to the PC’s serial port via an RS-232 adapter as it’s
shown in document EE-191.

The program seems to do nothing. I’m almost sure of the hardware connections so let me list you
the steps I’ve followed and please tell me if you think there’s 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 RS232’s OUT
	15 (SFS3) to RS232’s OUT
	5 (SD1A) to RS232’s 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



(You need to be a member of adsp -- send a blank email to adsp-subscribe@yahoogroups.com )

Re: code in document EE-191 - Mike Rosing - Jul 20 10:07:04 2006

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

> Hi everybody,
>
> I=92m trying to connect my ADSP 21161N to the PC=92s serial port via an R=
S-232 adapter as it=92s shown in document EE-191.
>
> The program seems to do nothing. I=92m almost sure of the hardware connec=
tions so let me list you the steps I=92ve followed and please tell me if yo=
u think there=92s something missing.
>
> 1 =96 Downloading the EE-191 software code and compiling it on VisualDSP =
4.0 without changes.
> 2 =96 Connecting the following pins of SPORTS to the RS232 adapter:
> 	19 (SD3B) to RS232=92s OUT
> 	15 (SFS3) to RS232=92s OUT
> 	5 (SD1A) to RS232=92s IN
> 3 =96 Opening in Windows HyperTerminal a session in the COM port where RS=
232 is plugged, with:
> 	115200 bps
> 	8 data bits
> 	Parity none
> 	Stop bits 1
> 	Flux control none
> 4 =96 Running in Ez-kit Lite the code. At this point messages should be s=
hown (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

=20



(You need to be a member of adsp -- send a blank email to adsp-subscribe@yahoogroups.com )