小弟用51单片机控制16C654进行串行数据收发,但是只在初始化(时钟频率、FIFO使能、串行数据格式设定)之后,向THR寄存器只发送了一个数据,用示波器在TXD端检测到循环的数据发送,请问是怎么回事啊?初始化和发送程序如下: //初始化4-5通道的FIFO传输波特率为115.2kbps *(volatile char xdata*)LCR_ADDR4 = 0xbf; *(volatile char xdata*)EFR_ADDR4 = 0x10; *(volatile char xdata*)MCR_ADDR4 = 0x80; *(volatile char xdata*)LCR_ADDR4 = 0x80; *(volatile char xdata*)DLL_ADDR4 = 0x04; *(volatile char xdata*)DLM_ADDR4 = 0x00; *(volatile char xdata*)LCR_ADDR4 = 0x03; *(volatile char xdata*)FCR_ADDR4 = 0x07; *(volatile char xdata*)THR_ADDR4 = 0x55; |