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

Pic24EP for Android communication with USB (mc@ey)

HI all, I am new in Pic24 World. To learn more about it i order the development board DM240415 On this board is a PIC24F chip implemented. MY target is to communicate via USB with my android tablet. in...

View Article


retrieving data stored in code space/flash (Cypress)

I'm programming PIC24EP-family microcontrollers mostly in c with some inline assembly, and I would like to save arrays of 8-bit unsigned integer constants in flash and to be able to read that data...

View Article


PIC24, what's wrong with my program? (Cypress)

This program is based on code kelvinu posted in another thread. I cannot get the interrupt/pin toggle to work, and I don't have enough assembly experience to identify the problem. The code below is...

View Article

PIC24EP XC16 inline assembly instructions taking double expected clock...

I'm using the following inline assembly code in a C ISR with a PIC24EP. I'm using the free version of XC16 v 1.21 with the optimization level set to 1. I'm repeating this code block 14 times without...

View Article

Compiling Graphics Object Layer Demo (dmccric)

Having obtained the Explorer 16 demo board & the PICTAIL 2 TFT LCD Display I want to use the Microchip stack. I have been trying to compile the following demos: Graphics Object Layer Demo Graphics...

View Article


Handling of oscillator failures (jnnewton)

I have a hardwired device, which contains a pic24FJ128GB108. I have seen some instances where if the thing switches to battery backup (small coin cell), and is then not powered, and the battery runs...

View Article

PIC24 Bootloader Linker Script Editing (eejones)

I am working on creating a boot loader for a PIC24FJ128GA310. After reviewing a boot loader that was done for the a PIC24FJ128GA106, there are few things that aren't clear to me. I understand that I...

View Article

how to concatenate a string with a char? (Rulin Song)

hi, guysI want to do an "error log" part for helping me to detect where the value is out of range.however, I am stuck with the basic variable type issue at moment probably. :-( easy version of my...

View Article


SPI doubts PIC24 (misatomk)

greetings I'm new to the forum. I write because I am a student of electronic engineering and I'm doing a design of a card for data acquisition of gas mine, is my internship project. I am programmer...

View Article


PIC24F SPI Can not Read Data On Master mode (Digital_Angel)

Hi guys, sorry to resurrect this one again, but I'm struggling with similar.Using SPI1 on a PIC24FJ128GA010 (no peripheral pin mapping) on the explorer 16 dev board.I can see the data being returned...

View Article

Modified Bootloader and Application Script for PIC24 is not working (~Maddy~)

Hello, I was trying to implement UART bootloader for PIC24FJ256GB110 and later going to use RS485 for that.I am able to use AN1157 example on my development board but that part has no protection for...

View Article

PIC24E SPI SRMPT bit valid on the TX side only? (phenderson)

I would like to use the SRMPT bit of the SPIxSTAT register while receiving data as a slave. I'm having difficulties getting it to work as I understand it might.I'm using a PIC24EP512GP204 part as an...

View Article

Switching from PIC24FJ128GA306 to ..64GA306 (Braru)

Hi all, my current program is written for the PIC24FJ128GA306. Will switching to the "smaller" PIC24FJ64GA306 be a problem?For me it looks like the only difference is the reduction of the flash memory...

View Article


PIC24FJ128GB204 Problems with GPIOs and PPS (Javi_FJYS)

Greetings to all: I'm working on a design with the PIC24FJ128GB204 microcontroller and I have some problems with some GPIOs. First problem is with the RA4 input. The microcontroller use the internal...

View Article

PIC24EP512GP806 SPIx Buffer Interrupt Mode bits problem (SPIxSTAT -> SISEL)...

Hello!I'm using the PIC24EP512GP806 for a new project on my Job. In my application I use a SPI DAC that also needs a Chip Select (CS) line to start and end the data transmission. The Chip select must...

View Article


Eeprom problems with compiler xc16 (mstrzelczyk)

Hello,I have a problem writing to EEPROM during runtime using the recommended methods. The compiler and ICD3 will write to EEPROM at compile/load time from an initialized variable:int...

View Article

USB Host Bootloader (jcc273)

I am implementing the USB host bootloader so that i can reprogram new software onto the PIC with a USB Thumb Drive. I have no problem getting this to work until the hex file I put onto the thumb drive...

View Article


PIC24 loading programs from SD card to flash (Cypress)

Does anyone know if it would be possible to load programs (hex files) from an SD card into the flash of a 16-bit PIC microcontroller? I know that this can be done with some 8-bit microcontrollers from...

View Article

Memory and pages calculation PIC24EP (willyp)

I have some confusing thoughts about the memory area.The device is a 128kb flash device. I understand from the datasheet that a single page consists of 1024 instructions or hexadecimal 0x400. Then,...

View Article

Erasing a page of flash, ending up that entire device is erased.... (willyp)

This is really weird. I try to erase a page using the code below. I end up that the entire device (at least from 0 to 0x400) got erased. In the simulator all works fine. Anyone any idea what is wrong?...

View Article
Browsing all 3494 articles
Browse latest View live