Hi I have an assignment on PIC24FJ128GA010 and I have many (more than 10) years to be involved with PIC. Imagine MPLAB was different then. Now I have to Reset the PIC with C I suppose with MCLR. Do I have to connect a port to this pin and I have to send a zero there? Is there any instruction for thi..
Hi All, I am experiencing very slow compilation time around 2+ minutes, in my very new Laptop.Below are the details of the IDE and compiler used for PIC24F series microcontroller. I have valid PRO license file. please refer attachments for license status and project configuration.Could anyone sugges..
I am trying to use reprogrammable functionality of two pins (RF1 & RF0) of PIC24EP512GU814. However, as the data sheet suggests, the functionalities left of the desired functionality of each pin has to be disabled for use. I am trying to disable VCMPST1 & VCMPST2 functionalities of the micro..
I am trying to stop the receiver only, while the transmitter part of the UART1 keep working.I thought setting U1STA.URXN bit to 0 would do the job, but I still receive data.Disabling the whole UART is not an option since I want to be able to send data trought Tx while the receiver is dormant...
Hello there. I am trying to implement an acquisition system, with three SPI communications from 3 multi channel ADCs and I am trying to acquire data and store into my PC using interrupt based UART. However, on implementing the code attached in PIC24EP512GU814, I am finding trouble while working in D..
Dear forum, I am developing a brushed motor control using a PIC24FJ256GA705 mcu and, according to the PIC24F reference manual "Capture/Compare/PWM/Timer (MCCP and SCCP)", the mcu has a pwm mode to control this kind of motors. On page 48 it shows a picture about how mosfets are controlled, where: OCx..
Gouthami c v
Hi everyone i need to read data from eeprom, i have used pic24ep256gp206 controller, i used i2c for eeprom communication.I am not able to read data from eeprom and while writing i am not getting ack bit, ack bit is high, below i have attached code.Could any one suggest me./* <br /> * File: newmain.c..
Hello there. I am using a PIC24EP512GU814 micro-controller and I am trying to implement an SPI communication with an ADC. I am using dedicated SPI lines (SDI2,SDO2 and SCK2) to implement this functionality. However, my code is not working, as on observing the SPI2BUF in debug mode, I am not seeing t..
I am still very much trying to learn how to use C, MPLAB and the PIC24FJ128GB204.I have a project where I try to use utoa, but get warnings/errors during build: main.c: In function 'main':<br />main.c:95:13: warning: implicit declaration of function 'utoa'<br />"C:\Program Files (x86)\Microchip\xc16..
This is my second project using a PIC and second time using C, so I might be missing something obvious.
My problem is with the ADC module of my PIC24FJ128GB204.
I am using AN11 (PORTC1) as input, which is the battery voltage through a resistor divider. Input voltage to the pin is 2.12V during my t..