Page 1 of 1

Trying a simple model

Posted: Thu Jun 24, 2010 10:12 pm
by Jodoku
I have taken a simple portion from one of the included examples with the blockset to create a blinking LED. I have a dsPIC30f4011 and a dsPICDEM2 board, along with MPLAB ICD 2. No matter what, I can't get a single LED to light up. I am very new to this, and I need some direction. I've attached the simulink model I've been using. Thank you!

Re: Trying a simple model

Posted: Sun Jun 27, 2010 11:42 pm
by LubinKerhuel
Hey,

You model is not far from working.
I think that the problem is the oscillator mode that seems not correct.
Do you use a quartz. If so, Oscillator mode should be something like XT, XT with Pll or HS. See 30f4011 doc to get further information about oscillator.

Lubin