The invention discloses an ARM (Advanced RISC Machines) and FPGA (
Field Programmable Gate Array) board-level communication method and device based on a FLEXBUS interface, ARM and FPGA communication is realized through the FLEXBUS interface, the interface supports high-speed
data transmission and meets the requirements of large data volume and high real-time performance, the
transmission rate and the data
throughput are obviously superior to those of a traditional communication mode, the data bit width of the FLEXBUS interface is configurable, the
data transmission efficiency can be optimized, and the
data transmission efficiency is improved. The method is suitable for different application scenes, configuration parameters transmitted when an upper-layer application runs are analyzed at the ARM host end, FLEXBUS interface parameters are configured through a spidev driving interface, it is ensured that communication parameters are accurate and stable, in the data transmission process, the FPGA slave end analyzes
verification data frames, data
correctness and completeness are ensured, the ARM host end verifies
data consistency, the error rate is calculated, the communication reliability is improved, and the data transmission efficiency is improved. In addition, the FPGA slave end can also convert the data into a
parallel port communication format, uninterrupted transmission of data streams is achieved, in addition, a spidev driving interface provides a uniform interface for upper-layer application, and the interaction process is simplified.