I know how to code the pic16f877 using assembly language. I know how to program in C as well.
I wish to learn how to program dsPIC3011 using embedded C. I downloaded the x16 compiler from mplab's website. However, I need a few tutorials so I can learn the basics. Essentially stuff like syntax and what headers to use. From scratch.
There's this guide https://www.mikroe.com/products/view/266/programming-dspic-mcu-in-c/. While it is very useful, it tells me nothing on how exactly I should go about initializing my program, what header files I should be using, initializing registers, assigning labels and all that.
Are there any online tutorials that I could use? A complete idiot's guide preferably.
*Additional Details*
Our college decided to give us a course based on dspic3011 and(funny enough) we do not have any practical implementation whatsoever. Not even simulations. I'd really like to know how I can go about programming and seeing results instead of writing little code snippets for my tests.
Thank you so much. I wasted a lot of time trying to figure out how to get things working in MPLAB. The mikroC instructions are excellent.
I have ISIS. I used that to simulate PIC16F in the past. It doesn't seem to have some of the dsPICs like 3011 or 4013. Any idea where I could get those?
I recommand a board from Forlinx.
Forlinx website: www.forlinx.net
I use one(OK6410-A + 4.3" LCD) and very excellent. You could buy it from its on-line store.
Please click his official on-line store as followings and choose your favorates. https://www.aliexpress.com/store/111504
you can also search for www.microchipdirect.com for demo boards.
but they will be somewhat costly.
they also have pickit3 debugger, costing approx 2500 INR.
so you can start with it easily.