PDA

View Full Version : plugapod baud rate


mcp
05-25-04, 11:18 AM
Hi, I'm using a Plugapod with IsoMAX V0.73. I can communicate with it at 9600 Baud. I'd like to have it start up with the baud rate set to 57K. What is the command (save-ram?) and memory location to set the baud rate at startup? Thanks.

nmitech
05-25-04, 12:54 PM
IsoMax is tested at 38,400 baud. There is no guarranty for higher baud running IsoMax program.

The SCI0 Baud Rate Register is F00. To run is at 57,600 baud you could do this,

HEX
: STARTUP
2B F00 !
" " "
" " "
EVERY xxxxx CYCLES SCHEDULE-RUNS yyyy
; EEWORD

HEX 3C00 DECIMAL AUTOSTART STARTUP

SAVE-RAM

The equation for calculating baud rate is:
SCI baud rate = (SCI module clock)/(16xSBR)
Where SCI module clock is 40,000,000

Note: there is a limitation on the percentage errors that needs to take into consideration when calculate a certain baudrate with a given clock frequency.

Here is a link for DSP801-807 MPU documentation. Please see chapter 12 for more details,
http://e-www.motorola.com/files/dsp/doc/user_guide/DSP56F801-7UM.pdf