MCU/DSP dsPIC Alternatives?

Started by Chris Carlen in comp.arch.embedded14 years ago 12 replies

Hi: I'm looking for DSP-like microcontrollers and microcontroller-like DSPs. So far I am interested in TMS320F2812, but it is a bit heavy...

Hi: I'm looking for DSP-like microcontrollers and microcontroller-like DSPs. So far I am interested in TMS320F2812, but it is a bit heavy handed for some applications I would be considering. I had decided to move away from Microchip a few years ago and instead standardize on AVR for my 8-bit MCU of choice, mainly because of avr-gcc and the AVR architecture is much more pleasant to w...


TQFP handling while developing

Started by Paul Rosen in comp.arch.embedded14 years ago 10 replies

Hi @ll Microchip offers his new controllers (i.e. dsPIC) with > 40 leads only in the TQFP but not PLCC package. Sockets for TQFP are not...

Hi @ll Microchip offers his new controllers (i.e. dsPIC) with > 40 leads only in the TQFP but not PLCC package. Sockets for TQFP are not reliable. Thus they are no solution. What does that mean? The original PCB cannot longer be used for developement, because sockets are not possible. You have to design a special PCB for that. The only way I found, is to solder the device under tes


compilation of dsPIC c30 compiler sources

Started by Wojciech Zabolotny in comp.arch.embedded13 years ago 4 replies

Hi All, I've tried to compile the sources of the Microchip's C compiler for...

Hi All, I've tried to compile the sources of the Microchip's C compiler for dsPIC: http://ww1.microchip.com/downloads/en/DeviceDoc/mplabc30_v1_20_02.tar.gz Unfortunately after: ./configure --target=pic30 --enable-languages="c" make I get the following error message: cppinit.c: In function `path_include': cppinit.c:191: error: assignment of read-only location make[1]: *** [cppinit....


dsPIC audio processor

Started by Leon Heller in comp.arch.embedded13 years ago 7 replies

I'm working on a simple audio processing system using the dsPIC30F4013. It's mainly intended for amateur radio use, and I've formed a Yahoo...

I'm working on a simple audio processing system using the dsPIC30F4013. It's mainly intended for amateur radio use, and I've formed a Yahoo group for people interested in using dsPICs for radio applications: http://groups.yahoo.com/group/radio_dspic/ Leon -- Leon Heller, G1HSM http://www.geocities.com/leon_heller


Quadrature output(dsPIC)

Started by Spider_mce in comp.arch.embedded12 years ago 2 replies

Hi Can anybody help me out with the problem below. i am supposed to create standard quadrature o/p (2 or 3 oututs, A B and RM) from PWM or...

Hi Can anybody help me out with the problem below. i am supposed to create standard quadrature o/p (2 or 3 oututs, A B and RM) from PWM or outputcompare pins of a dsPIC 30F3010 or dsPIC 30f3011 The preferred frequency could be in the range of 1Mhz or a bit lesser. The timing parameters for these outputs will be obtained to 2 Inputcapture modules in the dsPIC from the outside analogue world...


CompactFlash and Microchip Dspic ready problem

Started by Anonymous in comp.arch.embedded12 years ago 5 replies

Hi! I hope somebody can help me with this problem or at least give me som suggestion how to solve it. I have a DSPIC CPU conected to at CF to...

Hi! I hope somebody can help me with this problem or at least give me som suggestion how to solve it. I have a DSPIC CPU conected to at CF to store Data of course. To save power the CF power is turned off where ever it is possible. Power on sequense is as follows. CF_WE=1 CF_OE=1 TRISD=TRISD_CF_ON TRISG=TRISG_CF_ON CF_ON=0 nop() nop() CF_CS1=1 Next i wait for CF_READY signal to ...


Dspic and hangs when running on low frequence

Started by Anonymous in comp.arch.embedded11 years ago

Hi! I have a DSPIC 30F6014 and have a problem. It is used for sampling data at a frequence of 3,3 khz the external cristall of 32768 devided...

