Quantcast
Channel: PIC24 Topics
Browsing all 3494 articles
Browse latest View live

SPI Clock problem on PIC24FJ128GB202 (nikola.hnikolov)

Hi,I'm using PIC24FJ128GB202 with SPI. According the manual maximum clock frequency is 16MHz. I'm using internal oscillator, according the settings I've made Fpb = 32MHz => Fcy = 16MHz. The problem...

View Article


PIC24FJ128GC010: Link Error - Overlaps section (JorgeAugustoCosta)

MPLAB XC16: http://www.microchip.com/forums/fb.ashx?m=881172..

View Article


deleting arrays (jlaturnu)

Hi guys, I'm trying to initialize five or six 512 byte arrays, but when i debug my project i see on the call stack it gets reset to 0x0. This occurs when trying to initialize maybe the 4th or 5th...

View Article

FIR Filter on PIC24E (G0NZ4L0)

Hello All. I'm working on a speakerphone project with a PIC24EP32MC202, and a codec IC sampling 16-bit audio at 32KHz. Trying to implement a notch FIR filter to remove the howling (feedback) between...

View Article

PIC24FJ64GA308 PPS issues (JimDrew)

I hope someone has some experience with the above mentioned PIC24FJ64GA308 (80 pin PIC24). I can't get the PPS to setup any of the UARTS for output. They work fine as inputs. UART1 is on pin 41, which...

View Article


write code to PIC24FJ256GB106 is very slow (Nguyễn Sáng)

I use pickit2 to write code to PIC24Fj256Gb106,it is very slow, it take me about 1 minutes,very time comsuming,.. when i use PIC16f887, PICkit2 write code to PIC very fast, about 5,6 second. What...

View Article

PIC24FJ128GB204 Family MLA FileIO (Flying Al)

The out of the box fileio demo project in the MLA library does not work with the PIC24FJ128GB204 family (and I guess the 24f GA2 family). It seems that the latest MLA library SPI drivers do not support...

View Article

WiFi module for project (Hari21)

Hi, I require a Wi Fi module for my project. My main objective is to send data (mostly voltage and current measured) from my unit to another wifi module which will update the data into the cloud. I...

View Article


Can't get PWM to simulate on P24F16KM204 (erinandlaurelsdad)

I had a PWM running on an earlier PIC24HJ device and tried to port the code to the P24F16KM204 but it won't simulate at all.All the registers are CCP1...... I have CCSEL=0, TMR32=0, Mod = 5, and then...

View Article


PIC24FJ.. latest MLA..USB audio (Buriedcode)

Hi, Not sure which part of the forum to post this in.. as it relates to the MLA, PIC24FJ parts, and USB... I'm new to PIC24 after many years on 16F/18F (as well as 8/32 bit atmel parts). I bought a few...

View Article

PIC24FJ128GA306 I/O Pin Problem (pudgee)

Hi All, I have an application that is using the PIC24FJ128GA306. In my application, I have a 4 position DIP switch, one side tied to VCC and the other side tied to various I/O pins with a 47K pull down...

View Article

Using two SPI channels on PIC24FJ128GA306 at same time (SidLeg)

Hi, I am trying to use both SPI channels of the PIC24FJ128GA306. I have written two test projects which together confirm that both SPI1 and SPI2 channels can be configured and work correctly on their...

View Article

Programm doesnt enter ISR (Schnarek)

Hey im am using the PIC24F08KL302my programm doesnt enter the ISR. In the debugging mode i can see in the SFR that the INT0 bit is set (IFS0 = 0x001).This is my configuration: TRISBbits.TRISB7 = 1;...

View Article


USB device using non standard clock (Buriedcode)

Hi, Apologies for yet another 'USB clock?' post, as I have seen many others discussing the ability to use the internal osc (calibrated by USB SOF, or external osc) for USB full speed device - but...

View Article

Hex File Writes to PIC24FJ "Unimplemented" Addresses (Meems)

Hello, I'm currently working on a project that requires a memory map to be created from the project build for a PIC24FJ64GA004. Programmatically I'm taking the hex file as an input and outputting a...

View Article


PIC24FJxxGA004 problems with RA9 port (s.barbabella)

HalloI can't use RA9 I/O port on PIC24FJxxGA004! I set RA9 port as simple output, PORTA = 0x0000; LATA = 0x0000; TRISA = 0b1111100001100011; //uscite A2 A3 A4 A7 A8 A9 A10 but when I set the PIN...

View Article

PIC24FJ128GA202 UART issues (morph1)

Hi everybody, has one of you a GA202 or GA204 running with uart? Running on FRCDIV @ 2MHz FCY I am not able to receive a single character with a valid value.Changing UART from 1 to 3 didn't help (1...

View Article


Problem with USB bootloader (Jose Miguel Fernandez)

Hello everyone. I'm developing with IDE v2.10 MPLAB X and X16 compiler on PIC24FJ256DA210. I have the following problem with the USB Bootoloader. From ICD3 recorded the demo project bootoloader content...

View Article

UART pin 6 doesn't have an analogue connection but required PCFG to be set?...

I am using a PIC24F08KA102 20 SOIC pic and the XC16 v 1.24 compiler; no optimizations. The UART RX pin is pin 6 and there are no PIC analogue inputs on that pin.In order to get the UART to receive data...

View Article

ADC SEQUENCER (joanquark)

Hi everybody! i would like to use the ADC converter of PIC24FJ64GA004 in order to automatically sample and convert from AN0..AN4 every ms. i'm using the following code, but i only got conversion of AN0...

View Article
Browsing all 3494 articles
Browse latest View live