bsd_mike wrote: > How hard is it to use an McBSP as an RS-232 serial
port?
>
> I understand I would need a level converter, but how complicated
> is the software to write?
>
> Is there any free code from TI which will do this?
I skimmed the app note and it looks like an interesting way to add ASYNC
to the DSP. The biggest problem I would have with it is that you are
going to be interrupting the processor on each received byte which may
introduce more overhead than you want.
They are using DMA to transfer BAUDx16 oversampled data into a buffer
for parsing into a single byte so you will have an interrupt at BAUD
rate, and some overhead in processing the buffer and storing it somewhere.
I think there is a technical note illustrating use of McBSP as a software UART.
May be it would help you.
-Ganesh
bsd_mike wrote:
How hard is it to use an McBSP as an RS-232 serial port?
I understand I would need a level converter, but how complicated
is the software to write?
Is there any free code from TI which will do this?
-Mike
---------------------------------
Sneak preview the all-new Yahoo.com. It's not radically different. Just
radically better.
Reply by "Brian C. Lane"●July 5, 20062006-07-05
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
bsd_mike wrote: > How hard is it to use an McBSP as an RS-232 serial
port?
>
> I understand I would need a level converter, but how complicated
> is the software to write?
>
> Is there any free code from TI which will do this?
>