FORUM TOPIC · READ ONLY

Trying a simple model

Trying a simple model

Forum : General Remark and Questions

2 message(s) · archive en lecture seule

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!

Pièce jointe : blink_led.mdl

LubinKerhuel

Re: Trying a simple model

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