Skip to main content
Filter by
Sorted by
Tagged with
1 vote
0 answers
125 views

Program does not work. Text is not visible on the HD, the speed should be visible on hd. Buttons should change the speed and direction. Maybe there are incorrect connections or mistakes in code or LCD ...
Daniel Klymchuk's user avatar
1 vote
2 answers
96 views

I'm newish to PIC32 chips. I would like to connect my PIC32 to a RS485 MAX3485. That bit is fine, but what I can't manage to do is receive anything through the UART2 interface. Tx is fine it's just Rx....
Stan's user avatar
  • 15
2 votes
1 answer
101 views

I made a code using ADC_Read function in MikroC PRO IDE, but the code doesn't build, and the following error message appears: the variable ADC_Read isn't declared I'm using a PIC12F675 with an ...
Gustavo mota's user avatar
3 votes
2 answers
171 views

For this assignment I'm using the PicKit3 microchip PIC16F1829, lesson 8 from the PicKit starter guide. I wrote the following code for my assignment that turns DS3 on (but for some reason it turns on ...
learningtoomuch's user avatar
1 vote
0 answers
53 views

I have a power supply board using a dsPIC33EP processor. The firmware runs fine for hours on end, but occasionally hangs, which appears to be caused by a soft trap caused by the Auxiliary PLL going ...
MikeE's user avatar
  • 11
0 votes
0 answers
68 views

I am currently working on getting rid of MPLAB-Harmony-dependencies. Microchip makes the crt-source-code available as assembly-files with each compiler version. I am using xc32 version 4.2.0. I am ...
user44791's user avatar
1 vote
1 answer
88 views

I am new to the tinyavr 1 series microcontrollers. I've tried copying the basic example out of the Microchip TB3209 guide, but it doesn't seem to do anything. I use the below code, where PA3 is an LED ...
Erik Vincent's user avatar
1 vote
0 answers
55 views

I have a simple circuit (with PIC16F628) which repeatedly measures the frequency of a signal connected to Timer1. I use Timer2 as a timing gate. To simulate the 'system', I used GPSIM, but I'm having ...
jcoppens's user avatar
  • 5,472
0 votes
1 answer
65 views

I'm trying to implement a minimal LoRaWAN setup for my WLR089 Xplained PRO. I've set up a simple project using the ASF wizard in Microchip studio 7. I have all the necessary libraries included for my ...
Boyfinn's user avatar
  • 329
1 vote
0 answers
414 views

I need to do software testing and validation for the PIC16f15214 source code using VectorCAST. But when I build the environment it shows the "compiler error" / "can't open the 'XYZ.h' ...
PUSHPAK LADAKE's user avatar
2 votes
1 answer
435 views

My code builds fine in the MPLAB X IDE (v5.454), but for usability I want to use VS Code with the MPLAB extensions. My requirements include the use of the xc32 compiler v2.40. The example video does ...
spaceKelan's user avatar
0 votes
0 answers
46 views

I'm setting up an SPI (on a dsPIC33CK256MP506) to behave as an synchronous UART (only transmitting as a slave). Since SPI starts to transmit MSB I start with adding a start bit in front, then 8data ...
Max Kielland's user avatar
  • 5,871
1 vote
0 answers
41 views

I'm just trying to send a simple AT command but only getting back error responses indicated by my LED flashing twice. ESP8266 document tells me I should be using 115200 for the baud rate. My power ...
234Mike432's user avatar
1 vote
2 answers
79 views

I am making a code in PIC C compiler to turn on and off a LED. However it is not working on my physical board or in the simulation. Error message is: [PIC18] PC=0x0000. $MCLR$ is low. The processor ...
Haret V's user avatar
  • 11
0 votes
1 answer
46 views

I've setup Timer0 to work with an external clock on pin T0: TCCR0A=0x02 // CTC Mode TCCR0B=0x07 // Start timer on external T0 clock (rising edge) OCR0A=90 // Compare after 90 clock ticks TIMSK0=0x03 //...
Buzz's user avatar
  • 1,472
0 votes
0 answers
172 views

I'm working on embedded Microchip device with "6.1.22-linux4microchip-2023.04" I want to connect to it Wlan SDIO device . when I run the driver I get this error: "moal: Unknown symbol ...
David Sasson's user avatar
1 vote
0 answers
98 views

