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
0
votes
0 answers

RN42 Bluetooth Module weird UART comm behavior

I am using the PIC32MX795F512H device together with the RN42 bluetooth module both from Microchip. I am noticing a weird behavior. From this C code snippet: secs = G_CLOCK; while(G_CLOCK-secs<300); // delay 300 ms …
Renato
  • 178
  • 1
  • 13
0
votes
1 answer

RN42 Bluetooth Module - Entering command mode from C code

I am using a PIC32MX795F12 microcontroller together with a RN42 bluetooth to UART module. I can send text to the UART with no problem at 115200 baud. Using Putty I can also enter the command $$$ to enter the command mode and get the CMD…
Renato
  • 178
  • 1
  • 13
0
votes
1 answer

Multiple Boot loaders in same PIC32MZ?

Heading seems kinda weird, I am also not getting what exact should I write there, but hope I am able to make you understand what I want to do exactly! - I will have Primary bootloader and secondary bootloader both will resides in different areas of…
Ravi C
  • 64
  • 2
  • 10
0
votes
1 answer

pic32mx230 spi numbers of bytes

This one below i make new code for pic32mx230 SPI module harmony design i need to send 96 bytes register values and every 3 bytes starting CS will Low to High can anyone help us where i am wrong? `APP_DATA appData; static uint8_t __attribute__…
Nome
  • 27
  • 8
0
votes
1 answer

PROTEUS: How to add a binary firmware, from an unsupported compiler?

In ISIS design tool there are many options of compilers, as well as microcontroller families and their variants with which we can perform compilation and simulation in the Proteus IDE. However, although it is possible to install other compilers that…
aluis.rcastro
  • 46
  • 1
  • 7
0
votes
1 answer

MPLAB 8.92 checksum missing on release build

I'm getting a PIC32MX project ready for programming at the fab house and I was hoping to send a checksum along with the .hex file for them to be able to verify the .hex at their end. If I compile the program in a debug configuration MPLAB 8.92 shows…
nodee3345
  • 9
  • 2
0
votes
1 answer

PIC32MX Clicker UART issue

I am using PIC32MX Clicker (PIC32MX534F064H microcontroller) for transmitting data through UART and receiving the same on PC using a USB to serial converter at baudrate 115200. When I try to send the data through PIC32 and read on my PC, I recieved…
Amit Nayak
  • 11
  • 1
0
votes
0 answers

Bootloader is not working with hex file of size 278kb?

I have created the USB_DEVICE bootloader for my project. In that I am triggering bootloader when there is data written on valid flash address 0x9D061000. In my application firmware, I am initialising flash, and then writing data on the address…
Ravi C
  • 64
  • 2
  • 10
0
votes
1 answer

How to exchange data between two apps (state machines) in MPLAB Harmony framework?

I'm implementing multiple state machines that run in parallel using the MPLAB Harmony framework, but some of my state machines need to get a message when the another applications state machine enters a specific state. I could not find any…
The amateur programmer
  • 1,238
  • 3
  • 18
  • 38
0
votes
1 answer

How to write ISR macro for 2 pins on the same port in PIC32MZ2048ECH144 using Microchip Harmony Configurator(MHC)?

I am using PIC32MZ2048ECH144. I have two switches connected to RH8(pin Number 81) and RH9(pin Number 82). I do not see any option in MHC to set interrupt at pin level, therefore I get the ISR generated for the port-H. I need the ISRs for each…
0
votes
0 answers

Program runs perfectly in MPLAB but not load properly on PIC 32

I'm right now working with UART, Keyboard and LCD to interchange data as per user requirements in a single unit. Means User can select any Input and Output devices listed above as per the selection bits. The code and Output works perfectly fine when…
ANKS
  • 1
  • 1
0
votes
0 answers

Pin lo in debug mode, but is hi in release mode, with no code change

I have a PIC32MX695F512L project that works when in debug mode using a PicKit3, but not in release mode. Port F5 which is set as an input pin is lo when using the debugger. But if I run it in release mode the pin goes hi. There is only a cable…
Dennis Kerrisk
  • 2,715
  • 2
  • 17
  • 22
0
votes
1 answer

Sharing global variables with multiple Interrupt Service Routines in C

I am writing a program in C for PIC32 uC , that have a global variable(uint32_t type) that can be read/modified from multiple Interrupt Service Routines and from the main. I know that is not safe so I was wondering how to make it safe ? Is there an…
0
votes
2 answers

--fill command on PIC32MX boot flash memory

I have been trying for the last few weeks to find out why this isn't working. I have tried reading all the documentation I could find on my PIC32 MCU (PIC32MX795F512L) and the XC32 compiler I am using (v1.34) but with no success as of yet. I need a…
Dino Alves
  • 113
  • 10
0
votes
0 answers

PIC32MX Controller UART1 receive not working

I am working with PIC32MX350F128L.The uart1 which is PIN 22 for (TX) and pin 20 for (RX). I am able to send a character but not able to receive any character.Below is the code attached. Please do have a look at code and suggest some changes ? void…
Gangadhar
  • 29
  • 1
  • 7