采用并行传输方式,在ARM与FPGA之间进行数据的传输.在FPGA中建立双口RAM模块,将处理后的数据缓存在双口RAM中,利用ARM自带的FSMC接口读取双口RAM中的数据,实现ARM与FPGA之间的高速通信.通过Modelsim仿真、多道能谱仪实际应用测试,结果显示该通信方式能使仪器正常稳定高速工作,脉冲通过率在1M/s以上,能解决多道能谱仪中ARM与FPGA之间数据通信问题.%The data transmission between ARM and FPGA is carried out in parallel transmission mode.The processed data is stored in dual port RAM established in FPGA, reading data in dual port RAM by FSMC interface of ARM owing realize High -speed communication between ARM and FPGA.This communication approach was tested through simulation by Modelsim and actual applications in multichannel energy spectrum analyzer,the results indicated that the instrument worked normally and stably under high-speed transmission rate,the pulse passing rate is more than 1M/s,this approach can resolve the communication problem between ARM and FPGA in multichannel energy spectrum analyzer.
展开▼