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

PIC24 UART Printing (Zombievirus)

Hi, I am an absolute beginner with an experience of not even a week. I have a PIC24FJ64GB002 Kit and a PICKit3. In the Program i am trying to initialise UART so that it prints a message in an endless...

View Article


RTSP of PIC24FJ256DA210 (engineering@skutchelectronics.com)

In our app, we are adding "in the field" programming of our device via 2 update files that can be loaded onto an SD card. We thought the migration from the ds33FJ256GP710 would be fairly simple; we...

View Article


Invalid PIC24 SPI status (grman)

I'm using PIC24FV32KA302 (rev.4) to talk to SPI EEPROM. SPI1 is used and I have tried programming it according to a number of different samples I found available. Initialization looks like this (or my...

View Article

I2C Bit Collision, PIC24FJ128GA010, HangUp (kramer04)

Dear @all, i have some trouble with a bus collision.my settings are: PIC24FJ128GA010, I2C SLAVE MAX127, MPLAB X 2.2 and the last c30 comp.Pullups 2.2 kOhm. What works?: To config the ADC : START,...

View Article

PIC24 / Interfacing c variables with assembly using ".extern" (Cypress)

I'm trying to use an external variable in assembly. My goal is to declare and initialize an unsigned 16-bit integer variable in the c file and be able to output the value of the variable to portb using...

View Article


PIC24FJ256GA110 Bootloader issues (rickynevada)

I feel like punching the computer screen and shattering it into a million pieces. For the past few days I've been trying to write a bootloader for a PIC24FJ256GA110. A big problem that took me a while...

View Article

ADC behavior when using external Vref+ provided by LM385-1.2 (current leakage...

PIC is a PIC24FV32KA301. I'm a bit confused about the Vref+ pin. To provide Vref+, I'm using a LM385-1.2. I have it configured as in Figure 11 in the datasheet (sorry, I tried to link it but apparently...

View Article

MULTIPLE SPI SLAVE PROBLEM (Anupam)

I am connecting two slave SPI (both are pic24F) from one MASTER(PIC24F). I am able to communicate with two SLAVE individually. but when communicating with both using different SS and common SDI,SDO and...

View Article


allocating EDS array causing address error before main (Benjamin Hon)

Hi i am using the PIC24fj128gc006, i am running out of data memory, so i and trying to allocate some of my buffers using the EDS space. this is my declaration: #define BUF_BASE 0x010000L__eds__ float...

View Article


PIC24FJ128GA010 : how to read the silicon revision by software ? (RISC)

Hi,I need to be able to identify the silicon revision by SW.I know this information is located in the DEVREV register.I have several questions : 1/ Is it possible at all to read this register by...

View Article

PIC24FV16KM202 configuration bits effect on ICD with PICkit 3 (letigrebleu)

Dear All,I had a brand new (never programmed) PIC24FV16KM202 (28 pins) on a breadboard. I tried it with the sample code from the "Microstick for 5V PIC24 K Series", compiled with the XC16 compiler 1.22...

View Article

Equivalent to if loop in assembler (cts_casemod)

Hi all,I am trying to port this code to assembler for a PIC24Fif Frequency < 5Output = 10;else if frequency > 255Output = 255;elseOutput == Frequency; The frequency variable is 10 bit wide and...

View Article

PMP tutorial (friesen)

After some sweat and (almost) tears figuring out the pmp, I though I would leave some of what I learned, and leave this open for comments and corrections. 1. The PMP is a module similar to the UART in...

View Article


UART2 doesnt print any thing. (Raady)

pic24FJ256GA110 MPLAB 8.88Hi,I am trying to print using the second UART it prints nothing on hyperteminal, but UART1 works fine. Its a development board so I guess it wouldnt be any hardware connection...

View Article

Input capture 32 bits with input synchronisation does not works correctly...

Hi, I have a PIC24EP512GU810 and I would like to create an input capture 32 bits from two 16 bits input capture (IC1 & IC2) and reset/synchronise it from a Timer. Actually I have set these two...

View Article


Receiving over UART Asynchronous in Sleep Mode (Eoin O Connell)

Hi all, I have an application where I am using a PIC24F16KL402 and there is an IC on the PCB that sends out UART messages at a rate of 4Hz. The message is around 10 bytes in length.Currently I am using...

View Article

PIC24F (dm240011) USB OTG - PWM power support (Lukáš Liebzeit)

Hi to everyone, I'm trying to write myself a simple program which will read data from my flash drive - however, when I'm doing only setup "27.5.1 Enable Host Mode and Discover a Connected Device"...

View Article


PIC24FJ128GA308 : Always reading 0 on port G bit6/7/8/9 (jmk83)

Hello,I desperately try to read those bits on the µC; TRISG configured as intputs, external 3K3 pullup on the pins (verified with a scope), but no way, I always read 0... :( I changed the µC with the...

View Article

Application Version Control PC24FJ256GB106 (wilkie)

I have a bootloader that loads a file name of my choice, in this case image.hex. This works fine. I want to implement some kind of version control, so that the bootloader only updates the application...

View Article

OPEN DRAIN OPERATION 24FJ256GB106 (Spottymaldoon)

I want to use open drain configuration on my RE5 pin so as to switch a transistor with a voltage higher than Vdd (I lose 0.7V on my Vbe(sat) and my load has to be on the emitter side so the available...

View Article
Browsing all 3494 articles
Browse latest View live


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