![]() |
| Powered by phpBay Pro |

How can I get started learning how to program dsPICs in C?
I am familiar with programming 8-bit PIC microcontrollers in assembler and C, and am interested in learning how to build simple DSP projects using the dsPIC line of microcontrollers. I can handle the hardware end and the mechanics of programming using MPLAB etc; I'm looking for a good primer on how to get started using these chips in C/C++ (assembler looks to be less efficient here, from reading the datasheet.) I'm working with a dsPIC30F4013, but am mostly interested in the general way of working with them.
For instance, how would I use the dsPIC to go about designing a DSP single-pole low-pass Butterworth filter with a cutoff of 1kHz?
Alternatively, if you don't recommend using the dsPIC, I'm open to other suggestions as long as the parts are:
* DIP form factor or similar,
* relatively inexpensive, and
* fairly easily programmed.
(I know this is a large, complex topic; I'm mostly looking for a book or website recommendation to help me get started.)
Thanks in advance.
I'll just make one recommendation:
In a limited program space (which you have), while C may be more efficient in terms of amount of code function produced per unit time, assembly is far more efficient in code space use. Most serious embedded programming for limited code space is done on the bare metal for a reason.
![]() |
![]() 150 PCS AT89C2051 24PU DIP 20 8 Bit Microcontroller US $192.99
|
![]() 30PC PIC16F73 I SP 16F73 DIP CMOS Flash Microcontroller US $176.99
|
![]() 50pcs IC P80C32 CPU Microcontroller 80C32 DIP 40 INTEL US $175.99
|
![]() 100pcs PIC12F629 I P DIP 8 12F629 I P Microcontrollers US $124.27
|
![]() 100pcs PIC10F200 I P DIP 8 10F200 I P Microcontrollers US $110.33
|
![]() 10 PCS P87LPC764BN P87LPC764 DIP 20 microcontroller US $93.99
|
![]() 20ATMEL Microcontroller AT89C52 24PI DIP40PIN IC J60 US $39.99
|
![]() 50 PCS PIC10F200 I P 10F200 I P Microcontrollers DIP 8 New US $39.29
|
![]() 5 PCS W78E058DDG DIP40 W78E058 MICROCONTROLLER NEW US $35.69
|
![]() 5pcs D8751H Intel IC MicroCONTROLLER DIP 40 D8751 US $29.99
|
![]() 10pcs P80C32 IC P80C32 CPU Microcontroller INTEL DIP 40 US $29.99
|
![]() PIC16F73 I SO PIC16F73 16F73 DIP 28 Microcontroller 10 Pcs US $28.89
|
![]() 10X ATMEL ATMEGA8L 8PU DIP 28PIN Microcontroller MCU AVR NEW CK15 US $22.99
|
![]() 2 PCS PIC18F452 I P 18F452 DIP 40 Microcontroller US $21.99
|
![]() 1 PC P80C321 DIP 40 CMOS SINGLE CHIP MICROCONTROLLER US $21.49
|
![]() 10pcs ATMEL ATMEGA8L 8PU DIP28 Microcontroller MCU AVR US $19.55
|
![]() PIC18F2550 USB Microcontroller 48MHz 18F2550 DIP28 x4 US $19.20
|
![]() PIC18LF4450 microcontroller 48MHz 16K Code USB DIP x4 US $19.00
|
![]() 10 PCS PIC16F676 I P 16F676 Microcontroller MCU DIP New US $18.75
|
![]() 10 PCS PIC16F57 I P DIP 28 16F57 I P Microcontroller US $17.75
|
![]() PIC18LF2550 USB Microcontroller 48MHz 18F2550 DIP28 X4 US $17.50
|
![]() 1 PC PIC18F258 I SP 18F258 DIP 28 Microcontroller US $16.99
|
![]() 10X IC AT89S52 is 24PU microcontroller chips in DIP 40 New US $16.99
|
![]() 10PCS STC89C52RC STC 89C52 DIP40 Microcontroller AT89C52 US $16.99
|
![]() 2x PIC18F1320 I P DIP 18 PIC18F1320 18F1320 Enhanced Flash Microcontroller FreeR US $15.99
|
![]() 3 pcs DIP PIC16F877A PIC Microcontroller MICROCHIP US $15.99
|
| Powered by phpBay Pro |


US $1,200.00




















































































