EmbeddedRelated.com

regarding DAC in dsPIC33FJ128GP802

Started by bharath reddy sareddy in comp.arch.embedded14 years ago

hi frds im using dsPIC33FJ128GP802 for my application im trying with ADC-DAC loop back as intial step. my ADC is working finely but i have a...

hi frds im using dsPIC33FJ128GP802 for my application im trying with ADC-DAC loop back as intial step. my ADC is working finely but i have a strange problem with DAC.......... intially data register(DAC1RDAT) is loading with default value and then always it is going to zero.............. i have tried with the example given by microchip also.....it is also giving the same problem i m not...


I need Help....Generating a square wave with the dsPIC33FJ256GP710

Started by embcontrol in comp.arch.embedded13 years ago 3 replies

Hello everyone... I just got a explorer 16 board from Microchip. It brings two Plug-In-Modules (PIM), the PIC24FJ128GA010 and the...

Hello everyone... I just got a explorer 16 board from Microchip. It brings two Plug-In-Modules (PIM), the PIC24FJ128GA010 and the dsPIC33FJ256GP710. I also have the debugger/programmer ICD3. I have installed MPLAB C30 in my computer as well. Now that I have everything I need (According to microchip)to start programming, I need some guidance with regard to starting this project. Ba...


dsPIC33FJ32GP302 Configuration Bits

Started by embcontrol in comp.arch.embedded13 years ago 4 replies

Hi, I am trying to program a dsPIC33FJ32GP302 chip with the Pickit 2 programmer and using MPLAB C30 (This chip supports the Pickit 2 as...

Hi, I am trying to program a dsPIC33FJ32GP302 chip with the Pickit 2 programmer and using MPLAB C30 (This chip supports the Pickit 2 as illustrated by the green light on the "select device" window). I managed to put the chip on a board and connected it to the pickit 2. I built a project in MPLAB and the programmer sends power to the target as expected and it recognizes it. I imported th...


PIC MP3 Decoder

Started by bmearns in comp.arch.embedded18 years ago 17 replies

I'm looking for code for any of Microchip's dsPICs that will decode an MP3 file stream into PCM data. C is preferable, but asm will work...

I'm looking for code for any of Microchip's dsPICs that will decode an MP3 file stream into PCM data. C is preferable, but asm will work fine, as well. Does anyone have any leads on this? Thanks.


dsPIC, DCI and debugger...

Started by A.D. in comp.arch.embedded17 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...


TQFP handling while developing

Started by Paul Rosen in comp.arch.embedded20 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.embedded19 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.embedded19 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.embedded19 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.embedded18 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.embedded18 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.embedded17 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.embedded17 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.embedded17 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.embedded17 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 questions

Started by mmormota in comp.arch.embedded17 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... ------...


MCU/DSP dsPIC Alternatives?

Started by Chris Carlen in comp.arch.embedded20 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...


RTC on dsPIC33F

Started by fatbald1 in comp.arch.embedded17 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.embedded17 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.embedded16 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...