Thread Subject: F28335 with Simulink

Subject: F28335 with Simulink

From: Pawel

Date: 17 Sep, 2009 08:40:20

Message: 1 of 3

Hi!
I have some problems with programming F28335 chip by Simulink.
I opened sample project for my processor: c28335pwmtest, but it doesen't work proper: on ePWM outputs I didn't get any signals. I changed this program: timer period is set by dialog (not by input port). I set up it for constant value 10000 and I set up initial value in CMPA for 5000, but CMPA source is set to input port. For this input port I have attached constant block with 8000 value (like in example project). I can download this program and run it, but I don't get proper working program: on scope in ePWM1a pin i get PWM signal, but with filling 50% (like initial value), I can change this value in program and I get other filling, but I should get filling from input port, not from initial value... When I change value in constant block - it don't make any results in program - it looks like ePWM is initialized by initial value and later it isn't updated any time. I was trying check all
options in ePWM block, but I don't find any solution.
Does anybody had similar problem? What am I doing wrong?
About my software: I have Matlab R2008b, CCStudio 3.3 with SP12 and I have installed other updates (DSP/BIOS, CGTool etc)

Best regards!
Pawel

Subject: F28335 with Simulink

From: Pawel

Date: 17 Sep, 2009 10:46:02

Message: 2 of 3

Does problem could be in my DSP board? I have F28335 chip in TMS320C2000 Experiment Kit - in Matlab I have avaiable F28335 ezDSP configuration, not this experiment kit...
But program is loaded without any errors and warnings - only doesen't work proper

Subject: F28335 with Simulink

From: Antonin Ancelle

Date: 22 Sep, 2009 15:21:33

Message: 3 of 3

Hi Pawel,

Check bug report 521642 at the following page.
http://www.mathworks.com/support/bugreports/search_results?search_executed=1&keyword=&release_filter=Exists+in&release=151&selected_products=72&commit=Search

Cheers,

Antonin.


"Pawel " <blaszczy@student.agh.edu.pl> wrote in message
news:h8sslk$g67$1@fred.mathworks.com...
> Hi!
> I have some problems with programming F28335 chip by Simulink.
> I opened sample project for my processor: c28335pwmtest, but it doesen't
> work proper: on ePWM outputs I didn't get any signals. I changed this
> program: timer period is set by dialog (not by input port). I set up it
> for constant value 10000 and I set up initial value in CMPA for 5000, but
> CMPA source is set to input port. For this input port I have attached
> constant block with 8000 value (like in example project). I can download
> this program and run it, but I don't get proper working program: on scope
> in ePWM1a pin i get PWM signal, but with filling 50% (like initial value),
> I can change this value in program and I get other filling, but I should
> get filling from input port, not from initial value... When I change value
> in constant block - it don't make any results in program - it looks like
> ePWM is initialized by initial value and later it isn't updated any time.
> I was trying check all
> options in ePWM block, but I don't find any solution.
> Does anybody had similar problem? What am I doing wrong?
> About my software: I have Matlab R2008b, CCStudio 3.3 with SP12 and I have
> installed other updates (DSP/BIOS, CGTool etc)
>
> Best regards!
> Pawel

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
f28335 Pawel Blaszczyk 17 Sep, 2009 05:18:38
simulink Pawel Blaszczyk 17 Sep, 2009 05:18:38
epwm Pawel Blaszczyk 17 Sep, 2009 05:18:38
rssFeed for this Thread

Contact us at files@mathworks.com