- System Initialize : https://www.mathworks.com/help/rtw/ref/systeminitialize.html
- Model Header : https://www.mathworks.com/help/rtw/ref/modelheader.html
- Model Source : https://www.mathworks.com/help/rtw/ref/modelsource.html
- System Outputs : https://www.mathworks.com/help/rtw/ref/systemoutputs.html
Support for C2000 PGA within the C2000 Microcontroller Blockset
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
I'm diving into the C2000 Microcontroller Blockset and looking to get a project up and running on a F280049C LaunchPad, but one of the features, the Progrmmable Gain Amplifier, that my project requires doesn't seem to be supported (or I cannot find it).
Am I just missing this, or is there a workaround using code outside of the Simulink environment that I can enable the PGAs (and ideally update the gains on the fly) within the Simulink environment?
Additionally, are there plans in place to add this support in the future? (Even better if there is a resource that shows a listing of the supported features of the Blockset, along with planned/inprocess features, and non-supported features.)
Thank you,
Austin
0 Commenti
Risposte (1)
Narvik
il 23 Gen 2024
Hi,
As you mentioned, the Programmable Gain Amplifier does not seem to be supported for Embedded Coder Support Package for Texas Instruments C2000 Processors. This can be confirmed from the File Exchange discussion below:
As mentioned in the discussion, you can use "Custom Code blocks" as a workaround. The following custom code blocks might be relevant to generate initialization code for the peripheral:
Refer to the following documentation link for information on other relevant custom code blocks:
Use the Memory Copy Block to update the value of the Programmable Gain Amplifier in run-time as described in the second part of this MATLAB answer:
Refer to the following MATLAB answer for FAQs on TI C2000 Hardware Support Package:
If you are looking to suggest improvements or new features for MathWorks products, you may want to consider filing a tech support enhancement request. You can use the following link to contact MathWorks support:
Hope this helps!
0 Commenti
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!