Hi! I have a DSPIC 30F6014 and have a problem. It is used for sampling data at a frequence of 3,3 khz the external cristall of 32768 devided with 10. The DSPIC are running on 6MHZ external cristall and PLL 4 times, wich gives 24MHZ, and is trigged to start 3,3 khz. Using this speed everything works perfektly. But during standby mode i divide 32768 to get 51,2 HZ, to save power. Becouse of ...


dsPIC and SD card in SPI mode

Started by Aly in comp.arch.embedded11 years ago

Hello, Would anyone have any experience of this, concise web links etc? It's a 30f4013 chip with an SPI interface on it, and I just wondered...

Hello, Would anyone have any experience of this, concise web links etc? It's a 30f4013 chip with an SPI interface on it, and I just wondered if it was *compatiable* with the SPI mode of the SD memory cards? If not I'll just bit bang the port but if the hardware is already there... The following link to the capabilities of the 40-pin 30MIPS dsPICs. I'm planning to go over to the TQFP ...


Dspic 30 Adress Trap problem

Started by Glennis in comp.arch.embedded11 years ago 2 replies

i! I have been searching the web for the error generating my adress error trap every 24 hours typ. And i found the solution in the...

i! I have been searching the web for the error generating my adress error trap every 24 hours typ. And i found the solution in the errata http://ww1.microchip.com/downloads/en/DeviceDoc/80198d.pdf module 9, //******************************************* 9. Module: Interrupting a REPEAT Loop When interrupt nesting is enabled (or NSTDIS(INTCON1 ) bit is '0'), the following sequence of


3.3v <> 5v interfacing @ 15Mhz

Started by Alison in comp.arch.embedded11 years ago 88 replies

Hi, Please may I ask for assistance? I need a reliable method of interfacing an SPI SD/MMC card to a dsPIC. At the moment I'm using a...

Hi, Please may I ask for assistance? I need a reliable method of interfacing an SPI SD/MMC card to a dsPIC. At the moment I'm using a 1k8/3k3 voltage divider on the 5v ----> 3.3v signals, and connecting the 3.3v ----> 5v signals straight to port. It's working ok upto about 3-5Mhz, with anything above 7.5Mhz causing misread bits. Here's the actual signals; dsPIC --------------- SD/M


PIC vs ARM assembler (no flamewar please)

Started by Anonymous in comp.arch.embedded11 years ago 156 replies

Had a discussion with a _hardware_ guy (as in transistors and OP-amps) about "powerful" micros. He his a PIC guy and claimed that PIC have a...

Had a discussion with a _hardware_ guy (as in transistors and OP-amps) about "powerful" micros. He his a PIC guy and claimed that PIC have a very nice instruction set and is a pleasure to work with in assembly. He also mentioned the he would rather use a dsPIC instead of an ARM7 because ARM7 is very hard to program and has a confusing assembly (we never talked application, so I assume he...


dspic firmware only usb?

Started by mmormota in comp.arch.embedded11 years ago

I need a slow usb connection to a dsPic uC. (HID protocol is fine, just several bytes to write and read) I like to avoid an additional chip if...

I need a slow usb connection to a dsPic uC. (HID protocol is fine, just several bytes to write and read) I like to avoid an additional chip if possible. I know it can be done, there is an open source solution for the AVR family. But is there a dsPic (or portable C) version out there?


dsPic questions

Started by mmormota in comp.arch.embedded11 years ago 1 reply

I have some questions about the dsPic and environment: /*Declare constants/coefficients/calibration data to be stored in DataEEPROM */ int...

I have some questions about the dsPic and environment: /*Declare constants/coefficients/calibration data to be stored in DataEEPROM */ int _EEDATA(32) fooArrayInDataEE[] = {0,1,2,3,4,5,6,7,8,9,0xA,0xB,0xC,0xD,0xE,0xF}; It is working, but i am just curious what is that (32)? :-) In other code samples it's (2), and seems that nothing happens if I put there any 2^n number... ------...


dsPIC, DCI and debugger...

