PIC32MX795 with DP83848 100Mbps issue (kevincha86)
Hello all,I am working on a custom board using a PIC32MX795F512 with an Ethernet PHY DP83848.We also use the stack TCP Ethernet from microchip.Our design work fine with 10Mbps communication.We face...
View ArticleI have so many questions about the USB module ... here's the first one ......
OK so question 1: This should be an easy less-than-100-word-answer. If I am only developing a USB Device do I have to change any of the default OTG register values? It seems, but does not specify, if...
View ArticlePIC32MK1024MCM064 I2C master mode problem with ACK (Vilius)
Hi, I am developing a project that involves PIC32 communication with ESP32S3 and PCF8574 IO expander (for 16x2 LCD screen) via I2C. I have absolutely no problems with the PCF8574, I am getting my data...
View ArticleCAN mask in ATSAMC21J18 can not work as expected (VoyagerChen)
Hi, I'm using MPLAB X IDE to build a project to extract OBDii info. from car throughCAN bus. Basically I would like to capture all messages in standard frame formatwith 11-bit ID (0x7E8), but when I...
View ArticleUnexpected CDC/ACM USB traffic every 40'ish us... (Rich TBCO)
I'm using PIC32MK0512GPK064... I have a simple USB CDC/ACM implementation... My bulk IN endpoint is EP2 and I see it being polled (?) basically every 40'ish us once the COM port is open by Windows --...
View ArticleQuestion about the TFT of EV14C17A (DominusT)
Hi. We are looking at taking the EV14C17A evaluation board as a reference for a product. What I want is to place a sheet of transparent acrylic or polycarbonate with a thickness of 3mm to 5mm on top of...
View ArticleDoes a persistent variable have to be declared non cached? (user2x)
Hello,PIC32MZ2064DAK169 xc32 3.01 I require a flag to indicate something to the code after a reset. application_key __attribute__ ((persistent)); So I set that variable to a key value just before...
View ArticleUSB Audio L/R channel mapping (fernando306)
My friends,I'm faced with a difficult situation. I'm using the PIC32MM usb headset demo (file attached here) as the basis for my audio interface, and commited with a production run of 2000 units....
View ArticleQFN reuse (it works!)... (Rich TBCO)
So I'm using PIC32MK0512GPK064/MR and having some trouble getting these parts in any quantity... But... I found I can pop the chip off an old board and reuse it on a new board totally reliably -- I'm...
View ArticlePIC32MM0256GPM064 IECx and linker issues with HID BOOTLOADER from Harmony3...
Hi everyone,Since last week i'm trying to implement an USB bootloader for my application with a PIC32MM0256GPM064.Application works fine, so i have to allow customer to update it without using X IPE...
View ArticleHow to use scanf in XC32 ??? (Baldhead69)
Hi, I managed to make the stdio work with a uart2 and a MCP2221 in the MCC with a DM320007-C development board. I am using termite terminal and the pic32 printf function are displayed ok on termite.But...
View ArticleFailed to get Device ID error for PIC32MM0064GPL028 and MPLAB Snap debugger....
Hello, I am trying to connect Mplab snap debugger for PIC32MM0064GPL028. But when I want to compile and upload a simple led lighting code, I get the following error; "Failed to get Device ID. Please...
View ArticleSAM E51 Curiosity Nano SD Card (matthew@tracksandwheels.com)
I'm hoping someone has had success connecting an SD card over the SD/MMC interface on the SAM E51 Microcontroller. The setup is oh-so-close to working but I'm at a loss for the final piece of the...
View ArticleProcessor immediately halts at 0xBFC00000 (boyfreda)
Hi, I have several weeks of work on a project that was previously working. Today, I went to add the NVM module in the Harmony3 configurator. I also added a little bit of code to my project regarding...
View ArticleAfter WDT wake from sleep, any change to TMR1 causes reset (sitongia)
PIC32MM0256GMP048, silicon V4 (latest)I have an external module that sends 32768 Hz clock to Timer 1 clock pin. TMR1 interrupts to wake from sleep at 1 Hz. If the external module stops, I want the WDT...
View ArticlePIC32 UART Bootloader Address Problem (aris99)
Hello guys, I have a PIC32 MC00 Curiosity Nano Board and I am trying to set up a UART bootloader on it. I have created two separate projects, and for the main application, I have followed all the...
View ArticleConfiguring PIC32MZ2048EFM144 to use both boot flash banks (zrfenske)
Hello! I am currently working with the PIC32MZ and am looking to use both of the boot flash banks that are available. In the lower bank I would like to have a very basic bootloader as a "fail-safe"...
View ArticlePIC32MZ not always going into exception handler (almost random behaviour)...
For some reason my PIC32MZ2048EFx ecc. is not always jumping into exception handler, rather it will reset.This is happening on several projects and also several slightly different MCUs, and both when...
View Article16-bit bootloader issue (mathiyadav)
Hi guys,Im using dsPIC33CK256MP508 controller...im try to implement a bootloader as per the lecture video on microchip university...As per the demo Video i make application verify method as crc32 and...
View Articlesscanf return value (leolin)
I can not get return value of sscanf for XC32 v4.21 (Sam9x60 platform). Example: const char * line = "ABC = 'DEF' "; ret = sscanf (line, "% = '%'", key, value); I got key = ABC, value = DEF, but ret is...
View Article