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

Problem PIC24FJ128GB202 i2c.h library (Andy56)

Good evening I'm using PIC24FJ128GB202 and I need to program i2c interface. So I have included i2c.h library file, but there are some problem. It seems not defined "i2c_v1_1" constant and the contained...

View Article


PIC128FJ204 unreliable operation. (lichau)

I am baffled. I have a new design I am trying to bring up. I have spent a couple days on it.PIC24FJ128GA204. MPLAB X 4.01. ICD3. Using MCC version 3.36. Both new downloads. XC16 version v1.35 I can,...

View Article


Merge problem HID device bootloader - (944) data conflict at address 0h...

I have made two minimal boot and app projects based on the MLA(v2017_03_06) usb/device/bootloader example for pic24fj128gb204. The hardware is custom. The .gld is unedited. I am able to program the...

View Article

PIC24 MCC i2c slave - missing ACK (Alexmouse)

I'm using an Arduino i2c master addressing a real serial EEPROM (Micrchip) and a PIC24 slave.The code is an MCC generated i2c slave, MCC creates a target data array which it uses to emulate a real...

View Article

ADC reads from other AN Pins but does not read pin AN9 (RB15) on...

I have written a simple program to read value from ADC on the PIC24FJ128GA202, and for some reason, I can't get it to read from AN9. My code works for other pins, but the value I read from AN9 will...

View Article


Help!!! How To Read MPFS2Img bin Audio From 25LC256 Eeprom ???? (vidagps1)

Attachments Included: This is From "an643.zip "Pic24fj128ga010 Speech.mcp" Tested on Explorer 16 "it uses ADPCM Audio That Plays From INTERNAL FLASH MEMORY" (Working Great!) MPLAB V8.92 C30 Compiler I...

View Article

Reading charachters from UART2 (ziounclesi)

Hi,I am writing on behalf of a colleague (Daniele C), who is waiting for signup approval in the forum.He is developing on a PIC24FJ128GC010.The aim is to read/write to a modem on UART2.He can...

View Article

EEPROM Emulator PIC24F says address not found after packing (jojo_nexo)

Hi everyone, I am trying to get the data EEPROM emulator from Microchip to work, (somehow I am not allowed to post the appropriate link, but google for "eeprom emulator pic24") . For testing purposes,...

View Article


PIC24 offcal adc calibration not working (picy2620)

Hi all, Did anyone of you tried calibrating the 12bit adc using the offcal bit inside AD1CON2 register?The 12bit adc datasheet says not much about it. See first attachment. When trying to get the adc...

View Article


Changing SPI parameters on the fly to suit different peripherals? (AndersG)

Assuming PIC 24FJ64GA004 What is the proper way to do this. I have a vague recollection of being able to do this on the fly in the past, but now changing SPI1CON1bits.MODE16 does not seem to "bite"...

View Article

PIC24FJxxxGA6xx cascaded bootloader - dual boot or not? (sabia)

Hi I am making a product that needs field upgrades. It will comprise of several PCBs, each running the same PIC24FJ1024GA606 MCU. I have purchased an encrypted PIC24 bootloader that seems to work, at...

View Article

RTCC in External Power Control mode on PIC24FJ128GA204 (Mush)

Hi All, I'm trying to configure RTCC for External Power Control with no success. All I need is to pulse every 10 seconds for few ms RTCC output while MC is in Deep Sleep. In DS39745A "RTCC with...

View Article

[SOLVED] PIC24FJ256GA705 - Cannot get Timer 1 running from LPRC (Noggin)

I'm attempting to set up the MCU to perform an operation every 250mS. I'm doing this with my "sync" module. This is a low power device and will need to sleep. I have not yet implemented sleep mode, so...

View Article


PIC24F UART TX malfunction (MoonWalker1)

Hello,I tried to implement UART on PIC24FJ128GA204 and I encountered a problem. I am receiving a signal as shown in the photo (https://i.imgur.com/IyBv1xB.jpg) when I am trying to send something....

View Article

Context saving restore in pic24fj128GA010 problem (livifw)

Hi I'm student and trying to make save and restore the context of pic24fj128GA010, when my task don't has while, it's work perfectly, but when a put while at the same, the stack overflow. main.c#define...

View Article


PIC24FJ256GA705 - _write_flash_word24() is erasing my first page of flash...

I'm working on getting a bootloader operational on this PIC. It is the first time I've used the GA705, but I've used other PIC24FJ and PIC24EPs with bootloaders in the past. This bootloader and...

View Article

PIC24F Quick Programmer (P24QP) Port to C/C++ for 24FJ64GA004 (binaryman)

PIC 24FJ64GA004P24QP AN1157 - Serial Bootloader for PIC24F Devices The Microchip PIC24F Quick Programmer (P24QP)Enecsys PVKEY904 Hello,I'm working with AN1157 - Serial Bootloader for PIC24F Devices. I...

View Article


EZBL linker issue PIC24FJ1024GB610 (JesterFreeze)

Hello everyone, For the purpose of updating my program without the need of MPlabX, I am trying to set up a bootloader using the Easy Bootloader given by Microchip.Configuration : MPlabX v3.55 / XC16...

View Article

SD card - Lucio Di Jasio's code - a lesson learned the hard way (Spottymaldoon)

For some reason the "Smart Card" forum is not reachable so I shall post here. I have seen a lot of people struggling to set up a simple read/write system for an SD card; not needing to interface with a...

View Article

PIC24F as I2C Slave problem (roosbeh)

Hello everybody,I have a PIC24F configured as slave which communicate with another micro (Cortex M4) as the master. everything works fine if I run the PIC using the internal 8MHz FRC which gives FCY =...

View Article
Browsing all 3494 articles
Browse latest View live


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