Quantcast
Channel: General PIC32 Topics
Viewing all 8987 articles
Browse latest View live

The ISR for UART RX desn't start (thoraz)

$
0
0
Hallo everyone, I'm trying to use the Interrupt Service Routine for the UART RX on my PIC32MZ0512EFE064 but seems it doesn't starts when I send a byte to it. Following my example code:

// Configuration Bit settings
// SYSCLK = 80 MHz


starting with MZ (bg_blea)

$
0
0
Hi guys. I'm about to embark on the epic journey of using the MZ EF, and I have a few questions:1) there are 7 shadow register sets. There are 7 priorities. Does it matter which shadow reg you use for a given priority? Is there a catch? Seems they should ..

PIC32MM DAC settling time (carlopallini)

$
0
0
What is the settling time of the 5-bit DAC of the PIC32MM devices?I am using a PIC32MM0064GPL028 and cannot find such info neither in the datasheet nor in the FRM.On the scope I see rising time much bigger than falling one...

uart read a string (joset)

$
0
0
Hello, im new whit pic32 and c code, i want to capture a string 1234 by uart, but my code seem dont workif anyone can help me i will thanks you.so far my code is:unsigned char GetDataBuffer(char *buffer, UINT32 max_size)
{
UINT32 num_char;

Weird I2C problem on PIC32MZ (Heather)

$
0
0
IDE: v3.35Harmony: 1.0.8PIC: PIC32MZ1024EFF100Compiler: xc32, v1.42 My program send a few bytes command to I2C slave chip. The bytes I send are 06, 0, ff (in hex), however, the oscilloscope shows the actual pin waveform is 01, 01, ff. I have varied the co..

Whats your Opinio about Microchips Harmony (ats3788)

$
0
0
HelloI fiddle now for 6 month with Harmony and I would like to hear your thoughtsabout the Philosophy of Harmony..

PIC32MZ EXTR flag always set (kweisenback)

$
0
0
Hello, The EXTR reset flag on my board is always being set after any sort of reset, whether it is power, software, or from being programmed. All of the other reset flags appear to be working just fine, it is just EXTR that is always a 1.The circuit on the..

Number of I2C PIC32MX695F512H Confusion (LukeC)

$
0
0
Hello, I'm attempting to use the DV102411 Wifi Comm Demo board to interface with an I2C Sensor. According to the boards User Guide, the "Sensor Expansion Port" diagram has the I2C interface wired using SDA5 and SCL5 (pins 31 & 32). When looking at the..

Enabling the External Interrupt INT0, the PIC32 restarts (thoraz)

$
0
0
Hallo everyone,I have a problem with the use of External Interrupt INT0. I'm using a PIC32MZ0512EFE064, MPLAB X 3.30 and XC32 1.42.In the following code, when I send a command string via terminal, the system recognizes the command and executes it throught..

ADCHS - ADC7 Interrupt at end of Scan NEVER reset (js590)

$
0
0
I have initialized ADCHS to only use shared ADC7 and acquire 4 analog values.At end of scan I have enabled the corresponding interrupt.This interrupt is of persistent type... and to reset it I have understood that i have to READ the acquired values.I have..

Problem with Usb module (Andy56)

$
0
0
Good evening. I'm try to realize an host usb application with PIC32MX230F064. I have erroneously connected Vbus pin to linear regulator 5v out. What is the consequences? Would its operation be adversely affected? Can I verify the correct operation of Usb ..

I2S / SPI Buffer stays empty - SPI module turned on - PIC32MZ (alex.h)

$
0
0
Hello, Hello,actually I’m working on my Bachelor Thesis, programming a PIC32MZ2048EFG100 with MPLAB X 3.35. I use two stereo audio codecs to convert 4-channel analog audio to PCM audio and transmit it via I2S to the MCU. The data will be sorted in a buffe..

UART communication between PIC32MX795F512L & PC via RS485:How to use terminal application (sapna r)

$
0
0
Hello,I am using PIC32MX795F512L to communicate with my PC using UART peripheral.Connection is similar to the figure attached, except for the difference in PIC.RS485 transceiver used is LTC485 and RS232 to USB converter has been used to connect to PC.Acco..

PIX32MZ DMA issues when destination is the PWM module (drloakes)

$
0
0
Hi, Im having issues with the harmony DMA example, it works fine if the desitinaton is LATH but as soon as i change it to OC5R the DMA doesnt run. Im running OC5 as a PWM module with TMR3 as the timebase clock as this works fine, im trying to drive a WB28..

PIC32 MZ - Altium Footprint (Lvas0013)

$
0
0
Hello, I just bought the pic 32MZ2048EFH, and downloaded the altium library to create a pcb. However this IC is not listed there but there is another one which is the pic 32MZ2048ECM144T-I/PH. I compared the pin outs of my IC (32MZ2048EFH) and noticed tha..

RTCC What for is RTCALRMbits.AMASK (ats3788)

$
0
0
Hi Guys RTCC What for is RTCALRMbits.AMASK ? Can someone explain me what for are all this choices..

DRV_i2C harmony. (MariuszS)

$
0
0
Hello all.I am trying force using DRV_I2C dynamic instance. but i have enough.... Some device on i2c bus, required delay time, to correct behavior.So I need insert time delay between writeThenRead function.i expect following sequence:Start->address->write..

EBI and PMP (ckorda)

$
0
0
Is it possible to use both the EBI and the PMP on a PIC32MZ? It sure looks like the answer is no, but I would rather ask a dumb question than be wrong about this. I need to send a byte stream over short distances (half a meter or less) to a print head, at..

What 32,768KHz crystal (ats3788)

$
0
0
I ask this bcause in the moment I have a watch Crystal from an old Watch and the clock is to fast so I ask this simple question What is the best second OSC Watch 32,768KHz RTCC Crystal CL 10 pF RSmax 25KOhm or 12,5pf RSmax 50KOhm What is the better crysta..

RTCC What for is RTCALRMbits.AMASK (ats3788)

$
0
0
Hi Guys RTCC What for is RTCALRMbits.AMASK ? Can someone explain me what for are all this choices..
Viewing all 8987 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>