Questions tagged [mplab-harmony]

MPLAB Harmony is a flexible, abstracted, fully integrated firmware development environment for PIC32 microcontrollers. It enables robust development of interoperable, RTOS-friendly libraries with quick and extensive Microchip support for third party software integration. MPLAB Harmony includes a set of peripheral libraries, drivers and system services that are readily accessible for application development.

18 questions
2
votes
2 answers

What is a CAN bus channel?

I'm a novice to CAN; however, I've hooked things up before via a CAN bus. From my point of view, it's all just fields of data. I'm trying to move away from my pure-C upbringing and embrace (however awkwardly) Microchip's Harmony framework for a…
b degnan
  • 3,167
  • 2
  • 17
  • 36
1
vote
1 answer

Unable to use wifi in MPLAB Harmony v3

I just got started with PIC32MZ curiosity development board with MRF24WN0MA Wi-Fi Module and MPLAB Harmony v3. I am unable to find drivers for wi-fi module (including ATWIN1500c) in harmony v3. Attached is an image of driver layer options which only…
1
vote
1 answer

Anyone knows what is a driver implementation in Harmony?

When configuring a Timer Driver implementation the option for Dynamic and Static appears. Anyone knows, what does these 2 types mean?
Nmaster88
  • 381
  • 5
  • 20
1
vote
2 answers

PIC32MZ, MPLAB Harmony with I2S hangs after adding extra function

I have referred http://microchipdeveloper.com/harmony:i2s-tutorial and am able to configure the I2S and read continuous data from a microphone. I am facing issue with the microphone data, and have been already discussing it here PIC32MZ: MSB of I2S…
Sandrocottus
  • 431
  • 2
  • 5
  • 11
1
vote
1 answer

PIC32MZ: MSB of I2S data from digital microphone is always high

I have interfaced a I2S digital microphone to PIC32MZ controller. I am able to read the digital output from the microphone over I2S-DMA transfer. Following are the details of my set-up:- Controller:- PIC32MZ1024EFE064 Audio Sensor:-…
Sandrocottus
  • 431
  • 2
  • 5
  • 11
1
vote
1 answer

Calculating CRC for bootloader firmware

I am using PIC32MZ2048EFH064, MPLABx3.40, XC32 V1.42, Harmony V2.01b. And my PC app is using MS Visual C++ 2010 Express. Instead of using microchip's Pic32 downloader I want to build my own downloader and, I want to download my custom encrypted…
Ravi C
  • 101
  • 1
  • 11
1
vote
2 answers

How to distinguish between a read and a write in a Harmony USART BufferEventHandler?

I would like to use the Harmony USART driver on a PIC32MX695F512H using interrupts and with buffer support. After setting the appropriate settings in the MPLAB Harmony Configurator, the system has generated the ISR for me (system_interrupt.c): void…
user17592
0
votes
1 answer

PIC32MX270F256 Project Build Error: pic32m-gcc.exe: error: build/default/production/main.o: No such file or directory

I am trying to build a simple project for PIC32MX270F256. The code is just this: #include #include "PIC32MX270_STD.h" #include "Delay.h" #define LED…
Ahmed
  • 171
  • 1
  • 6
0
votes
3 answers

How to read a specific port with ADC in Mplab Harmony?

I configured the ADC for 3 instances/3 analog inputs: In APP_STATE_INIT i enable and start ADC: case APP_STATE_INIT: { bool appInitialized = true; if (appInitialized) { appData.state =…
Nmaster88
  • 381
  • 5
  • 20
0
votes
2 answers

How to read a port by a label in Mplab Harmony?

I'm more familiarized with MCC and with that framework is really easy to read a port we just need to give a custom name in pin module: and after that in code: DATA_IN_GetValue() My question is how the same can be done in the Harmony framework…
Nmaster88
  • 381
  • 5
  • 20
0
votes
1 answer

Where to put main code in Mplab Harmony Framework?

When i'm doing code using MCC for example i will put my code the following way: #include "stdio.h" #include #include "mcc_generated_files/mcc.h" void main(void) { SYSTEM_Initialize(); printf("Booting loop debugger\r\n"); …
Nmaster88
  • 381
  • 5
  • 20
0
votes
1 answer

How to do a counting of a timer configured in Mplab Harmony framework?

I'm new to harmony framework, and am trying to find how i can count timer iterations, so i'm doing a simple test. I configured the timer like this: Now i want to know if this is the correct way: uint32_t teste; case…
Nmaster88
  • 381
  • 5
  • 20
0
votes
1 answer

How to toggle a pin in Harmony framework for a pic?

I'm new to pic's and the harmony framework, and i'm trying to toggle a pin from high to low and vice versa in the interrupt callback of the Timer. I configured my oscillator to operate at 32 MHz or at least is what appears here, so i suppose it's…
Nmaster88
  • 381
  • 5
  • 20
0
votes
2 answers

With harmony how to implement printf to uart?

I setup a project using harmony v2 for a pic32mx470f512l. In drivers -> USART i configured the UART (strange its called USART in harmony in datasheet says its a UART): Now i want to use the function printf, like we can easily use in MCC. How can it…
Nmaster88
  • 381
  • 5
  • 20
0
votes
1 answer

MPLAB Harmony Configurator not working

After installing MPLAB Harmony Configurator from the available plugins in MPLAB (v5.05) i tried to create a new project but it seems that harmony location is not valid? I doesn't seem to have anything on PC related to it.
Nmaster88
  • 381
  • 5
  • 20
1
2