Forums

56f80xEVM <----> PC (RS-232 Interface)

Started by Andrew Shelkovenko October 18, 2003
Hello!

In the br1538.pdf - DSP56F80X High-Speed RS-232 Interface

Example - 2. DSP56F803 SCI Transmit Code Snippet
------
SCISR EQU $0F02 ; SCI STATUS REGISTER
SCIDR EQU $0F03 ; SCI DATA REGISTER
SCI_XMIT:
BFCLR #8000,X:SCISR,* ; WAIT UNTIL TRANSMIT BUFFER IS EMPTY
MOVEP X0,X:SCIDR ; OUTPUT DATA BYTE
RTS
-----
BFCLR #8000,X:SCISR,* ; - error in this line
X:SCISR is read only register, so BFCLR can't clear bits. Have anybody working example (ASM) for sci connection 56f80xEVM <----> PC
(RS-232 Interface)? With best regards, Andrew Shelkovenko.