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

Unable to initialize 16x2 LCD (4-bit interface) (pankaj7912)

Hello, I am going through same problem as above. I am trying to interface lcd in 4 bit mode with pic16f1508.i have put 10k pull up on mclr. when i program controller using pickit 3 it works fine. after...

View Article


TRAPS_halt_on_error! (IvanP)

Hello, i have a big problem, my project generate "TRAPS_halt_on_error" on I2C. The TRAPS_error_code is 2. This is my state machine to write in EEPROM 24LC64.prototypes:void to_eeprom(struct...

View Article


[PIC24FJ*GB606] ROTRIM does not have any effect on Reference Clock Output...

Hi, doing an I2S project, but before getting the SPI configured, I am trying to get a 12.288MHz clock generated on the REFO pin. I can divide the source clock perfectly, i.e. SRC = 32MHz; RODIV = 1;...

View Article

Variable at absolute location in program memory (maxruben)

Hi, PIC24FJ32GA002XC16 v 1.31MPLAB X v3.55 I am trying to put an initialized structure in flash memory at an absolute location above the end of the program in order to be able to modify it with RTSP...

View Article

Advice on Power Output sharing between PWM Outputs (davez)

Hello,I have a project that needs to drive 2 1100 watt heating elements. I want to be able to select which element has priority, so the element with priority will heat until its setpoint is reached...

View Article


UART receive buffer emptying before I can read it? (toms)

Hi everyone. Im working with a UART on a PIC24EP128MC202. Ive written some code which I am using to perform a test of the UART (transmit and receive functionality) using the loopback functionality. Im...

View Article

All flash address are zero (MicroStef)

Dear all We got a number of PCB's back from customers that stopped working and when we read out the content from the CPU(PIC24FJ256GB108) the whole flash was "zeroed" , that is it was 0x000000 on ALL...

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


pic24f Adc sampling (swatvv)

Hi,i using pic24fj256gb106 and xc16 compiler and mplab x ide v3.55.i just trying to sample the pwm square pulse of 40Hz to 60Hz and different duty cycle(pulse voltage diff is 600mV to 1.2V). i have...

View Article


PIC24FJ64, 5.5V tolerant pins question (AndersG)

I think that the, otherwise excellent, manual is a bit unclear here. The graph on page 4 says that gray shaded pins are 5.5V tolerant, for example pins 35-38. Is this true regardless of port mapping?...

View Article

Few queries about the AN1660 for implementation of sine PWM for BLDC.....

Dear All, I am working on my thesis so I request for your assistance. I have few queries relating to AN1660 source code. I am currently working with dsPIC33F32MC202 to implement control algorithm for...

View Article

Need help on Timer1 for PIC24F Curiosity Development Board (Kboreo)

Hello all, I have been trying to figure out a issue i'm having with TMR1 on my pic development board for a while now. I have a feeling it is something simple that I am overlooking. I currently have a...

View Article

Does PIC24FJ1024GB610 and 606 definitely work with the PICkit3? (T Yorky)

Just wondering if somebody can confirm that they are successfully programming the PIC24FJ1024GB606 and 610 with a PICkit3? Have had issues with two 64pin GB606 chips (on prototyping adaptors) and...

View Article


PIC24 flash write works in simulation mode, but not with ICD3...

Hello, Would someone please help me figure out why the flash write doesn't appear to work while debugging with the ICD3 (if it works at all)? I can read and write from Program Memory while debugging in...

View Article

I2C Master to Master Communication possible? (Volker)

Hi, i have a project where a PIC24FJ256GB210 is an I2C Master, a PIC16F18326 an I2C Slave and an I2C EEPROM. So, in special circumstances it must be possible that the PIC16 gives the PIC24 an...

View Article


Maxim 1 Wire, Not Reading Temperature off DS18B20 (ChollyMo)

Greetings. Code to follow . I'm trying to read two bytes off the Ds18B20 Maxim Temperature Sensor that uses Maxim's proprietary 1 wire protocol. I am not using parasitic power and only have 1 device...

View Article

PIC24 I2C bootloader (hello_1122)

Hi,We are working on PIC24EP256GP204 controller. We are looking for an I2C bootloader to do the firmware upgrade. Let me explain how our application works. Application is getting the hex file from a...

View Article


Interrupt Change Notification Not Firing (SinCitiesSin)

Hello, I have a pic24fj128gb202 set up with USB comms. I am trying to test out an ICN for a potential bit-banging dali implementation. For USB I have my pins on PORTB set as such:TRISBbits.TRISB10 =...

View Article

Table Read Offset (C Implementation) (olochua)

Hello, I am trying to implement a function so that I can read values that are stored in a flash memory location. For this project I am using a PIC24FJ1024GA610 (dual partition setting), and the address...

View Article

Reading correct character from USART (triden)

I'm working on a small program to parse command from the USART on my pic24f. I created some functions to write text and write characters that seem to be working great. My problem is ready data on the...

View Article
Browsing all 3494 articles
Browse latest View live


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