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.

CC2540 串口透传

Other Parts Discussed in Thread: CC2540

PC通过串口发送字符串到CC2540,CC2540需要多次才能接收到PC的数据。比如我发送1234567890,CC2540先接收了1234后调用串口回调函数并把数据通过蓝牙发送給从机,而剩下的数据因串口事件已处理完毕而被丢失。。。请问怎样处理能在调用串口回调函数之前PC写入的数据能一次性保存到DMA的缓存中???谢谢,望大神指导!!!