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

Unable to store data value in Flash memory (preston51)

$
0
0
I need to store calibration values in flash memory. These values will only change once per year when a new calibration is done. But I cannot get my program to store any value. This is my first time to work with Flash as an EEPROM, so it is probably someth..

How to Store stream data in MCU internal Flash or Memory? (kahjoo)

$
0
0
Hi,I'm using PIC32MZ2048EFH for the project developement.I need to store a stream of data received from UDP, by 5K Byte, and need to store in MCU internal Flash for next processing.How I can store the data into the internal Flash or memory of the MCU? THa..

PIC32MM - Anybody got one working? (simong123)

$
0
0
I'm trying to bring up my first Pic32MM board (PIC32MM0016GPL020) but having little success. Currently I have only the PIC, VCap (10u 10V 0805 X5R), Vdd Bulk (4u7 16V 0603 X5R, bottom of PCB) and De-Coupling (100n 16V 0603 X5R, top) and a 4k7 pullup on MC..

PIC32MZ Crypto Engine - Examples (karpouzi)

$
0
0
Hi, does anyone have simple examples (without Harmony) of how to use the PIC32MZ crypto engine with AES? I tried the datasheet procedure with no luck. Thanks..

Interrupt latency problem (MahmoudMS)

$
0
0
Hello, I am using PIC32MZ2048EFG064.I am trying to emit N pulses at 40KHz using a bit-bang method, i.e. a timer with a given period is used to toggle the state of a pin and decrement the number of remaining pulses in the ISR.The timer uses a PBCLK3 with a..

SPI3 is not responding to my state machine? Is there anything wrong with my state machine? (ravic)

$
0
0
Hi, I am new to PIC32MX, harmony and it's development also. Actually I am configuring SPI3 of PIC32MX795F512L as Master and total 4 gpio pins connected to Mux for selecting one of slave among 16. I have written code in state machine as: 1.Configuratio..

PIC32MZ __attribute__ ((coherent, aligned(16))) issue (dplmk9)

$
0
0
Hi there, The microcontroller that I am using is the PIC32MZ2048ECH064. I have it setup to run at 200MHz.These are my prefetch settings: PRECONbits.PFMSECEN = 0; PRECONbits.PREFEN = 0b11; PRECONbits.PFMWS = 0b100;and this is how I enable my multi vector i..

how to force timer ISR to run immediately? (ckorda)

$
0
0
Suppose I start a timer with a period of 1000. Assuming the timer's count was initialized to zero, The timer's ISR will run 1000 ticks from now, and every 1000 ticks thereafter. But I actually want the ISR to run *immediately*, and every 1000 ticks therea..

mx250f128B and unstable internal IVref reading with ADC (marekb)

$
0
0
Hello,mx250f128b has an internal precision voltage reference source IVref (1.2V). According to the datasheet it could be connected as a positive input to the ADC. Datasheet says in the note no. 4 to IVref as input in the figure 21-1 on page 201: 4: See Se..

Pin toggle via timer interrupt is 370x to long (MarkoAnte)

$
0
0
Hi, I'm trying to make a PWM with dead time. I have set it up now like this just as a test:

while(1){
PWM_L3_H_ON();
DelayMs(10);
PWM_L3_H_OFF();
DelayMs(10);
}

#define PWM_L3_H_SET() {LATHSET = ..

Bootload PIC33 through PIC32 (vibemac.1)

$
0
0
Good morning to all,I don't know if this is the correct section where inserting my question but it covers several different topics, so there isn't a single forum suitable for it.I'm developing a board that uses a PIC32MX795F512L that talks to PIC33FJ12MC2..

Migrating from PIC32MX to PIC32MZ? (alex_elec)

$
0
0
Hi Guys, I'm currently working on a project with a PIC32MX695F512L uP, used for gas sensing with an external ADC (I2C), using a few UARTS for wireless comms, SPI bus for external Flash and a couple of PWMs for running pumps etc. But, the main problem is t..

Problem with PIC32MX UART Communication (youkaiyk)

$
0
0
Hello everyone :) I have a problem with PIC32MX795F512L UART Part. I am trying to get serial communication working with a PC using a simple UART transmit code . And I run it with RS232 to USB cable connecting to PC .In the code , I directly write a value ..

frames per second (ets)

$
0
0
Hello! I bought last year a PIC32MX360F512L with an Epson S1D13517 and a VGA 640x480 touch screen (Truly 5.7"). I tested it with the demo app and was, for the most part satisfied. I now placed my own app on it, which is an animation app. However, I just r..

PIC32MZ USB CDC class device - interrupt mode issue (NeetaK)

$
0
0
I am working on Olimix board for PIC32MZ2048ECG144 I am using the sample code (cdc_com_port_single) provided in the Harmony library for my development. The code works good, but what i find is that even though I have set the USB to work in Interrupt mod..

PIC32MX220F032D UART Bootloader (MANGUKIA)

$
0
0
Hi..Read your forum answer for PIC32 UART Bootloader forum link (In this mention bootloader Linker and Application Linker so where is application linker and How to change it..We use PIC32MX220F032D (Pinguino MX220 baord) controller and MPlabxIDE and c32 c..

AN1388 bootloader and LAN9303 (DominusT)

$
0
0
Hi. Is there any way to implement the bootloader disclosed in AN1388 with LAN9303 PHY? (AC320004-4 - LAN9303 PHY Switch Daughter Board) Thanks..

Can a flash page erase stall the CPU on PIC32MZ EF? (610blixten)

$
0
0
Hi, I'm currently developing an application for PIC32MZ EF (PIC32MZ2048EFH144) that will writes parameters to the on chip flash memory. I know that writing to the on chip program flash can stall the CPU, but what about the page erase operation? I can't fi..

Cache Memory Question (jFoster)

$
0
0
I have many questions about the cache memory on the PIC32 processor. Would appreciate any explanations: How does information get from the Flash memory into cache? Is this done automatically on the PIC32 with dedicated logic or is it hidden somewhere in so..

PIC32MZ EF ADC interrupt set up (MarkoAnte)

$
0
0
Hi, I'm trying to set up ADCs 0-4 to trigger at the same time on timer 5 and then via interrupt get their results, compute them afterwards and calculate the next state of the PWM signlas.What would be the most efficient way to arhive this? In the Section ..
Viewing all 8987 articles
Browse latest View live


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