This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
我用的2812的scib通讯,RS485,modbus协议,FIFO中断方式,用了01和03两个功能码,01功能码总共19个字节,前面16个字节电脑能收到,后面3个字节电脑收不到,03功能共37个字节,前面32字节电脑能收到,后面5个字节电脑收不到,请问是什么原因?
谢谢,我是在ADC中断程序里发送最后几个字节数据时,做了一个标志位,然后在主程序里监测这个标志,同时还监测TXFFINT这个位,一旦监测到这个标志为1就延时DELAY_US(550l);然后关掉RS485的发送使能,已正常。