PIC单片机的端口吞吐率有多高?

2020-02-09 11:43发布

16和18系列的芯片,如果用来采集A/D转换过来的数据,能有多高的接受能力呢?
比如定义一个数组AD_Results=PORTE;这种读取方法,最快读取速度能有多快呢?
友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。
7条回答
millwood0
2020-02-09 22:16
reading a port is just one instruction. But then you have to move the data to the ram location. so to be conservative, I would say it is a 2-3 cycles. That means if you are running at 4Mhz, you can read about one byte every 2 - 3 us.

then the math is simple after that.

一周热门 更多>