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

PIC24 EEPROM Memory and MCC (Rundumeli)

Hi everyone, I'm new to this forum since I have question for that I haven't found an answer yet. So I'm used to the 8bit series of PICs, and now I'm developing the first time on a 16bit...

View Article


MPLabX Project Setup Stalled at "Please Select a Compiler" (Abraxas)

Been away for a long time. I've been unfaithful (ARM Cortex).Just opened MPLabX and started setting up what I hope is a simple PIC24FJ,,,006 project. I got about 3 steps in where I was prompted to...

View Article


PIC24FJ256GB106 - MCC Generated SPI problem (Arresterdramon)

Hi, I'm quite new to PIC and I'm trying to use SPI1 to communicate with SST25 flash memory through pin RG6-RG8 and RG9 (fixed by hardware) as CS . I tried generated code from MCC. Code was compiled and...

View Article

PIC24FV32KA304 Pullup Over-Rides pin read (S.Rhodes)

I have 5 address pins. If I turn off weak pull up and tie them to Vdd, they all read high.If I turn off weak pull up and tie them to ground, they all read low.If I turn off weak pull up and let them...

View Article

PIC24FJ256GA705 Deep Sleep DSCON register ? (mhaines@appliedlogix.com)

Hello,SUMMARY: There is no DSCON register in the device include file p24FJ256GA705.h I have this setup.Board: PIC24FJ256GA7 CURIOSITY DEVELOPMENT BOARDDevice: PIC24FJ256GA705Env: MPLAB X IDE...

View Article


PIC24 Won't wake from RTCC Alarm Interrupt (mhaines)

SUMMARY: Can't wake up from Sleep mode via RTCC ISR Device: PIC24FJ256GA705Board: PIC24FJ256GA7 CURIOSITY DEVELOPMENT BOARDEnv: MPLAB X IDE v6.00Compiler: xc16-gcc (v2.00)xc.h :...

View Article

PIC24 clock switching (Arresterdramon)

Hi, I'm looking on how to do clock switching. normally I use this code to define clock OSCCON = 0x1100; CLKDIV = 0x0000; I would like to run on 16MHz on processing condition and switch to 1Mhz for low...

View Article

[PIC24FJ256DA210] Why I shouldn't set SPI to 16 MHz? (Atlantis86)

I am using PIC24FJ256DA210 in one of my projects - player of audio files from local storage (USB or SD card) and streams from Internet. Internet connectivity is handled by ENC28J60 chip connected to...

View Article


PIC24FJ128GL306 MCCP Measurement of a pulse width (adamoa)

I have a digital signal of fixed frequency and variable duty cycle, the parameter I have to measure. I tryed all possible configuration of the MCCP Input Capture function but the result is always the...

View Article


migration from 24FJxxxGA702 to 24FJxxxGx202 - TMR1 issues (balazzska)

Hello folks! I have a perfectly fine-functioning code running on 3 MCUs: 24FJ64GA702, 24FJ128GA702, 24FJ256GA702. For various reasons (mostly due to the global chip-shortage), I'm trying to broaden the...

View Article

Pointer Arithmetic with __eds__ pointer Type (mxcba)

I'm migrating from a PIC24EP256GU810 to PIC24EP512GU810. On the 256 MCU we used DMA for two peripherals. Migrating one of the peripherals was fairly straightforward. The other peripheral has proven...

View Article

[PIC24FJ256GU410] Issue when writing to flash (RTSP) (machadoramon)

I am writing a driver to read and write to the program memory of the PIC24FJ256GU410. Datasheet states that double-word (2 instructions) programming is allowed. Therefore, I am trying to write a single...

View Article

PIC24F EDS XC16 Address Pointers (paulw7)

I'm using PIC24 with XC16 compiler and trying to assign an EDS pointer with an address. I can't get the correct address to go into the pointer, see code below with the result shown in the comment next...

View Article


Problems with UART interrupts (WalterPaz)

Hi guys, I really have a serious problem, I am communicating with two PIC24F microcontrollers and I am using UART interrupts to receive data, sending data is perfect, there is no problem, but when I...

View Article

Using a 32-bit capture on PIC24FJ to measure RPM (AndersG)

In this case slow RPMs from 0 to approx 2000 rpm or 33Hz. I have used the capture for this in the past, but there are still some things that I do not understand fully, so I thought I's ask here. If I...

View Article


PIC24FJxxxGA drawing 150uA too much current (RobEmbedded)

Hi All, There are a lot of PIC24FJ1024GA610's drawing 150uA excess current here. With the same board and firmware, some are <50uA some 200uA. A mixture of Rev5 and Rev6 silicon. I washed some boards...

View Article

2x different PIC24's, can't get clock accuracy close enough to each other...

Hello all, my company has utilized the PIC24EP256GU810 in a great many designs and in these chip shortage trying times, we've had to redesign board to use other available processors. One of our systems...

View Article


read memory of uC with ICD4 without performing a reset (Berait00)

Hi,I have an uggly sporadic bug in my software that leads to a total non-responsiveness of my controller. After runnning for several days it hangs up and its not responding to any buttons, no HMI is...

View Article

I2C read issue with PIC24 (MaccorFW)

We are having an intermittent issue with the PIC24HJ128GP502's I2C peripheral we use in one of our products and could use some help in resolving it. The I2C operates in master mode. Normally, that...

View Article

PIC24FJ128GA202 - Sleep function and a big current - 0,7mA. (ice_man)

Hi, I make device with PIC24FJ128GA202. I read many documents about low power and sleep mode, but when device go to sleep current consumption is ~700uA. I've checked many times my device, I make test...

View Article
Browsing all 3494 articles
Browse latest View live