AnsweredAssumed Answered

Reset SPORT for BF537

Question asked by StevenKraus on Jul 5, 2011
Latest reply on Aug 4, 2011 by Prashant

We are using the SPORT interface on a Blackfin BF537 to communicate with a Sharc ADSP 21369.  Sometimes the sharc fails to respond to a message, often a sharc firmware problem or a state problem (not the issue here).  The blackfin thread detects the problem and reports back to the PC host, but then it can't communicate with the sharc through the sport interface. We want to start over, to reinitialize the SPORT interface and try again, perhaps with a different message.   We are using the Blackfin device driver source from adi_sport.c.  I re-open the SPORT and start getting exceptions #24 "Data access misaligned address violation".  Our only solution at this time is a hardware reset of the board.  Should I try to reset the SPORT interface?  Should I use the assembly code from Blackfgin_basiccrt.s?



Steve Kraus