Error OF C2000 in TMS320F28335
11 views (last 30 days)
Show older comments
Dear Sir or Madam
I am writing to thank you for the sample program for the simulation of the Texas Instruments c2000 with the f28335 model. However, But I changed the blocks to the model f28335 and finally the error came with the following response..
I would be grateful if you could provide me with the model I need. Thank you very much for your help.
Sincerely
Mohsen Teimoori
"Error evaluating 'InitFcn' callback of ADC Type 3-5 block (mask) 'f28335_sixstep_controlBLDC/Current Control/Sensor Driver Blocks/Sensor Driver Blocks (codegen)/Current Measurment/ADC5'.
Callback string is 'validatePiccoloADC;
codertarget.registry.registerPiccoloADCBlocks(gcb);'
Caused by:
The values of the parameter SOC trigger on the blocks ADC5 and ADC5 must be different."
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1626088/image.bmp)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1626093/image.bmp)
0 Comments
Answers (1)
Aditya Padmanabha
on 20 Jan 2025 at 4:15
Hi,
The ADC block used in the model is picked from F28M3x - C28x library as indicated from the label on the block. Since the hardware board selected for the model is TI Delfino F2833x, the ADC block for this model should be picked from F2833x library. This will solve the problem.
Thanks,
Aditya
2 Comments
Aditya Padmanabha
on 31 Jan 2025 at 5:42
Hi,
Do you want to share the model you have to try it out at my end?
Thanks,
Aditya
See Also
Categories
Find more on Motor Control Blockset in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!