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

C in PIC32, Passing a Struct Variable between 2 *.c File

I have hit a wall now and would like to get back to speed. I have a "fileA.c" file and "fileB.c" file that I would like to pass variables between. Furthermore, "fileA.h" and "fileB.h" are the headers respectively. A variable UINT16…
newb7777
  • 517
  • 5
  • 22
0
votes
4 answers

RIErr0035: Failed to get Device ID in MPlab 8 after using MPlabX

I used MPlab X for a new project and it worked. After I was finished I had to work on a MPlab 8 project. I first ran the MPlab driver switcher to tell it I was now using MPlab 8. I then ran MPlab 8, loaded my project and connected my REALICE…
Dennis Kerrisk
  • 2,715
  • 2
  • 17
  • 22
0
votes
1 answer

How to get a simple TCP client working on PIC32 Ethernet starter board?

I'm not real network savvy, so I'm struggling with this a bit. I got the web server demo working okay. Now I'm trying to construct a client-server connection between a Qt Creator Server on the PC, and a very basic client on the board. I…
Joe B.
  • 1
  • 4
0
votes
1 answer

MPLab PORTFbits has no member called RF0

I received my chipKit Uno32 today and I wanted to program it with MPLab X. My code is fairly simple and just toggles a Pin (one with an LED...). When compiling, it gives me these errors though: main.c: In function 'main': main.c:9:5: error:…
Pwnie2012
  • 143
  • 1
  • 7
0
votes
1 answer

How to read a button in cerebot Mx7ck without using polling in freeRTOS?

I am novice to freeRTOS. I am currently working on a project that uses cerebot Mx7ck(PIC32) running freeRTOS. I need to read buttons using some events(i.e using button input as input event)? But I am not allowed to use polling technique or ISR…
Main
  • 1,804
  • 3
  • 20
  • 28
0
votes
3 answers

String concatenate error with malloc dynamic memory allocation

String *char concatenate error with malloc dynamic memory allocation I want to make a function to concatenate strings, it works but it gives an error and the processor restarts, I think there's something wrong with pointers, but I do not know what…
Marco Costa
  • 37
  • 1
  • 2
  • 8
0
votes
1 answer

Delay Loop in MIPS

I am having trouble writing a delay loop that will return a constant 0x80000. The output should be like Hello, world! 0 Hello, world! 1 Hello, world! 2 ... but when I run my program, the terminal doesn't show anything even though I believe one…
0
votes
2 answers

Modification of J1939 C Library for PIC32

I am working on a project based on J1939 Interface. I am using J1939 C Library for PIC 18 devices (AN930), I am wondering how can I modify this library to work with PIC32MX795F512L device? I am not the expert level programmer and started working on…
Kunal Sonone
  • 43
  • 3
  • 14
0
votes
3 answers

Using sizeof() on an array passed to a function

I have a quick question about the C sizeof() function. I'm passing an array into a function, and inside that function, I want to check the size of the array. However, regardless of the size of the input array, inside the function, it always seems…
detroitwilly
  • 811
  • 3
  • 16
  • 30
0
votes
3 answers

how to burn hex file to pic ? "hardware"

Good evening .. I'm new in the microcontroller .. I have studied a course on "pic 16" and As I knew the pic16 needs an external device to burn hex file in rom . Now I want to study the pic24 And I found something called usb in pic24 .. Can I burn…
0
votes
1 answer

Serialize / transpose data in C (PIC 32)

What is the most efficient (fastest) way to serialize / transpose data in this somewhat odd way. Let's say I have 8 array with some data in them. char Array0[10]; char Array1[10]; ............. char Array7[10]; I need to get an output array that…
Borisw37
  • 739
  • 2
  • 7
  • 30
0
votes
1 answer

PIC32 UART transmission trouble, no data being transmitted

I am trying to use UART1 on PIC32 to transmit and receive data but there is nothing coming out from that port. I am using the PIC32 Ethernet kit with 8Mhz crystal. For the programming in C I am using MPLAB IDE v2.15 and XC32 v 1.32 I don't have…
user2824519
  • 43
  • 1
  • 1
  • 6
0
votes
2 answers

Having difficulty setting A2 as output

I am very very new to microchips programming. I have several questions. I couldn't figure out how to set oscillator frequency in the in mikroC Pro for pic32. I can do it in edit-projects setting, but I want to set the value in the code. Secondly,…
0
votes
1 answer

pointer to const array of ints

I've created a menu structure in an embedded system as follows: struct DisplayMenu { short int MenuTitle; // Menu title text offset - the title used in the calling menu char NoOfSubmenuItems; …
0
votes
1 answer

Microchip PIC - Flexible Interchip Communication Bus

I'm working on the design of flexible Module-Module Bus. Basically, each module will have a micro controller likely to be on the PIC24 / PIC32 family. The bus will be running through a RJ11 connector and has to be inexpensive. It needs the following…
Damien
  • 1,492
  • 10
  • 32