hi all i want to communicate with asynchronous serial ports using ADSP serial ports can anybody suggest me how can i implement this how to configure the DSP serial ports for this application thanks in advance suren _____________________________________________________ Chat with your friends as soon as they come online. Get Rediff Bol at http://bol.rediff.com |
|
asynchronous communication
Started by ●March 19, 2001
Reply by ●March 20, 20012001-03-20
>hi all > > i want to communicate with asynchronous serial ports >using ADSP serial ports > can anybody suggest me how can i implement this >how to configure the DSP serial ports for this application > Which DSP? ADI has an app. note on this for the 16-bit DSPs, or you could see how they do it on the EZ-Kits. Details are on their web site. You could adapt the 16-bit code if you are using a SHARC. Leon -- Leon Heller, G1HSM Tel: (work): +44 1327 357824 (home): +44 1327 359058 Email: My web page: http://www.geocities.com/leon_heller IRISYS Ltd: http://www.irisys.co.uk _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. |
Reply by ●March 21, 20012001-03-21
The EzKits use bit-banging. This precludes run-time support. I saw a customer use this ingenious method: Connect the bitstream to the DSP's data-in as well as frame synch. Set the serial port for 10 bit operation. Configure your host for one start bit and one stop bit. At run time you will receive 10 bit words with garbage in the upper and lower part of the received word. Mask of the upper garbage and shift out the lower garbage. This adds a few cycles to the serial port interrupt service routine but it allows real-time use of the serial port(s) to communicate with an asynchronous host. Brian > > -----Original Message----- From: Leon Heller [mailto:] Sent: Tuesday, March 20, 2001 11:06 AM To: ; Subject: Re: [adsp] asynchronous communication >hi all > > i want to communicate with asynchronous serial ports >using ADSP serial ports > can anybody suggest me how can i implement this >how to configure the DSP serial ports for this application > Which DSP? ADI has an app. note on this for the 16-bit DSPs, or you could see how they do it on the EZ-Kits. Details are on their web site. You could adapt the 16-bit code if you are using a SHARC. Leon -- Leon Heller, G1HSM Tel: (work): +44 1327 357824 (home): +44 1327 359058 Email: My web page: http://www.geocities.com/leon_heller IRISYS Ltd: http://www.irisys.co.uk _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. _____________________________________ 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: To Join: Send an email to To Post: Send an email to To Leave: Send an email to Archives: http://groups.yahoo.com/group/adsp Other Groups: http://www.dsprelated.com/groups.php3 ">http://docs.yahoo.com/info/terms/ |