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

Program works fine in debug mode, but not in program mode - Where so I start?...

With a lot of help I have finally finised my project. The project worked fine in the debug build configuration, but when I program into a release configuration, nothing happens. To make it more strange...

View Article


cdc_acm : failed to set dtr/rts - can not communicate with usb cdc device...

Hi All, I was trying to develop a USB CDC device on pic24f128jb206 using Microchip USB libraries.I was successfully able to enumerate the /dev/ttyACM device on my PC But when I try to connect to the...

View Article


ADC Help Code Configurator (niteshverma.ind)

I am trying to perform ADC on my explorer 16 board with PIC24FJ128GA310 plug in module. I am using MPLAB X 3.30 & code configurator. My aim is to see the adc value on the screen via UART. By using...

View Article

PIC24FJ256GB406 I2C1RCV always 0xFF (olver62)

Hello Everyone, I'm connecting a pic24FJ256GB406 to a MPU-9250 throught I2C1 with a clock around 50Khz.I can see with my scope that the le lines seems to be good ( starts, ack, R/W bits etc). The Slave...

View Article

Is it possible to change the watchdog pre-scalar value in running code. (Neddie)

Is it possible to change the watchdog pre-scalar/post scalar value in running code , not only in the config section.I would like to be able to change the "sleep" time on the fly.I'm using a...

View Article


ICD 3 Issues (ICD3Err0035) (niteshverma.ind)

Dear all, I have two ICD3 which i recently purchased. I am trying to connect with the MPLAB IDE V8.92. With the help of driver switcher, i configure it for mplab 8 & then firmware also updated....

View Article

FRCDIV clock does not go to Sleep (bokske)

I'm using a PIC24F32KA302 device on a Microstick-II development board, as prototype for a mobile product.Power saving is crucial, so my design uses Sleep mode most of the time. I find it convenient to...

View Article

PIC24FJ128GA010: Wot no FVR? (Gavin Andrews)

I am thinking about using the PIC24FJ128GA010 but it seems to have no internal voltage reference. The intention was to combine this device with a MCP16251 and operate in a mode similar to the "MCP1640...

View Article


PIC24F16KA102 -- UART TRMT Bit (crm7811)

Hi all: I wrote a function for transmitting a byte of data from the UART port, but I am running to a problem with the U2STAbits.TRMT bit always being 0 even just after initialization of port. I am not...

View Article


PIC24FJ256GB410 Deep Sleep Wake Up Problem (geotox)

Hey guys, it's me again with another question :)I'm trying to put PIC24FJ256GB410 into DeepSleep mode and than wake it up on either INT0 or RTCC Alarm interrupt.Here's my INT0 configuration:void...

View Article

Deep sleep wakeup using RTCC (Maurya)

hi, I m trying to use RTCC to wake my controller (PIC24fj128ga310)up from deep sleep mode, but alarm is unable to wake controller up. "void main(void) { UART2Init(); RTCC_Init();...

View Article

Stub codes for UART transmission testing (antony.abee)

Can i get the Stub codes for testing the uart transmission for PIC24F32KA304 ?..

View Article

Need HID Bootloader GLD linker file for PIC24FJ256GB406 family (rodims)

Im using the USB HID Bootloader (Application Libraries, MLA 2015-08-10) ... \apps\usb\device\bootloaders\firmware\pic24_dspicsuccessfully with the older PIC24FJ256GB106 family. Trying to update to the...

View Article


How to use SPI1_Exchange to transfer the data (8bit regi addr, 16bit reg data...

I am working on PIC24FJ256GB210, trying to interface a slave device on SPI interface.My slave has 8bit register addr, 16bit rgeister data. I am using MPLAB Code Configurator tool, to generate the SPI...

View Article

Testing of UART in Explorer 16 development board (antony.abee)

How to test the UART in Explorer 16 board ? We are using PIC24F32KA304 as our PIM. We tried to write a know value in source code , but the thing is it is not appearing in the...

View Article


Dual Partition Flash memory (tnikos)

Hi,I am trying to find any example of XC16 that uses the dual partition memory of PIC24 but I cannot find anything.Does anyone know where I can find any example? Thank you..

View Article

Debug I2C configurations (cdai7)

Hi, I am trying to get my I2C code to communicate with a sensor to work. I am using PIC24FJ128GA202 as master and communicating with MPU9150. I believe that I am not configuring I2C correctly, as I am...

View Article


USB connector+PIC24EP512GU810 (khairi)

hello folks :) im using PIC24EP512 in my project and i want to verify with you if the USB circuit is ok ! for a Host mode USB. thanks for help me..

View Article

UART transmit issue - PIC24FV32KA304 - Explorer 16 development board...

Hi All,I am trying to test UART peripheral of PIC24FV32KA304 in Explorer 16 development board.While transmitting a character continuously from MCU to PC (teraterm) using RS232, Nothing is displayed on...

View Article

PIC24E Interrupt (Ferd)

Hello, I am back to working with a PIC after a few years of working on other stuff. I am using a 24EP512GP204, XC16 and MPLAB-X. In an effort to gain an understanding, I composed the following Timer1...

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>