c2000 and BLDC Motor with f28335

18 vues (au cours des 30 derniers jours)
mohsen teimoori
mohsen teimoori le 29 Fév 2024
Modifié(e) : Aditya Pahariya le 22 Août 2025 à 4:56
Hello and dear
First, I downloaded a sample file c2000 f28379d from your company. It looked like this.
then, I changed to f 28335 all Blocks . I converted this file of blocks f28379d that already had this model to f28335 and encountered an error.
" Error evaluating 'InitFcn' callback of ADC Type 3-5 block (mask) 'f28335_sixstep_controlBLDC/Hardware Init/Code Generation/Calculate ADC Offset /For Iterator Subsystem/ADC5'.
Callback string is 'validatePiccoloADC;
codertarget.registry.registerPiccoloADCBlocks(gcb);'
Caused by:
Unrecognized field name "ADCmodule2"."
one of this has a problem
"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/ADC3'.
Callback string is 'validatePiccoloADC;
codertarget.registry.registerPiccoloADCBlocks(gcb);'
Caused by:
Unrecognized field name "ADCmodule".."
Please I would like this simulation with f28335.
Thank you.
  1 commentaire
KrishnaKumar
KrishnaKumar le 10 Juil 2024
If you are interested in only simulation of the model then the hardware board configuration/block replacement would not affect the simulation. Block replacement is needed only if the model needs to be deployed on specific hardware like f28335.

Connectez-vous pour commenter.

Réponses (1)

Aditya Pahariya
Aditya Pahariya le 22 Août 2025 à 4:50
Modifié(e) : Aditya Pahariya le 22 Août 2025 à 4:56
Hi,
Looks like you have taken the Block from the F28M35x library rather than taking it from C2833x library.
attached the screenshot to differentiate :
Please take the block from the C2833x library.
Regards,
Aditya

Catégories

En savoir plus sur Motor Control Blockset dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by