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

PIC24FJ.. Memory organization (RamNadler)

I am confused with how the program memory addressing system works for 16bit microcontrollers.For example, for PIC24FJ256GA705, the data sheet says that is has 256Mbyte of program memory.for 16 bit...

View Article


PIC24 resets after waking up from sleep mode by INT0 (ThatsMe)

Hi,I'm trying to implement a very simple external interrupt INT0 code on PIC24FJ256GA702. When the MCU is not at sleep mode, the interrupt INT0 works fine. i.e. when the MCU gets interrupted by INT0,...

View Article


PIC24 resets after waking up from sleep mode by INT0 (ThatsMe)

Hi, I'm trying to implement a very simple external interrupt INT0 code on PIC24FJ256GA702. When the MCU is not at sleep mode, the interrupt INT0 works fine. i.e. when the MCU gets interrupted by INT0,...

View Article

objcopy for pic30/xc16 - where to find, or any analogs (Carry)

Hello! I am working with a non-standalone project on PIC24 which requires a bootloader and I want to debug it with a bootloader. I am able to produce an .hex file that contains the application code...

View Article

No I/O Port Input In Downloaded Code for PIC24HJ256GP610A (jlbahr)

We have 4 switches/buttons tied to GPIO/IO ports on the PIC24HJ256GP610A at the center of our design. Our use of Switch 1 and Switch 2 is very simple – we just poll them. They are initialized as:...

View Article


Changing reprogramable pins on the fly in a 24FJ (Spottymaldoon)

I want to use a DS1302 RTCC chip with my 24FJ256GB210 and I have painted myself into a corner having made a rather complex PC board with a connector in place which can't easily be reassigned to I2C...

View Article

DMA switches ping-pong buffer after quarter is filled - ADC with DMA on PIC24...

Hi everyone, I have a problem with ADC and DMA on the PIC24EP256GU810.I have setup the ADC to read AN0 till AN7.The DMA is used in ping-pong mode with two buffers. It seems the DMA switches between...

View Article

DMA switches ping-pong buffer after quarter is filled - ADC with DMA on PIC24...

Hello everyone, When trying to use the ADC in combination with the DMA I get some unexpected behavior. The DMA buffers are only filled for a quarter before the DMA switches between the first and second...

View Article


I2C Clock held low after EEAckPolling() (karlis77)

Hi. I am new to PICs, I hope you guys might give me and a helpful advice.I am using PIC24FV32KA301 I2C peripheral to edit registers of POE PSE TPS2384.I somewhere(?) downloaded this i2c_func.c library...

View Article


EZBL EEPROM emulation (apaxhud)

Hi Everyone.In my project I'm using the EZBL (Easy bootloader v2.04) for application update. In documentation files is stated that ezbl library has also the EEPROM emulation mechanism implemented. I've...

View Article

Why are there suddenly so many new threads in short time span? (BobAGI)

I am subscribing to this sub-forum so I will get an alert message every time a new PIC24 thread is created.Yesterday and today I have noted a large number of new threads being created within a very...

View Article

I2C Interface hardware (kdrewlo)

What would happen to the standard MicroChip I2C interface if there were or is data (SDA) and clock (SCL) activity before the start (S) sequence? Would this information be discarded? Will this useless...

View Article

USB Module interferring with Input Capture Measurements (Zwirbeljupp)

Hello all,I need your help with a strange problem:I have a quite simple setup with a PIC24FJ256GB206 which measures the rpm of a fan using the IC module.In addition, I have the (unmodified) Microchip...

View Article


Peripheral Pin Select is input by default?? (HasibM)

Hi, I have generated a code to use I2C1 on a pic24fj1024gb610, but SCL1 and SDA1 happen to be in the same pins as RPI36 and RPI35. At first i thought my i2c initialisation was incorrect because I don't...

View Article

Persistent Storage in Flash (jlbahr)

On a PIC24HJ256GP610A, I want to store a reasonable amount of data -- say a couple of Kbytes -- in flash. It will serve as a log, so I can erase pages with _erase_flash() as I go, collect data and...

View Article


PIC24F interfacing with MPU6050 using I2C problem (harri.renney)

Hey there, I'm having a problem with my current setup where the data I am receiving from the MPU6050 chip is always the same. I'm fairly new to this level of programming so thought I'd ask here if I am...

View Article

PIC24 resetting after few seconds regularly...! (manojrj)

Hi everyone,I am currently using PIC24FJ64GA002 with PICKIT3 programmer. I am using UART1, UART2 and Timer1 with interrupts enabled of each. The code for UART and timer is MCC generated. The problem I...

View Article


PIC24H as a frequency counter to ~900KHz (gwa_SanDiego)

I have achieved an intermediate goal to get a PIC24H to be a frequency counter using Input Capture. I've eliminated Change Notification as an option, because I measure a 6uSec latency and that caps the...

View Article

ISR reaching final program address. (perencia)

Hi, I have found the following situation on a pic24fj256:Suppose the IVT entry for some interrupt points to an address from which there are only NOPs up to the configuration bits. What will happen when...

View Article

Is relocation of AIVT for application is possible in PIC24FJ128GA204 ? (Chakra)

Hello All, Im planning to write a Bootloader that reads data from external EEPROM and programs the flash. I'm using MPLAB v41.5 and xc16 (v1.34) to write code on PIC24FJ128GA204. Bootloader will read...

View Article
Browsing all 3494 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>