Error OF C2000 in TMS320F28335

11 views (last 30 days)
mohsen teimoori
mohsen teimoori on 24 Feb 2024
Commented: Aditya Padmanabha on 31 Jan 2025 at 5:42
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."

Answers (1)

Aditya Padmanabha
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
mohsen teimoori
mohsen teimoori on 30 Jan 2025 at 20:43
Greetings and respect Thank you very much for your guidance I tried this method a year ago a thousand times, but unfortunately it didn't work and it gave me errors a thousand times.
Aditya Padmanabha
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

Sign in to comment.

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!