(editor’s note: Intrigued by the problem? Have a similar challenge? Have a question or another solution? Then click the “Read more” link and follow the conversation on EDAboard.com or log in to EDAboard and participate in the microcontroller forum thread.)
PWM interrupt Microchip clarification -I have configured a PWM interrupt for every 30 microseconds. The clock frequency is 20 MHz for Microchip’s dsPIC family. I want to execute a logic at 30 microseconds, hence I configured the PWM and the algorithm involves a lot of mathematical calculations. My problem is when I toggle some port in the main it does not execute. But if I toggle in the PWM the interrupt it toggles. Read more
Microcontroller is DALI-connected but has no external oscillator crystal – We have some lamps with a DALI dimming facility. The PIC micro in the lamp is using its internal oscillator. Do you think this micro will have difficulty “locking in” to the incoming DALI signals? Read more
Interface two PIC microcontrollers by using I2c protocol – I want to make a master PIC18f4550 and one slave communicate via I2C. I am using MPLAB x IDE for writing the codes. I have no idea how to do this. Can someone please suggest some tutorial site or code from where I could learn how to use PIC for I2C? Read more
Microcontroller is DALI connected but has no external oscillator crystal – I set the accelerometer for click detection. I expect the accelerometer will generate an interrupt when I tap on it, but it seems the accelerometer will generate an interrupt when I shake it. Is it normal? Read more
Rusting of sensor in water by applying DC power – I want to store continuous integer data which is sent from a PC by RS232 to EEPROM of a PIC16f887. Read more
Store continuous string of data in EEPROM of PIC16f887 – Does one solder the QFP MCU PCB and use ICSP to program them? Is there a ZIF socket available for such package microcontrollers? Read more
Badminton scorecard – I am using internal EEPROM memory to store data. But if I remove power, I get garbage value. The code is working OK because read/write operation is happening. Read more
Accelerator click detection and movement detection – I set the accelerometer for click detection. I expect the accelerometer will generate an interrupt when I tap on it, but it seems the accelerometer will generate the interrupt when I shake it. Is it normal? Read more
Programming QFP/TQFP microcontrollers – How does one program QFP/TQFP microcontrollers? I mean, does one solder the QFP MCU onto PCB and use ICSP to program them? Are there zif socket available for such package microcontrollers? Read more
AVR32 vs PIC32 which has better support, learning curve – Which of the two — AVR32 or PIC32 — is easier to program, learn and which has more firmware, software, source code available? I see more AVR32 source code via Atmel studio and ASF and documentation (schematics) than PIC32. Is this right? Read more
Leave a Reply