Mindaugas Karciauskas schrieb:
The problem:
MSP should echo a symbol. But when I send a symbol to MSP from
HyperTerminal, for example 'e' (= 65h ), the software reads the buffer
RXBUF0 and sends it back through TXBUF0. However I don't get back 65h
but D9h instead. Or if I send 6Ch I get back FBh and so on.
It is definately not the HyperTerminal which sends the wrong code, we've
i've made bad experiences with that program. i'll never use it again.
the current mspgcc windows installer now includes a small and simple
terminal program: msp430-miniterm ;-)
[...]
U0BR0 = 0x03; // 32k/9600 - 3.41
http://mspgcc.sourceforge.net/cgi-bin/msp-uart.pl?clock=32768&baud=9600&submit=calculate
shows up to 17% error which is quiet large for an UART. did you try
lower baudrates? (or could you use a higher clock for the baudrate like
an FLL adjusted DCO?)
chris