DSPRelated.com
Forums

motorola dsp sci initalization problem

Started by upendra mahida June 11, 2005
Hi
I am upendra
i am using now new dsp 56f8367 for communication
i am not getting communication any one can suggest me initialization
i have enabled Per reg and scisr,scicr,scibr
and ai am reading tdre flag but it is not communicating
 
Regards
Upendra
 


Too much spam in your inbox? Yahoo! Mail gives you the best spam protection for FREE!
http://in.mail.yahoo.com

Hello Upendra

Extrapolating from the Processor Expert bean, I got this initialization
code (with a 15 MHz cpu clock) for 57600 baud, 8 data bits, 1 stop bit,
no parity, no interrupts:

/* SCI0_SCICR:
LOOP=0,SWAI=0,RSRC=0,M=0,WAKE=0,POL=0,PE=0,PT=0,TEIE=0,TIIE=0,RFIE=0,REI
E=0,TE=1,RE=1,RWU=0,SBK=0 */
setReg(SCI0_SCICR,12); /* Set the SCI configuration */
setReg(SCI0_SCIBR,16); /* Set prescaler bits */

(write 0 to SCISR to clear all error flags) On 11.06.2005, at 07:42, upendra mahida wrote:

> Hi
> I am upendra
> i am using now new dsp 56f8367 for communication
> i am not getting communication any one can suggest me initialization
> i have enabled Per reg and scisr,scicr,scibr
> and ai am reading tdre flag but it is not communicating
>
> Regards
> Upendra
>
>
> Too much spam in your inbox?
>
> NEW! You can now post a message or access and search the archives of
> this group on DSPRelated.com:
> http://www.dsprelated.com/groups/motoroladsp/1.php
>
> _____________________________________
> Note: If you do a simple "reply" with your email client, only the
> author of this message will receive your answer. You need to do a
> "reply all" if you want your answer to be distributed to the entire
> group.
>
> _____________________________________
> About this discussion group:
>
> Archives: http://www.dsprelated.com/groups/motoroladsp/1.php
>
> To Post: Send an email to motoroladsp@moto...
>
> Other DSP Related Groups: http://www.dsprelated.com/groups.php > Yahoo! Groups Links
> To
>