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

PIC24F16KA302 temperature internal sensor understanding (Tech)

I try to measure a chip PIC24F16KA302 temperature by it's internal sensor (Si diode), CTMU(0.55mA mode) and A/D Converter(10-bit mode). A convertion result is 0.49 V at near 25 Celsius degrees and this...

View Article


Pic24f128gc010 - Problem with USBHostTasks() (user512300)

Hi, I'm using MPLAB X IDE 3.15, XC16 compiler, and a dm240015 board. I'm using msd_data_logger from v2015_08_10. Whenever I run the program and plug a flash drive into the USB Host, the screen shuts...

View Article


PIC24EP Idle mode and I/O port configuration to reduce current consumption...

Hi,Trying to reduce the current consumption of the controller. Using Idle mode for sleep and wake up on timer interrupt. Before going to sleep , switching the clock to LPRC, Switching back to primary...

View Article

Using a watch crystal with the PIC24FJ (T Yorky)

I am looking for some advice on using a watch crystal with the PIC24FJ range. Specifically the 24FJ64GB004 on a breadboard.I have the Secondary oscillator working and I am using a RALTRON...

View Article

Auto Baud in UART setup (Denge)

Hi, I' trying to setup the UART on a PIC24F using the auto-baud feature.What I'm missing is a way to detect if the received character is different from "U" as the receiver FIFO is not updated.What if...

View Article


CTMU less sensitive than CSM? (Jack0Parks)

Hi there, I have an 24f processor with 10bit ADC. I find it very difficult to correctly measure a press using the CTMU in a system with an air gap of 3mm and 7mm of glass. Using a 10bit ADC I only...

View Article

ICD ERROR!!!!! (niteshverma.ind)

Hello, I am getting this error & unable to solve the issue. Kindly Support. ICD3Err0040: The target device is not ready for debugging. Please check your configuration bit settings and program the...

View Article

Generate Sine wave (dambrose)

Hi, I'm working with a PIC24FJ64. Right now we are using a 4 stage network capacitor hardware filter that will convert a square wave into a sine wave. We want to eliminate that hardware if its possible...

View Article


How fast is DS01045 library (giuseppe83)

Hi everybody, I should study a project that acquire data from an ADC and store these into external flash memory. So I have see the DS01045 library for manage usb flash memory or SD flash memory by SPI....

View Article


Modify DSWDTPS in main (mavropoulosg)

Hi all, I am looking for a way to modify the DSWDTPS while im in main. I have written the configuration bits on the start of the program to: _CONFIG4(DSWDTPS_DSWDTPS5 & DSWDTOSC_LPRC &...

View Article

Stack Usage vs Stack Available (jjg)

When I build with my PIC24FJ with the xc16 compiler, I get as output Total data memory used (bytes): 0xa9c (2716) 33% Dynamic Memory Usage heap 0 0 (0) stack 0x129c 0x1564 (5476) Question 0: The 5476...

View Article

IEEE 754(32bit hex) to Decimal Conversion (niteshverma.ind)

Hello all, I need to know the method for converting IEEE 754(32bit hex) to a decimal float for pic24. For example If i am having the below hex data to be converted as float char arr[] = "0x4203fc36"...

View Article

PIC24FJ, SPI with DMA example please (Buriedcode)

Hi, I've been using the PIC24FJ128GB202 with the USB CDC example - its working well. Using that example project as a platform, I've added my own code to test out various peripherals, namely the REF...

View Article


PIC24FJ and XBEE S2C communications (clear_db)

Hello, While I have been using PIC microcontrollers for some time in simple applications, I am extremely new to USART and wireless communications. I am working on getting an XBEE S2C module (in API...

View Article

USB.... Where to Start ? (Abraxas)

I'm working on a project that I hope will shuttle data files between a laptop and a PIC24 based instrument. I reckon that USB is the way to go. I just found out today that PIC24H does not support USB ,...

View Article


Pic24 RTCC not setting nor ticking. (Spaghetto)

Hello guys,I've been using successfully RTCC peripheral for years, with the same reused code (partially copied from the Microchip peripheral lib help), on a pic24FJ64GB002 (actually with MPLABX v3.05...

View Article

programming bootloader into pic24fj (rupesh9371)

hello all,i am new to the concept of bootloaders,i am using pic 24fj64ga004 with MPLAB 8.92 AND C30 3.24 VERSION COMPILER .can any one help me in ,1:how to program bootloader into the pic controller 2:...

View Article


P24FJ256GB106 - UART2 tx/rx mapped to RP17/RP10 gibberish on the serial port...

some background.1) board has a 16Mhz oscillator (we plan on using USB) . the PLL settings provide for a 96Mhz system clock divided down /3 for cpu and /2 for USB. 2) seeking 38,400 baud rate. 3) UART2...

View Article

Ouput on Pin without Data latch (Schranz)

Hello everyone, i have some trouble with one specific pin.I am using PIC24FJ256GB412-I/BG with IDE MPLAP X v3.26 and I am trying to use Pin B11 (=RC14 / PWRLCLK / RPI37 / SOSCO ) as output pin to drive...

View Article

PIC24FJ makefile support (DPerez)

Hello there,I am trying to do something I do not know if there is anyone in this forum that has not been done yet, and there is it:My main purpose is porting the Contiki OS to a PIC24FJ256GB108...

View Article
Browsing all 3494 articles
Browse latest View live


Latest Images

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