Multi-axis nc engraving machine system of data transmission between MCU and FPGA
by:Transon2020-07-22
After through the prophase data processing, we've got each complete with the number of pulses deceleration period of PS, the number of pulses and every small segment Px, Py, Pz, Pl, the data by multi-axis nc engraving machine system via USB MCU read in SDRAM and then sent to the FPGA implementation.
The initial velocity where v0, acceleration & alpha;
(
The system USES a set of constant acceleration and deceleration mode)
, and set the processing speed is the maximum speed Vmax input from the keyboard, through the MCU display on the LCD screen, and gave the FPGA by 16 bit data bus.
in the end into the FPGA implementation of data, every little bits of data from the original x, y, z into the Px, Py, Pz, Pl, Ps.
Data transmission between MCU and FPGA is done through 16 bits of data bus, based on the FPGA programming, generate primary data cache, when ARM detected cache is empty and their own data transmitted to the FPGA, MCU to FPGA of cache writes under a small piece of data, and the interface methods of equivalent of MCU read and write in an external memory.
When the FPGA to the next level of function execution module to complete its function in the idle state, if there are data immediately to perform in the cache, and clear the cache, the MCU to continue to send a piece of data.
Cache role is not only convenient data transmission of MCU and FPGA, and 16 bits by the bus into all data into parallel data after waiting for FPGA read the next level of function module, greatly reducing the next level of FPGA functional modules and began to perform a piece of data read time, eliminate the FPGA implementation after the current data for MCU send again the next time data, in the FPGA on the linkage between the two pieces of data before and after processing can be regarded as a continuous, completely so that external motor continuous movement does not cause any influence.
We are here to help you! If you close the chatbox, you will automatically receive a response from us via email. Please be sure to leave your contact details so that we can better assist