Trying a simple model

Create new topics, add your comment, remark, bugs...
Post Reply
Jodoku
Posts: 2
Joined: Thu Jun 24, 2010 10:08 pm

Trying a simple model

Post by Jodoku » Thu Jun 24, 2010 10:12 pm

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!
Attachments
blink_led.mdl
(25.75 KiB) Downloaded 453 times

LubinKerhuel
Site Admin - Expert
Posts: 616
Joined: Wed Mar 07, 2007 11:23 pm
Location: Bayonne- France
Contact:

Re: Trying a simple model

Post by LubinKerhuel » Sun Jun 27, 2010 11:42 pm

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

Post Reply

Who is online

Users browsing this forum: No registered users and 37 guests