McASP receiver and transmitter (for HDL Coder)
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.
Zitieren als
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. Abgerufen .
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxKategorien
- Signal Processing > DSP System Toolbox > Transforms and Spectral Analysis > Transforms >
- FPGA, ASIC, and SoC Development >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
McASP for HDL Coder
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.0.1 | Fixed typo |
||
1.0.0 |