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

Simple Questions From newbie on Chip I have in a Design using PIC24FJ128GA204...

Simple questions from newbieChip I plan to use: PIC24FJ128GA204 First I am confused with Vbat .Can I connect a 1.2V battery to Vbat all the Time? So when VDD comes back to 3V3, Vbat is disabled and the...

View Article


BOREN NO_SLEEP not working? PIC24FJ1024GB606 (João)

I have the following happening: with BOREN bit OFF the current consumption is around 300nA- 400nA. As estimated in the datasheet. In any other case, the consumption is 1.7uA. So, I suppose I am missing...

View Article


PIC24 Writing to FLASH from HEX file (scotty2541)

(First off... WHERE is the PIC24 forum?? This says "General MPU" but also says ARM and Cortex... Does Microchip just think no one will look for support on PIC24 anymore??) Here's my question/issue:My...

View Article

Pragma config settings to get 32MHz on POR for PIC24FJ256GB410 (GGRUK)

HiI am currently operating OK with 8MHz from FRC.For another application, I want to set this to 32MHz still using internal FRC.What are the pragma config settings i need to change to achieve this?The...

View Article

PIC24F Interrupt (nvienhuy)

I am learning to use UART in PIC24FJ512GU410 and trying to use an interrupt on receiving data on Rx pin.I have enabled global interrupt, set priority and enabled UART1 Receiver Interrupt bit. Now I am...

View Article


fosc/2 or fosc/4. what should be used to calculate timer period? (tusharm)

I am using below formula to calculate timer period for PIC24. PRESCALE = 256 t = 1 sec = 1000 ms = 1,000,000 us Fosc = 8MHz Fosc/2 = 4MHz Tcy = 0.25 us t = N*PRE*Tcy N = t/(PRE*Tcy) =...

View Article

PIC24FJ256GB410 POR not working when Programmed using PICit4 (GGRUK)

HiI am having a peculiar problem after programming for Production using PICkit4.When I SW OFF and SW ON the power supply to the board, MCU does not come ON.It comes ON even if I touch the header of...

View Article

using loadables to build bootloader + application (dotan)

Hello,I'm a hobbyist and not a professional.I'm using PIC24F to build some product.I have working application code and working bootloader code.If I flash the bootloader and then use the UART to update...

View Article


How to read 16 bit data on SPI port with 8 bit address. (abhishek_asmaitha)

Hi, I am using PIC24FJ256GB210, I want read 16 bit data from one of my slave, which has 8 bit address. I am bit confused with MCC generated code. I have few function like SPI1_Exchange8bit,...

View Article


USB CDC on PIC24FJ64GA* (AndreaS73)

Does anyone know any way to have a USB CDC communication on a PIC24FJ64GA* micro?I'm aware the GU family has the USB peripheral but the GA one is widely available right now (at least on Mouser). For...

View Article

PIC24 Communicating with MicroSD Card Adapter Error (Clint8813)

Hello all! I am attempting to communicate with a MicroSD Card Adapter using a PIC24FJ128GA010. The adapter has 6 pins (VCC, GND, MISO, MOSI, SCK, and CS). I have tried using the FatFS library found...

View Article

PIC24FJ128GA202 - I can't turn off WATCHDOG after wake-up from sleep. (ice_man)

Hi, I have some problem with watchdog in PIC24FJ128GA202. When I want use watchdog in sleep mode, after wake-up i can't turn off watchdog. After RCONbits.SWDTEN = CLEAR watchdog still works and reset...

View Article

Multiple PIC24HJ controllers refusing to perform clock switch (bricey)

Hello folks, I've been absent from the forums for some time so forgive me if this has been asked before. I tried searching the forum and internet for help but no luck yet. I am working on projects with...

View Article


Starting with PIC24EPXXX (jackson_sweden)

Hello all, I have worked with 18F45k22 for many years and program it by assembler. Now I need higher computing level and look at PIC24EPXXX for use with some power electronic products.So my question...

View Article

Trying to run .hex file for smaller chip in a larger chip (user2x)

Hello, Code built for PIC24FJ64GA702 and loaded into PIC24FJ256GA702' When I load a .hex file that was built for the smaller PIC, the code will not run when I load this onto the larger chip.I am...

View Article


DC CHARACTERISTICS: POWER-DOWN CURRENT (IPD) (mhaines)

We (my EE teammate) have a PIC24FJ128GA006 board design and would like to estimate current draw during sleep when only the RTC peripheral enabled. The first column (DC Characteristics) in Table 27-7 in...

View Article

24FJ128GC006 and CTMU module (NICK7)

HiI am try to set up the CTMU module for capacitance measurements. I have manage to output current to AN1 channel and measure the voltage drop across a known value resistor for calibration. Then I want...

View Article


PIC24FJ128GB106 PGEC/PGED pins to FPGA (Aleca10)

Hello there, I have an FPGA development board (NEXYS4 DDR for reference), and by looking at its schematic, the board uses the PIC24FJ128GB106 to program the FPGA, using the PGEC and PGED lines. Now,...

View Article

PIC24 Open Drain High Speed (lucciodelavegas)

Hi, I need to interface USB bridge (FTDI 234) to PIC24.FT234 will be supplied with his own 3.3V.PIC24 supply can vary from 3.7V to 2.9V depending on the battery voltage. It's work fine with a...

View Article

replace outof stuck PIC (Opher)

hello, I have an old project that use PIC24FJ64GA705, this chip will be available only next year. my question how do I choose compatible PIC that will have all the functionality I need (mainly UART,...

View Article
Browsing all 3494 articles
Browse latest View live


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