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
1 answer

How to wake Pic32 from sleep mode?

I am trying to keep PIC32 in sleep mode on boot up. And when the power button is pressed the Pic32 should exit the sleep mode and wake up. I am able to put PIC32 in sleep mode but I am not sure how I can trigger it to wake up on button press. Is it…
abdullah
  • 65
  • 10
0
votes
2 answers

MPLAB X IDE: Writing Boot Loader application for PIC32

I'm new with Microchip programming and I'm getting some troubles. I need to write a bootloader application using MPLAB X IDE but I don't know how to set up the compiler/linker in order to create an executable mapped in the right regions of…
0
votes
1 answer

Pic32 Real Time Self Programming

Good evening, I'm new with PIC family and I need to implement the RTSP on my bootloader. I read several pdf's about this topic but I can't get any example code on how to write on FPM. [The data to be written in flash are sent through the…
0
votes
0 answers

PIC32 Bootloader app linker script boot section

A Bootloader and an application is working fine. The bootloader loads the application, and then jumps into it. The problem: I need to use different linker script to either have the app standalone or bootloader compatible. I believe it is because the…
Damien
  • 1,492
  • 10
  • 32
0
votes
0 answers

How to write 4 bytes of data to sigma dsp ADAU1452 from Pic32?

I am trying to write 4 bytes of data from Pic32 to SigmaDsp ADAU1452 over I2C Bus. According to sigma dsp datasheet I have to do the following: Send device address = 0x70 Send Register address. The register I am trying to write to is "0x0021"…
abdullah
  • 65
  • 10
0
votes
1 answer

PIC32 Get/Set Program Counter

Firstly, I've done some research: Getting EPC https://www.microchip.com/forums/m617994.aspx On PIC18Fxxx https://pictutorials.com/PC_Relative_Addressing2.htm https://www.microchip.com/forums/m963014.aspx Compile time…
Oliver
  • 1,395
  • 1
  • 14
  • 33
0
votes
1 answer

microchip, Generic tcp server

I'm very new to the Microchip line and I'm currently using the Pic32 Ethernet Starter Kit 2. I've been playing and testing all aspects of this product and I'm currently working with the Generic TCPIP Servo demo from Harmony. I can load the app on…
PBSnake
  • 15
  • 6
0
votes
1 answer

PIC 32 Application code Jump to bootloader code

I want to jump from the application code to the bootloader when i receive a FW upgrade command from the PC. The bootloader checks 2 conditions-valid application and a external trigger. In my case, i do not want to use a switch press a s an external…
k11
  • 167
  • 1
  • 3
  • 16
0
votes
1 answer

FreeRTOS for PIC32MX120F064H using MPLABX IDE

I want to use FreeRTOS for PIC32MX120F064H using MPLABX IDE. I tried a lot but couldn't find any simple LED blinking project for this specific microcontroller that I am using. I even tried demo projects given by FreeRTOS but they are for specific…
SidK
  • 11
  • 1
0
votes
2 answers

PIC32MX270F256B UART : how to get a single byte from the RX FIFO?

I'm trying to read byte per byte from the RX FIFO, that's 8 bytes deep. The problem is that when the first byte is received, I have to wait for 8 other bytes to finally get the first byte on U1RXREG. I'd like to know how to perform some dummy reads…
ricothebrol
  • 81
  • 12
0
votes
1 answer

Can't get I2C to work with PIC32MX270F256B

I'm sorry to bother you guys but I've been spending hours messing with that PIC and I can't get anything from the I2C1 port ! I guess I must be doing something terribly wrong, or I forgot to switch something ON on the configuration bits but I just…
ricothebrol
  • 81
  • 12
0
votes
1 answer

Get data from Serial Port and use set time in Datetime c#

I am using Visual Studio 2015 and am coding using C#. I've programmed a clock on my pic32 and sending the data of this clock over the serial port. I'm trying trying to put a string mydata from the serial port and put it into Datetime. But i'm…
0
votes
2 answers

General Exception Handler in PIC32 in MPLAB -X , How does software know when to throw this?

void _general_exception_handler (unsigned caused, unsigned status) { RCON = RCON_EXCEPTION; // Point of No return. Kernel_Reset(); } My code seems to be getting in this trap and I have few questions to figure out why…
newb7777
  • 517
  • 5
  • 22
0
votes
1 answer

Unable to start the chipKit BasicIOShield with PIC32 using PICKIT3 programmer

I have chipKit uC32 (PIC32MX340F512H) ,chipkit BasicIOShield and PICkit3 programmer all from the Microchip. I'm using MPLABX IDE. Since I'm very new to this so I didn't know where to start I have searched and look at the web and find only tutorial…
malloc
  • 35
  • 7
0
votes
1 answer

Interfacing pic32mx795f512l with DS3234

I am new to pic32 controller, I want to interface pic32mx795f512l with DS3234 using SPI. Can anyone guide me, how to do exactly? I have gone through data sheet of both.