problem in dumping the simulink model at high sampling frequency in TMS320f28379.

3 Ansichten (letzte 30 Tage)
hello everyone,
i hope you all doing well. I have a one question hardware modelling in simulink. IN C2000 TMS320f28379d DSP board, i am trying dump the simulink model at sampling time 1e-6 it is is not dumping,what changes i need to do for run the model.but it is running at 1e-4sampling time? some error is comming when i dump the code at 1e-6 sampling time, the error like Code replacement library must provide entries for semaphore/mutex creation.help me get this problem out.

Antworten (1)

Aman Vyas
Aman Vyas am 17 Mär. 2020
Hi,
The simulink model you are trying to dump on TMS320f28379 is producing error because of possibly two reasons.
A) There might be some components in the model which might be running at different sample rates and are causing errors related to sample rate mismatch. Try using upsample and downsample blocks to balance out.
B) Alternatively try generating HDL code and see whether is it synthesizable as simulation is for just testing purposes. If code is generated for that case the model is fine.
Refer to these documentation links:
Hope this solves the issue!

Community Treasure Hunt

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

Start Hunting!

Translated by