McASP receiver and transmitter (for HDL Coder)

版本 1.0.1 (60.3 KB) 作者: Felix Schneider
Texas Instruments multi-channel serial port protocol used by many DSPs. Can be used for high throughput link between FPGA and DSP.
68.0 次下载
更新时间 2019/12/5

查看许可证

When using an FPGA as data preprocessor for a digital signal processor, one needs to establish a high-bandwidth link between the two chips. Many modern Texas Instruments DSPs use a protocol called "McASP" (multi-channel audio serial port). Despite its name, it can be used for any kind of data, not just audio.

This library provides blocks for sending and receiving data to and from a TI DSP and is made for HDL code generation with HDL Coder.

To learn how the blocks are used, see the example model, it shows continouus data streaming with 16 bit words (check the logic analyzer). Of course, it's also possible to use 8 bit or 32 bit words by configuring the block parameters.

A C-Code excerpt showing the configuration values for the different McASP registers on a 66AK2G12 DSP is also provided. If you are using a different DSP chip, the register names might still be the same and you can use this code as guidance.

引用格式

Felix Schneider (2024). McASP receiver and transmitter (for HDL Coder) (https://www.mathworks.com/matlabcentral/fileexchange/73571-mcasp-receiver-and-transmitter-for-hdl-coder), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2019b
兼容任何版本
平台兼容性
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.0.1

Fixed typo

1.0.0