The communication speed between ARM and FPGA has a great importance on real-time transmission of acquisition data in multichannel energy spectrum analyzer.Hence this paper applied SPI communication to data transmission between each other.High-speed communication was realized by using SPI interface of ARM owning and programming the SPI modules on FPGA.This approach was tested through simulation and actual applications,the results indicated that the instrument worked normally and stably under high-speed transmission rate.What's more,this SPI communication method possesses well transportability.%基于在ARM+ FPGA多道能谱仪中,ARM与FPGA之间的通信速度对数据采集的实时传输具有重要影响,因此本文将SPI通信应用于两者之间进行数据传输,利用ARM自带SPI接口和FPGA上编写SPI模块实现彼此间高速通信,经过仿真、验证和实际应用测试表明该方法能使仪器正常稳定高速工作,而且可移植性强.
展开▼