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

Discussion Groups

Discussion Groups | TMS320C54x | McBSP as UART

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

McBSP as UART - Andrew Ness - Jun 14 22:22:38 2006



Hi,

I've followed the directions in SPRA661 to implement a software UART using
the McBSP port 0.  I am using a C5416 device and modified the included
assembly slightly to allow for using a far memory model.  Things work okay
for the most part, but I am experiencing parity and framing errors every now
and then when transmitting to the DSP.  Sometimes I can transmit 100 or more
characters without a problem but sometimes the errors occur more frequently.
Initially I was operating the DSP at 160MHz and the UART at 57600 but then
tried operating the DSP at 32MHz and the UART at 9600 with no improvement.
I'm using a very short cable to the serial port of a PC so there shouldn't
be any signal integrity issues there.  I tried one PC running HyperTerminal
under Windows 2000 and another PC running minicom under Linux - but the
computer used made no difference.  I used an oscilloscope to make sure that
my calculated DIV value resulted in as close as possible to the desired baud
rates - at 9600 I had only a 0.2% difference.

I'm hoping someone has experienced this before and might have some
suggestions.

Thanks,

Andrew Ness
a...@usultratek.com



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