Sign in

username:

password:



Not a member?

Search c54x



Search tips

Subscribe to c54x



c54x by Keywords

5409 | 5416 | AD5 | ADC | BIOS | Boot | Booting | Bootloader | C540 | C5402 | C5409 | C5416 | CCS | Codec | DMA | Dmad | DSK | DSKPlus | Dsplib | EVM | FFT | FIR | Flash | GPIO | HPI | Initialization | Interrupt | JTAG | LOG_printf | MCBSP | RFFT | RTDX | Sampling | STLM | UART | VC540

Ads

Discussion Groups

Discussion Groups | TMS320C54x | Re: Use McBSP as RS-232?

Technical discussions about the TI C54x DSPs (including the c5401, c5402, c5402a, c5404, c5407, c5409, c5409a, c5410, c5410a, c5416, c5420, c5421, c5441, c549, c5470 and c5471).

  

Post a new Thread

Use McBSP as RS-232? - bsd_mike - Jul 5 17:03:26 2006



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



(You need to be a member of c54x -- send a blank email to c54x-subscribe@yahoogroups.com )

Re: Use McBSP as RS-232? - "Brian C. Lane" - Jul 5 22:03:15 2006

-----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?
> 

http://focus.ti.com/docs/apps/catalog/resources/appnoteabstract.jhtml?abstractName=spra661a

That seems to be the one to look at.

Brian

- --
- ---[Office 70.8F]--[Fridge 35.8F]---[Server 84.4F]--[Coaster 70.8F]---
Linux Software Developer                      http://www.brianlane.com
Embedded Developer                          http://www.linuxmicros.com

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Remember Lexington Green!

iD8DBQFErG5aIftj/pcSws0RAkZUAJwNgPCxVhqP+euWSWVdsbyswBJaUQCfXdcd
jUYaqH4cyq8ah9LqxzX+Mlo=
=Otop
-----END PGP SIGNATURE-----



(You need to be a member of c54x -- send a blank email to c54x-subscribe@yahoogroups.com )

Re: Use McBSP as RS-232? - Ganesh Kumar - Jul 5 22:04:41 2006

I think there is a technical note illustrating use of McBSP as a software UART.  May be it
would help you.
   
  -Ganesh

bsd_mike <b...@yahoo.com> 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. 


(You need to be a member of c54x -- send a blank email to c54x-subscribe@yahoogroups.com )

Re: Use McBSP as RS-232? - "Brian C. Lane" - Jul 6 23:56:42 2006

-----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?

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.

Brian

- --
- ---[Office 70.7F]--[Fridge 37.2F]---[Server 84.4F]--[Coaster 70.7F]---
Linux Software Developer                      http://www.brianlane.com
Embedded Developer                          http://www.linuxmicros.com

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Remember Lexington Green!

iD8DBQFErSQbIftj/pcSws0RAjmmAJwOps8fTomjiQCHTMXv4j/LQgSE8QCgh1Sh
5M87c+wK8w52WrViRgdxH+Y=
=rhfV
-----END PGP SIGNATURE-----



(You need to be a member of c54x -- send a blank email to c54x-subscribe@yahoogroups.com )