Started by A.D. in comp.arch.embedded11 years ago 1 reply

Hi all! Since a couple of days I'm stuck in a strange problem concerning the use of the DCI peripheral in a dsPIC: I use it for reading an I2S...

Hi all! Since a couple of days I'm stuck in a strange problem concerning the use of the DCI peripheral in a dsPIC: I use it for reading an I2S audio streaming coming from an ADC, but the program seems to be unable to read the RXBuffers registers, unless I activate the in circuit debugger. When the debugger is on, the program works as expected, otherwise it always reads as 0. Note that this a...


RTC on dsPIC33F

Started by fatbald1 in comp.arch.embedded11 years ago 3 replies

Hi All I hope someone can help me here. I've tried Microchip, but maybe I'm not explaining things well enough. I have a board which has...

Hi All I hope someone can help me here. I've tried Microchip, but maybe I'm not explaining things well enough. I have a board which has a 32.768KHz crystal directly connected to the SOSCI/SOSCO pins on the dsPIC. After setting up the configuration bits correctly, for running internal FRC w/PLL, I wrote the program below, using some bits from Microchip demos, and programmed the device, b...


Low cost TCP enabled devices

Started by rowebits in comp.arch.embedded10 years ago 15 replies

I noted that others were looking at and commenting on low cost solutions for TCP and related services as network controllers. One of the best...

I noted that others were looking at and commenting on low cost solutions for TCP and related services as network controllers. One of the best solutions today is the Microchip dsPIC and PIC 24. They are not 8 bits but 16 bits and share lots of great pic features. This is what you get: - low cost hardware - support for just about all interconnect you can imagine (no firewire though) - cots...


MAX3002 MAX3003 SPI 3.3v <> 5v Level Translation

Started by Aly in comp.arch.embedded10 years ago 2 replies

Hello, Would anyone have experience of these parts? Namely, caveats and design considerations? I'm intending to use a suitable level...

Hello, Would anyone have experience of these parts? Namely, caveats and design considerations? I'm intending to use a suitable level translator between a 5v dsPIC (It has to be 5v for an 8-bit bus) and a 3.3v SPI MMC/SD card. A voltage divider isn't really suitable due to 3.3v not quite reaching the dsPIC's 1 threshold. So it makes sense to digitally convert all of the lines. I h...


dsPIC software Interrupt generation problem

Started by nandlal in comp.arch.embedded10 years ago

Hi, I have been using dspic30f4011, for the external interrupt if the Pin is defined as input. So how the user can generate interrupt...

Hi, I have been using dspic30f4011, for the external interrupt if the Pin is defined as input. So how the user can generate interrupt by manually changing the port pin status in MPLAB SIM ? Because once its defined as input user cannot modify the PORT value. Is there any alternate or only option is to use ICD tool


dsPIC 1024 or 2048 FFT?

Started by Thomas Magma in comp.arch.embedded10 years ago 3 replies

Hello, I'm programming a dsPIC33 that has 16384 bytes of RAM. I'm trying to figure out if I can do a 1024 or 2048 FFT with this device. The...

Hello, I'm programming a dsPIC33 that has 16384 bytes of RAM. I'm trying to figure out if I can do a 1024 or 2048 FFT with this device. The code examples and twiddle factors provided from Microchip only allow lengths up to 512. Does anyone know if longer length FFTs are possible on the dsPIC33? Thanks, Thomas Magma


writing a byte to 16 bit port

Started by Thomas Magma in comp.arch.embedded10 years ago 10 replies

Hi, What is the best (simplest) way to write a byte to a 16 bit port pin with out disrupting the other MSB pins. In my case I'm trying to write...

Hi, What is the best (simplest) way to write a byte to a 16 bit port pin with out disrupting the other MSB pins. In my case I'm trying to write a byte to the LSByte programmed in C on a dsPIC. Something like: unsigned char temp; temp = 19; PORTB = temp; Even though the variable 'temp' is only a byte long, I'm pretty sure it will toggle the MSByte in the 16 bit PORTB register. ...