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 | glueless RS232 interface to SPORT0 on 21065L

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

  

Post a new Thread

glueless RS232 interface to SPORT0 on 21065L - robmcgurrin - Oct 23 17:25:39 2006



Hi all,

I'm trying to implement a glueless RS232 interface to SPORT0 on my=20
21065L.  My code is based on the ee-191 engineer to engineer=20
note, "Implementing a Glueless UART Using The SHARC=AE DSP SPORTs ".   =
=20
I've tied the RFS0 and DR0A pins together.  The problem is that the=20
SPORT will occasionally lock up while receiving data from a PC over=20
the RS232 interface.  I have to reset the SPORT to start receiving=20
data again.

I've reduced the application to a simple loop in main that polls the=20
SRCTL0 register for a "not empty" condition and reads the RX0A=20
buffer.  I send in a bit stream from the PC and the SPORT will lock=20
up after several seconds.

Just as a test, I set the RFSR bit to 0 in the SRCTL0 register to=20
ignore frame syncs after the initial one.  The SPORT will run=20
indefinitely.  This leads me to the conclusion that there maybe=20
something wrong with tying the frame sync input to the receive input=20
and that there may be some sort of timing violation that causes the=20
SPORT to lock up.

Have you heard of this or any other similar issue?

Thanks,
Rob

=20



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