Questions tagged [pic32]

PIC32 is a family of 32-bit microcontrollers made by Microchip Technology. They contain a MIPS32 core, developed by MIPS Technologies.

PIC32 is a family of 32-bit microcontrollers made by Microchip Technology. They contain a MIPS32 core, developed by MIPS Technologies.

PIC32 microcontrollers have been announced in November 2007

Features include

  • Execution speed up to 80 MHz
  • Flash size up to 512 kByte
  • Programs can be executed from RAM
  • Available in different packages, including Dual in-line (DIP)

A PICkit3 is required to program these microcontrollers. Microchip offers an IDE (MPLAB X) which includes a modified GCC compiler (xc32). It is possible to compile programs for PIC32 using the free mips-elf-gcc compiler as well.

172 questions
2
votes
0 answers

Additional garbage bytes from UART communicating over RS485 with PIC32

What´s working so far: Sending bytes from PC with USB-Converter to my PIC32MX with Click-Board RS485 on it UART5 used to receive data and these data are sent back over UART4 to read it in a Terminal the bytes are being echod correctly,…
user3447279
  • 89
  • 11
2
votes
2 answers

PIC32 UART sends garbage characters after initialization

I'm writing code to configure the serial port on a pic32 family device. The initialization appears to work for the most part, but I get garbage data in place of the first 6 characters that I write. I noticed, however, that if I add an arbitrarily…
user545199
1
vote
3 answers

How do I configure microcontroller registers with no linter messages (embedded C)

I like writing embedded C firmware to the BARR-C:2018 standard and I have recently started using PC-Lint to check the code. I am currently using a PIC32 processor and I want to configure a register such that it: is easy to read, generates no…
LightBlue
  • 11
  • 3
1
vote
0 answers

Why PIC32 can not write to external EEPROM?

I have been learning to program mentioned PIC32MK1024MCM064 model for quite some time for a big project in the future. I came to I2C communication part which will be key feature in my project, I have not done anything with an I2C protocol in the…
1
vote
0 answers

Pic32_MZEF_Curiosity_v2: USB Device only (Audio + CDC) Not Working

This is the first time for me in a USB environment hence any input is highly appreciated. My Setup: -Pic32 ME EF curiosity v2 board + AK4954 Codec Module attached to mikro Bus 2 using Mplab x 5V5 IDE under Harmony 3 -My current project code/ example…
1
vote
1 answer

C struct member not storing the value assigned

I'm working with a microprocessor (PIC32MX250) and I created a struct that stores various members: typedef struct { char element1[20]; unsigned char element2; unsigned char element3[2]; unsigned char element4[2]; unsigned char…
Filippo
  • 126
  • 1
  • 12
1
vote
1 answer

FreeRTOS Wifi down event does not call vApplicationIPNetworkEventHook

I've been trying to find a solution to get amazon-freertos to detect WIFI network down so I can reconnect. I have to say I am still not fully in understanding of how it all should work. From reading up it looks like the intended way is to wait for…
CaptainMJ
  • 167
  • 9
1
vote
0 answers

Jump to PIC32MZ FreeRTOS application using bootloader

I have made a custom board with a PIC32MZ2048EMF100 and a LAN8720, ATWINC1500 .... I wrote a program that works very well on this board and uses FreeRTOS (because of ATWINC1500), now I'm trying to do OTA using bootloader (I need the swapping between…
Mohamed
  • 11
  • 2
1
vote
1 answer

PIC 32 baud rate

i have a PIC32MX460F512L. I am setting up a UART communication with raspberry Pi 3. And i made also some tests with mi PC Windows serial terminal (Putty, Teraterm etc.). I am having stucking problems, because the raspberry sends and receives only…
1
vote
0 answers

Why strtok_r break string at '.'(peroid) instead of ',' (comma)?

I am using pic32(C32 compiler) ,32 bit architecture for my iot module where i am receiving data from cloud than extract into my application.I am using this function (these are maximum details i can provide).First 3 values extracted…
voidpointer
  • 301
  • 1
  • 8
1
vote
0 answers

PIC32MX360 Coolterm

I am trying to use Coolterm emulation program to send chars to test my program on a PIC32 starter kit. However, my PIC isn't showing as a usb device. I am using a USB - mini USB connection to the board. I've changed out different cables and nothing…
lin
  • 121
  • 2
1
vote
2 answers

PIC32MX System clock half of expected Value/Harmony

I recently started in a fresh company where the programer that did the PIC32 programming is now gone and I do need to troubleshoot his uC-Code. He disliked the Microchip Harmony Configurator/Framework and thus he is only using the Peripheral Library…
Side2005
  • 53
  • 4
1
vote
0 answers

Trouble getting Uno32 to run timer 1 interrupt at expected frequency

I have been trying to set up Timer 1 on my pic32mx320f128h based development board (Uno32 by Digilent). The clock speed is supposed to be 80MHz which should mean each clock cycle takes 12.5ns. a 500Hz signal should take 2,000,000ns. By that logic…
1
vote
1 answer

Can't define a large array in PIC32?

I'm new to C and to microcontrollers and i'm trying to learn by reproducing projects I find on the net. Here I have a project created on the same hardware than I have (PIC32MX534F064H), and i'm basically translating the syntax from mikroC to the…
Add
  • 11
  • 2
1
vote
2 answers

error in project loading in MPLAB X IDE v4.15

I am trying to load project on MPLAB X IDE V4.15 written for PIC32MX270F256B on XC32 compiler V1.4 . When I load this project I got this error :- Error: Project "Bus_ClassD" refers to file "app_32MX250F128B.ld" which does not exist in the disk. The…
Tabish Saifullah
  • 570
  • 1
  • 5
  • 25
1 2
3
11 12