I am trying to setup Greengrass Core on my Yocto based device with an ATECC608B-TNGTLS HSM. I have it setup as follows: root@blox-rema:\~# p11tool --provider=/usr/lib/libcryptoauth.so --list-tokens ...
Jeroen Lardot's user avatar
1 vote
0 answers
62 views

I am trying to implement a bootloader for SAMD51 processors. At this stage, it looks like I will have to write my own bootloader, and I am new to this, so I have a few questions. However, considering ...
garrettb's user avatar
  • 319
2 votes
0 answers
118 views

I was implementing a driver for ccp1 peripheral and after implementing it and using proteus for simulation, the enhanced PWM doesn't work while I made sure that the CCP1CON is loaded correctly and ...
Mohamed Olwi's user avatar
0 votes
0 answers
71 views

enter image description hereIm trying to build a digital safe using the ATMEGA32A micrcontroller. Ive read through the date sheet for read/ writes to EEPROM which is fine but my program seems to ...
dylzad747's user avatar
1 vote
0 answers
87 views

I was trying to finish my project using an physical OUSB-IO board on a ATmega32A board using Microchip Studio's C to create a stopwatch and timer on the same LED board to indicate that it's working. ...
Kevin Demon Melon Lee's user avatar
0 votes
1 answer
89 views

Is there any way to place a const variable to an odd address of the flash, so that the value is in the HEX file? It needs to be at a specific flash address, i can not use the SAF Block because its to ...
Studiusus's user avatar
1 vote
1 answer
727 views

enter image description here I am receiving this error when trying to launch MPLAB IPE 6.20 after downloading MPLAB IDE 6.20. Does anyone know how I can fix this? I have uninstalled it and reinstalled ...
Lindsey McVay's user avatar
0 votes
1 answer
117 views

For my hobby I used to get boards for a particular device, and used to reprogram the microchip PIC 18F87J10 using MPLAB ICD-2 (I run it from my VM VirtualBox running Windows XP). Now the company from ...
gciriani's user avatar
  • 689
1 vote
0 answers
69 views

I am currently optimising and streamlining development code in preparation for release. Hardware and compiler specifics as follows: PIC18F46J11, MPLABX, XC8 - V2.45, C99, Optimization level 1 See ...
RoMoTronic's user avatar
3 votes
0 answers
94 views

I am using the PIC24FJ128GA306 microcontroller and trying to reserve a block in flash memory to store persistent data. Here is the code snippet I am using to define and allocate the persistent data: ...
user24822085's user avatar
1 vote
1 answer
98 views

This is a large program now so just a bit of the source code below. **DISASSEMBLED CODE:** 0164 0739 ADDWF 0x39, W 531: addwf Trigger777,0 ;to get proper patch table 0165 0733 ...
Dan Laskowski's user avatar
0 votes
0 answers
234 views

I used a Cortex-M4 chip similar to STM32, and now I want to place some frequently used functions in the fast Flash area, so I wrote the following code: .flash_zw0 : ALIGN(4) { *(.flash_ex) } ...
Vermouth贝尔摩德's user avatar
0 votes
0 answers
213 views

I have a platform based on an Intel CPU with a Microchip EC (Embedded Controller) (MEC152x). I'm trying to write a kernel module that access the watchdog timer registers through the EMI (embedded ...
zzi's user avatar
  • 118
1 vote
2 answers
123 views

This Analog data is read and the number 1-5 is shown on the 7 segment common anode display with 7447, but I can't set this number for analog value because I can't show analog values or output I wrote ...
CrazyProgrammer's user avatar
0 votes
1 answer
157 views

I can't program this microchip (using a PicKit5, should be no issues), either because its too old or I'm lacking a lot of knowledge. So the program gets written correctly with no errors, but when I'm ...
I have no enemies's user avatar
2 votes
0 answers
101 views

In XC16 (for the 16-bit dspic33E***MU8xx and MC family) I use union QEICounter and similar unions to convert two 16-bit words (e.g. read from UDP/serial) to 32-bit int32_t or ulong, which is defined ...
Marco van de Voort's user avatar
1 vote
0 answers
159 views

I have a problem when debugging a firmware. I work with Microchip Studio Version 7.0.2594 and a microcontroller called "ATSAME54P19A". I can build the software without any warnings and ...
Mucki 's user avatar
  • 11
2 votes
2 answers
185 views

