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
2 answers

How to get UART to work in PIC32 with correct clock frequency and baud rate?

I am working on UART with pic32mx5xx. All I need is to send a message from pic to terminal (Putty), but it is not working as I would get invalid characters appearing. The baud rate is set to 19200, how do I calculate the clock frequency? Is it true…
Ammar
  • 1,203
  • 5
  • 27
  • 64
-1
votes
1 answer

MIPS Instruction ADDIU

How can I identify what is the corresponding C code written for instruction in MIPS, ADDIU sp sp 0xFFE0? Using MPLAB IDE I can find out this address but am unable to find out, how does it work?
Ink
  • 1
  • 2
-1
votes
1 answer

Send SMS GSM Click

"I'm using the example code of Mikroe for the GSM click with a few additional lines of code to send a sample text message. But I'm having problems with the 'sendSMSmsg' function where msg is undeclared identifier. I tried to define it on top of the…
Dorokun192
  • 63
  • 7
-1
votes
2 answers

PIC32 SPI not working

I'm trying to get the SPI working on a PIC32MX250F128D without much luck. I tried in 8 bit mode and 32 bit mode, but I'm not getting all the data or no data at all. I'm trying to use a 4MHz SPI to drive a WS2812 ledstrip. This is the code I…
-2
votes
1 answer

Not Equals Operator not working when interrupts are enabled on PIC32

I am currently trying to parse a string received via UART from a GPS module on a PIC32MZ2048EFG100 micro-controller via a UART receive interrupt protocol. I am using MPLAB X IDE v4.10 and XC32 v2.05 for my IDE and compiler. When I enabled the UART4…
K. Crow
  • 1
  • 2
-2
votes
2 answers

How LEFT SHIFT and RIGHT SHIFT with binary 1 work?

I know that (10001010<<2) = 00101000 And that (10001010>>2) = 00100010 How to shift when I have only one bit like this (1<<5) and (1>>5)
Listy L
  • 52
  • 7
-3
votes
1 answer

How to turn on rgb leds connected to PT6965 LED controller using Pic32?

I have interfaced the PT6965 led controller with Pic32 over SPI using microchip harmony. My problem is I am unable to understand what data/ commands to write to led controller using spi that will turn on the 3 rgb leds connected to the led…
abdullah
  • 65
  • 10
1 2 3
11
12