Technical discussions related to Analog Devices DSPs (including Blackfin, TigerSHARC, SHARC and ADSP-21xx DSPs).
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