I am writing a program that requires me to know the execution time of a function, given any number of loops. Upon fine tuning I discovered that the execution time is non-linear, and I would like to ...
Eman's user avatar
  • 303
0 votes
1 answer
855 views

Our team has a mix of developers on both Windows and Linux, and a shared code base that has to be able to compile on both, in the Microchip MPLAB X IDE v6.20, for PIC32 microcontrollers in our case. I ...
Gabriel Staples's user avatar
2 votes
2 answers
112 views

I have an SPI communication with the chip in question. https://ww1.microchip.com/downloads/en/DeviceDoc/MCP3561.2.4R-Data-Sheet-DS200006391A.pdf According to the datasheet, section 6.5, after reading ...
Claude CPP's user avatar
0 votes
1 answer
59 views

Modulo Adressing on a dsPIC33CH512MP508 I am trying my best to get Modulo Adressing to work on a dsPIC33CH512MP508. How ever i only get it to work on X-data-memory not Y-data-memory to work, I cant ...
Hermand's user avatar
  • 11
0 votes
0 answers
58 views

I have a project that was released as a product, last code update about 4 years ago. Compiled with MicroChip C18 (I also have XC18 available but that's another story). I am attempting to get it to ...
user23665643's user avatar
0 votes
0 answers
53 views

Testing an assembly program in Microchip Studio (V. 7.0.2594) shows a strange behaviour which probably is caused by a bug in the EEPROM simulation. Running through my program with the debugger without ...
Dieter Profos's user avatar
1 vote
1 answer
157 views

I was in the process of trying to set the frequency of CAN to 250khz on a SAMe70 microchip board and all the Atmel documentation was flat out wrong. I found a few others post about how their ...
ConnorS's user avatar
  • 11
-1 votes
1 answer
503 views

how to rewrite an nfc tag (microchip). when is scanned whith the NFC Tools app their characteristcs are: Tag type: ISO 14443-4 Technologies available: TypeA, IsoDep Serial number: XXXXXXXXXX Size: 15 ...
alex's user avatar
  • 1
0 votes
0 answers
94 views

Sorry to bother you, but I've been encountering an issue while trying to assign data from RCREG to a variable. In all the other PICs I've used (currently using 18F4550), it was quite straightforward. ...
GoldenRocket 301's user avatar
0 votes
1 answer
714 views

I am using the SAMA5D27-SOM1-EK-SD evaluation kit and I would like to make some changes to U-Boot, in particular the Autoboot settings. I am able to load a kernel image using Yocto, and by default ...
GMAN_82's user avatar
0 votes
1 answer
289 views

I am using Attiny1616 with Microchip Studio. I want to store many results obtained from the code calculations in FLASH memory. I found that the PROGMEM, which preserves constants, does not enable me ...
Takeru Tsuji's user avatar
-1 votes
1 answer
140 views

I am trying to make an analog of the Arduino function micros(). To do this, I have programmed a timer as indicated in the code. #include <avr/io.h> #include <avr/interrupt.h> volatile ...
Mr Krust's user avatar
0 votes
1 answer
229 views

Can someone please help me. I am using PIC18F26Q10 mcu bootloader code starts from 0xF00 and application code starts from 0x4000 The below code is what I tried out but the switch doesn't seem to ...
Hanaan Abbas's user avatar
1 vote
1 answer
474 views

I have interfaced BNO085 with SAMD21G18A controller via I2C synchronous communication running at 100KHz on SERCOM1 of controller and processor is running at 8MHz. I am trying to read Gyroscope and ...
Diracx's user avatar
  • 101
0 votes
1 answer
179 views

I'm new to "ATmega4809 Curiosity Nano Board", I was trying the simple Blinking of LED with a delay of 1second. But the delay which i achieved is 1.24seconds. How do I regulate this ? Please ...
Asha's user avatar
  • 1
0 votes
1 answer
141 views

This is the code made in MPLAB X with compiler XC8 : PROCESSOR 18F2550 #include <xc.h> ; CONFIG1L CONFIG PLLDIV = 1 ; PLL Prescaler Selection bits (No prescale (4 MHz ...
John Sall's user avatar
  • 1,173
1 vote
1 answer
118 views

I have setup SPI2 on a dsPIC33CK64MP505 to receive Left adjusted audio as a slave. If I run the code by polling the SPI buffer, I get data in and all is dandy. However I need the synchronization of ...
Max Kielland's user avatar
  • 5,871

1
2 3 4 5
15