提出了一种基于CAN总线的数据接收控制方式。该系统巧妙地使用了内部缓存RAM和握手的方法,以减小单片机和FPGA通信出现亚稳态造成影响,主要是通过CAN口接收来自其他设备发送过来的模拟量数据和数字量数据,数据在FPGA的控制下通过USB接口传到上位机。
The method of data reception control is proposed. The system adopts the ideas of internal cache RAM and handshake reducing the effect of metastability between the MCU and FPGA communication. The analog data and digital data from other devices mainly through CAN interface are re- ceivesd and data is transmited to PC through USB in the control of FPGA.