PIC24F32KA302 - CTMU generates interrupt but no current (LOTUSBRIDGE)
Hi all.Has anyone got the CTMU functioning successfully on the PIC24F32KA302 (28 pin package)? We have used the Curiousity (PIC24FJ128GA204) board to successfully drive the CTMU for measurement of...
View ArticlePIC24 Data EEPROM Emulation (noob)
hi, I am using PIC24fj256ga702 controller in my project. I wanted to store some bytes data in a non volatile memory in case if there is a power loss. I searched in the datasheet but i don't think that...
View ArticlePIC24FV32KA301 - RTC pin (K3PTO)
I cannot find any documentation on what pin is used for the 50/60 Hz input to the RTC. Please help...
View ArticlePIC24 project grew beyond address FFFF (_fragment_)
I have a project involving a product we've been selling for over 10 years with a PIC24FJ256GA106 powering it. I'm in the process of adding some new functionality and some bizarre bugs have started...
View ArticlePIC24 and code optimization: unexpected behaviours (Revo)
Good morning all. I am using a PIC24F32KA304 for my application, and i recently turned on the optimization option for my XC16 compiler. My code was working fine (no problems since months) until i...
View ArticleA minimalist RTOS for the PIC24 (Nicholas Lindan)
CoRTOS - The world's simplest RTOS (?) is available under GPL V3 (Update available, below) It is fully documented, with a 30 page pdf manual and fully commented source code. The intended audience...
View ArticlePorting DMA code from dsPIC33E to PIC24F (benpicco)
Hi,I was using DMA to read for the UART on dsPIC33EP512GM based on the example code provided by Microchip and it is working quite well. Now I want to port the code to PIC24FJ1024GA but it looks like...
View ArticleUART DMA on PIC24FJ1024GA (benpicco)
Hi,I want to receive UART data in DMA mode. I already got this working on the dsPIC33EP512GM based on the Microchip example code. To set up the DMA for UART1 I do void __uart1_init_dma(void) { //...
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 ArticleW5500 Lib on dsPIC33, CORCONbits (newmelon)
Hey all, So I am currently working with the W5500 Module from Wizchip on a dsPIC33E with the XC16 on MPLAB X. I am using the Wizchip Library. (github.com/Wiznet/ioLibrary_Driver) Problem :In the file...
View ArticlePIC24FJ32MC102 Occasional BOR rest while in sleep mode. (sprasoon)
I am using PIC24FJ32MC102 processor in my design. Using internal oscillator to clock all peripherals. The device run flawlessly in normal run mode but when I put the device on sleep mode, the device...
View ArticleUART PIC24 (onesizefitsall)
Hello! I 've some problems to receive a character on my PIC24FJ64GB004 RX1 PIN (PPS on RC0).The U1RXREG is empty all the time and the URXDA bit is 0 also.I post my code if someone wants to help me. I...
View ArticlePIC24F32KA304: high ADC nonlinearity error (Revo)
Good morning all. I am continuing exploring the world of PIC24, and now i am experiencing something that seems strange to me. Using the A/D converter of my PIC24, i see an apparently enormous...
View ArticleEZBL over RS-485 (bblessing)
I don't have a specific problem, but was able to get EZBL to work over RS-485 with a few quick fixes. First I copied over _UxTXInterrupt from uart1_fifo.c to my Hardware Initializer file, tossed the...
View ArticleUSB mouse (test_function)
I am trying to emulate a mouse using my PIC24FJ1024GB610. I downloaded the MLA, and included all the code given in C:\microchip\mla\v2017_03_06\apps\usb\device\hid_mouse\firmware in my MPLABX project....
View ArticleClick board support MIKROE-1941 (test_function)
Is there any MCC support for the click board MIKROE-1941? I know there is Acel3, but will that work for this as well?..
View ArticlePIC24FJ256GB606 silicon bug, maybe. (cea)
I have been trying to get fractional division to work with the reference oscillator output. The integer division works as expected but I cannot set the REFOTRIML register to a non-zero value. The data...
View ArticleSPI driver for interfacing external ADC (ak52)
Hello All, I have written some code to interface the PIC24 to an external DAC(MAX5725) via SPI.(Attached)I am having some trouble figuring out exactly how to poll the interrupts after sending data to...
View Articlepic 24fj256bg106 flash page size (dosio)
Hi,I am a bit confused about a flash block/page erasing. There are different oppinions in different posts. According to manual one block for erasing includes 512 instructions. One instruction is placed...
View ArticleSOSCO as GPIO when SOSCI as SCLKI (Volker)
Hi, can i use the SOSCO Pin as a GPIO when i use the SOSCI as a digital Clock Input (SCLKI)?I use the PIC24FJ256GB210 and set the SCLKI Pin as a digital input and SOSCSEL to 00. Thanks!Volker..
View Article