EmbeddedRelated.com
Memfault Beyond the Launch

dsPIC software Interrupt generation problem

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


Need recommendations for DsPIC C compiler

Started by Anonymous in comp.arch.embedded15 years ago 3 replies

I am currently using Microchips C Compiler and have found some large performance problems. I would like to switch to another vendor....

I am currently using Microchips C Compiler and have found some large performance problems. I would like to switch to another vendor. Does anyone have any recommendations for a DsPic compiler that generates fast ANSI standard code?


servo motor controller using dspic

Started by vibz86 in comp.arch.embedded14 years ago 1 reply

Hi, I have to control 2 servo motors with dspic30f3011. I came across a sample code which I have attached below. Im finding it really difficult...

Hi, I have to control 2 servo motors with dspic30f3011. I came across a sample code which I have attached below. Im finding it really difficult to understand it and customize it according to my needs. Can some one explain to me whats the code doing (I can of course understand all the initialization parts as I read the datasheet). It would be a great help for me if someone can explain whats going o...


dsPIC PWM phase noise

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

I'm trying to figure out if I can run the dsPIC33 at the maximum 40MIPS and use the PWM output to clock an external ADC without introducing the...

I'm trying to figure out if I can run the dsPIC33 at the maximum 40MIPS and use the PWM output to clock an external ADC without introducing the phase noise(into the ADC) associated with the internal clock PLL. Is there a way to have the dsPIC processor use the clock PLL but have the PWM circuitry directly referenced to the external clock? Thomas


interfacing dspic to LAN

Started by vibz86 in comp.arch.embedded14 years ago

I want t interface dspic 30f2010 to the LAN. I found out that ENC28J60 is a good solution. But i dnt have an idea about it. Does someone guide...

I want t interface dspic 30f2010 to the LAN. I found out that ENC28J60 is a good solution. But i dnt have an idea about it. Does someone guide me through this? How should I program ENC28J60? can someone provide me any sample codes in mikroc? It will be a great help for mee --------------------------------------- Posted through http://www.EmbeddedRelated.com



Memfault Beyond the Launch