| In recent years, with the rapid development of integrated circuit technology, and the rapid improvement of digital signal processors and memories, the frequency and amount of data interaction between the processors is also increasing at a high speed, which put forward higher requirements for efficiency of data transmission. McBSP (multichannel buffered serial port) can realize time-division multiplexing function, and can transmit data with DMA bus provided by DSP directly, so that DSPs can be freed from the heavy task of serial port communication, thus improve the efficiency of the overall operation of the DSP.This thesis focuses on multichannel buffered serial port, analysis deeply in the technology related serial peripheral interface, interrupt request, μ-law and A-law compression. Because of the theoretical basis, design of multichannel buffered serial port is completed. The overall function, performance and structure of McBSP are described in this thesis. This thesis explains the basic workflow of McBSP, describe in detail the specific design of each functional module of McBSP including clock and frame synchronization control module, serial control module, multi-channel selection module, compression and expansion module, interrupt module and so on. An embedded test platform is set up using Xilinx Embedded Development, and the whole building process of the test platform is presented. Seven kinds of basic test of the design of McBSP module are embedded, in order to ensure the accuracy of McBSP module function. Verification results show that the design of McBSP support read and write operations, support interrupt operation, support full duplex data transmission mode, support data compression transmission mode, support multi-hannel selection, support SPI protocol, and the maximum clock frequency can reach 260.281MHz.After the verification of the test platform, design of the McSBP module in this thesis shows that the function perfect, the performance is reliable, and can completely achieve the function and performance requirements of design requirements, so it can be used in DSPs. |