我正在尝试在我的微控制器(psoc5lp)和PC(Python程序)之间实现一种通信方式。我是用USB+pingpongdma+ADC做的。你知道吗
总之,我有两个缓冲区。DMA负责一次填充两个。你知道吗
当它完成一个填充后,USB组件应该访问它并发送其中存储的数据。你知道吗
同时,DMA应该开始填充另一个缓冲区,以便在USB完成第一次传输时就可以进行传输了。你知道吗
我的问题是:
I can't figure out a way to synchronize the Python side with the PSoC side, i.e., I can't time the moment that my Python code is waiting for data with the moment the PSoC is sending it.
有人能帮我吗?!(如果我不够清楚,请说)
目前没有回答
相关问题 更多 >
编程相关推荐