Quantcast
Channel: Microcontrollers
Browsing all 4921 articles
Browse latest View live
↧

Image may be NSFW.
Clik here to view.

ESP32 dev board flashing only when pressed BOOT button

Hello. Is it normal for the ESP32 board to start uploading a sketch only when BOOT button is pressed? The error I get: It is annoying to press button everytime i want to flash a device. Is there any...

View Article


BLUENRG-M2SA Blink Program

I am trying to use a BLUENRG-M2SA as my MCU. I am using an Stlink V to flash it. The program is written in C to flash a blue light. This does work when the programmer is connected to the MCU. When I...

View Article


Why do you need external interrupt?

Hi, I know what are external interrupt but i dont know when the really needs in project. I want to design a system that really needs external interrupt. For this I started searching project's on the...

View Article

manually switch a register inside SPI handle

Hello, In my efm32lg I need to set my routing regystry in CSPEN to be zero, i try to write a code for manualy put zero inside cell 2 as shown in the manual printscreen bellow. //x3x2x1x0 //0 1 0 0...

View Article

Nano 33 IoT difficulty with I2C communications

I am still having difficulty in trying to get the Nano 33 IoT to communicate using the I2C with another Nano 33 IoT. The specific problem I am experiencing is that data just stops receiving at the...

View Article


ESP32 understanding uploading a sketch process

Hey. Can someone help me understand how does uploading a sketch to ESP32 works exactly? I am using Arduino IDE to program ESP32 devices and it was working fine until someone shared .bin file with me...

View Article

Could you help me to understand the timer interrupt

I am trying to understand how timer interrupts work in a microcontroller. I want to understand how the timer interrupt works in any microcontroller Before to understand how a timer interrupt works in a...

View Article

External Interrupt on PIC16F887 not working // MPLABX XC8 C

I would need some help with the external interrupt on pin 33 on the PIC16F887(PDIP). Basically I have tried everything, went by the datasheet, and the interrupt ended up not working. I'm 99% sure, that...

View Article


how to define SPI handle location manually

I want define my SPI handle communication to be port E oriented(EFM32LG controller),As seen in the data sheet photo bellow. By looking at this table from the datasheet we see that in order to be PORT E...

View Article


Capacitive touch sensors on ESP32

Hello. I need a way to increment or decrement a counter using hardware. I have initially thought of using 2 buttons - very simple and old method ( one for incrementing and one for decrementing). I have...

View Article

Recovering a Rockchip from manufacture's firmware update

Hi guys, I have posted about a faulty Guitar efx pedal which gets stuck at boot up. It has got a Radxa Rock2 SoM module (its based on the Rockchip RK3288). I thought it had something to do with the...

View Article

External Interrupt IRQ Handler with ADC DMA IRQ Handler

Hello everyone, I'm trying to build a sensorless 6 step BDLC motor control using STM32f103. I'm using 3 external interrupts to detect rising and falling BEMF signals and 6 step commutation sequence and...

View Article

ESP32 - GPIO25 as PWM output connected to GPIO33 as ADC input - voltage drop...

I am a bit stuck on this one and would appreciate help or tips from the community here... I am using ESP-IDF and using a dev board from TTGO (with LORA). I've programmed the GPIO 25 to have a 100KHz...

View Article


How to use USART interrupt API for status transmission

Hello,each clock cycle my EFM32LG sends a report to the PC regrading how many LEDs are ON, I control the number of LEDs by a command that i send from PC via USART. From the API manual shown bellow ,how...

View Article

Is it possible to get 6 digit safe code off of electronic lock eeprom

I'm just curious, I recently had to bust into my fathers electronically locked safe, drilled into the side and pounded the locking pins back into door, because we didn't know the code. Just for fun I...

View Article


SAMD21G18 - getting it started

Hello, I designed a board with a samd21g18 microcontroller. Now, I tried starting it and at first it looked good, nothing exploded. I broke out all the connections I would need for the SWD/JTAG...

View Article

PIC18F26K22 I2C Slew Rate issue

Hello to everyone ! I am currently working on a portable radio project using TEF6686 tuner module using PIC18F26K22 and a SPI LCD module EADOGM 132. My issue is as follows: If I try to read data from...

View Article


FlexNoC interfacing with AXI

Hi, Any articles or tutorials on interfacing AXI with FlexNoC interconnect ? -ben

View Article

Help diagnosing problem with GPS module for arduino

Hi, I recently soldered some header pins to my GY-NEO6MV2 GPS Module. With a regular volt meter I measured that all pins were not connected and after connecting the 5V and GND a led starts blinking on...

View Article

Alternative of flash magic

HI I found a microcontroller board after long time but it's not working. I wrote C code in the keil software and used flash magic to program I think the problem with flash magic software, due to which...

View Article
Browsing all 4921 articles
Browse latest View live