How to keep I2C line open (between start and stop condx) between MCC function...
I am trying to interface to a New Haven Display (NHD220Biz) with ST7036 controller.I have the I2C communication working (see the ACK's from the display on o-scope).Currently, I am doing three...
View ArticlePIC24F I2C Slave Problem (MisterHemi)
I have a board I made with a PIC24FJ128GA204. It is on an I2C bus as the 7th device in series of a total of 9 devices.The master (a PIC24F Curiosity Development Board) has no problems reading the other...
View Article(SPI)PIC24FJ1024GB610 to 25AA256/25LC256:Explorer 16 / 32 Dev: unable to...
int main(void) { // initialize the device SYSTEM_Initialize(); while (1) { #define MY_BUFFER_SIZE 2 #define READ 0x0003 #define WRITE 0x0002 #define WREN 0x0006 #define ADDRESS_MSB 0x25 #define...
View ArticleData Out not working for I2S PIC24FJ265GA410 (azstevepp)
I'm attempting to output mono audio data from PIC24FJ265GA410 to Audio DAC (MAX98357A) using the I2S interface. I can successfully see the BCLK and LRCK, but I am unable to see any transmitted data...
View ArticleSPI not working in pic24ep64gp206 (JosepIzquierdo)
Hi! i'm pretty new programmer, i'm trying to comunicate to a ADC (ADS1248) to SPI. I'm not seeing any response from the pic with that code, i will apreciate some help. void initADC(){ //SPI...
View ArticleProgramming error: "Target Device ID (0x0) is an Invalid Device ID" (Revo)
Good morning all! I am implementing a testing bench using a PIC24F32KA. I have been using successfully the same chip for two months, writing almost 8000 lines of code without any problem. This morning...
View ArticlePIC24FJ128GA204 : SPI RBF interrupt doesn't fire up (Tony_921)
Hello, I hook up the SPI1 (master) -> SPI2 (slave) as follows, and send 8-bit data from SPI1. SPI1.CLK(BR5) -> SPI2.CLK(RB9) SPI1.SDO(RB7) -> SPI2.SDI(RB10) SPI1.SS(RB8) -> SPI2.SS(RB12) I...
View ArticleHow to use EZBL in a new and clear project with board-independent point of...
I'm working on a project which provides for the use of a PIC24FJ128GA106 mounted on a custom board (then I'm not using a developer kit board).Now I want try to introduce the bootloader EZBL in my...
View ArticleMicrocontroller version #defines in PIC24/dsPIC33E (ASICAlex)
Quick question.....in the xc.h file I include in my files, there are tons of #if defined for the exact microcontroller being used. For example, mine uses this: #if defined(__dsPIC33EP256MU806__)...
View ArticleIs there a way to disable the PWRSAV instruction? (RDS Cliff)
I didn't understand the PIC sleep mode when I did my software design. I use interrupts to set flag bits indicating work to be done. I use a background forever loop to check those bits and do my work....
View ArticleScheduler/OS for dsPIC33EP (ASICAlex)
I am using a dsPIC33EP256MU806 for a motor control application. Along with the motor control there will be usage of some of the communication peripherals like CAN, I2C, SPI, etc. I have looked at some...
View ArticleWDT for PIC24FJ128GA704 not working as expected (Maldus)
Quoting from the corresponding FRM section:If the FWDTEN Configuration bit is set, the WDT is always enabled. However, the WDT can beoptionally controlled in the user software when the FWDTEN...
View ArticlePIC24FJ128GA204 : SPI3 Tx (master mode) Interrupt doesn't fire up (Tony_921)
Hello, This is a simplified version of the following topic. https://www.microchip.com/forums/m1085967.aspx This time, I got only SPI3 (master) up with no slave devices connected. Polling...
View ArticlePic24 udp bootloader (chrisidle)
Hi, Has anyone ported the EZBL for the pic24 to use UDP? I’m currently using a PIC24 with an enc28j60 Ethernet controller and need to provide firmware uploads over UDP or TCP...
View ArticlePlease recommend an inexpensive development board with a 24-pin ZIF connector...
I'm working on a project to interface a small LCD display (https://www.crystalfontz.com/product/cfal12856a00151b-128x56-transparent-oled-screen) to an inexpensive development board with a simple...
View ArticleHow do I send a string of data from pic24 to web server? (asmith34)
I have a pic24FJ1024GB10 and a ESP8266 wifi module. How should I connect to a webserver to send up a short string of numbers and recieve a bool? I have built a web app using google's firebase services...
View ArticleCan't output to RB3 on PIC24FJ64GB002 (jodyflorian)
Hiya, I can't seem to output anything on RB3 as a digital output on the pin 7(AN5/C1INA/DMLN/RTCC/SCL2/RP3/PMWR/CN7/RB3) on the PIC24FJ64GB002 (DIL28). This is the best I've come up with: // make RB3...
View ArticlePIC24FJ64ga306 RTCC running too slow (Nithiya)
Hi sir, I am using PIC24FJ64GA306 where I set up RTCC running on SOSC.I generate code using code configurator & display the time in inbuilt segment lcd.I check my time with the real time it's...
View ArticleDMA High Address Limit Failure (d.)
Hi, PIC24FJ256GA610 Running through my code with breakpoints, I'm sending a series of buffers through the DMA. The first 2 buffers get moved successfully from RAM to my UART. On the 3rd buffer, I get a...
View Articleinternal band gap voltage reference (kombat)
I was reading PIC24FJ64GA004 FAMILY datasheet (DS39881C) and found in ADC chapter they are including information about an internal band gap voltage reference but couldn't find how much this voltage is....
View Article