Joined: 18 Nov 2008 Posts: 281 Location: Athens, Greece.
Dspic configuration fuses
Posted: Wed Nov 19, 2008 4:16 pm
Hello,
Can somebody give me an example of a how to use the fuses on a dspic33fj ? For example to make it use internal FRC.
Also do I need to disable any peripherals in order to get IO function on the pins?
georpo
Joined: 18 Nov 2008 Posts: 281 Location: Athens, Greece.
Posted: Wed Nov 19, 2008 5:07 pm
I found it!
The problem is not the fuses. It is the wrong register associations!
Wake UP CCS!!! TRISB = 02C8 and NOT 02C6
I wasted 3 days just to turn on a LED. Idiots!
hockeyjo14
Joined: 05 Nov 2007 Posts: 2 Location: C_bus, Ohio
Posted: Sun Nov 30, 2008 11:03 am
Georpo,
I believe I am experiencing the same problem with a dsPIC33F, trying to read PORT B (16 bits). It is always zero even when I measure different with a scope. It sounds like a TRIS B problem.
Where is it that you 'fix' the CCS register associations in the PCD?
Thanks in advance.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum