CNC woodworking engraving machine DSP and PC communication software

by:Transon     2020-07-23
CNC woodworking engraving machine DSP to the PC through USB send data, first check the state of empty and full signal, and then to write a proper size USB data, to ensure that data will not overflow; PC through USB send commands to the DSP, USB interrupt way inform DSP reads a command word, by a serial interface engine SIE endpoint and FIFO buffer to send and receive data directly, use DSP as external logic controller directly, can achieve very high data transfer rate. DSP read data in a FIFO: first of all determine FLGB level, if it is a high level, data shows that the PC has issued to the CY7C68013A, can be read operation. When making A read operation, should be the A0 and A1 is low, namely A [ 1. 0] = 00, CS signal for low at the same time, OE# signal is low. DSP write data to the FIFO: first determines the FLAC level, if it is a high level, that haven't write the full 512 bytes of the FIFO, can write operations. At the time of writing, should be the A0 low and high A1, namely A [ 1. 0] = 10, CS signal for low at the same time, OE# signal is high, the adoption of automatic transfer mode EP6, if not write full 512 bytes in the FIFO, CY7C68013 will not transfer data to PC, at the same time, so he wrote in the last data should be PktEnd# buy low, ensure real-time transmission.
Custom message
Chat Online 编辑模式下无法使用
Leave Your Message inputting...
88888888888888888888888