Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

dspic33fj16gs502 vs dspic33fj16gs504?

Status
Not open for further replies.

renguo

Newbie level 6
Newbie level 6
Joined
Oct 30, 2012
Messages
14
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Visit site
Activity points
1,416
Hello,

I am planning to make my own version of the interleaved PFC from microchips's application note AN1278

microchip.com/downloads/en/AppNotes/01278A.pdf

However, I only have the dspic33fj16gs502, not the dspic33fj16gs504 (the one used in this application note). How do I know if the MCU I'm using is perfectly capable of this application? I already modified the source code and downloaded it on the dspic33fj16gs502 and it doesn't seem to work, though it could be pfc hardware problems. There seems to be a problem with my MPLAB ICD 3 that prevents me from running in debug mode (though I can program just fine), so I can't debug the code line by line and see how it runs on the MCU.

Any ideas? I also went ahead and used Microchip's side-by-side comparison. I uploaded the comparison at
i1302.photobucket.com/albums/ag127/renguoma/sbs_zpsabd15527.jpg

Seems like there's very little difference.
 

hey renguo,
First of all, check the demo code included in application note to see which peripherals that this application is utilizing with. Normally those two PICs share the same cpu architecture and type of peripherals, the only difference is the amount of peripherals (timmers) and the size of flash memory and number of avaliable I/Os.

Secondly, does dspic33fj16gs502 has enough necessary peripherals (I/Os,timers, ADC, PWM..etc that you need in your application) as dspic33fj16gs504? if yes, the answer is yes.

finally, which hardware platform are you debugging with, did you create your own PCB or you are using a PIM model with microchip's development board? check the schematic very carefully to see if you miss something. I suggested that you start with the official development board, and design your own PIM which costs less.

I hope those helps.
Mr.Ye
 

if you look at Table 1 of the datasheet
**broken link removed**

it shows the difference between the 502 and 504

in the main the core and peripherals are the same the main difference differs in the pin out
the run the demo you may well have to change the IO pins using the peripheral pin select functions to match your board
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top