Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
151 views

I am converting default usb middleware speaker example into microphone input. For now i am transmitting dummy data, not actual microphone data. I have replaced descriptor and it seems to be correctly ...
Abrikos Kokos's user avatar
1 vote
0 answers
129 views

I am trying to use AD9240, a 14-bit ADC, with STM32H753 to sample a signal at 1MHz. I found that using DCMI with DMA is a good choice for it. A 1MHz clock signal is generated on the MCU at TIM3_CH1. ...
y_s's user avatar
  • 69
1 vote
0 answers
126 views

I'm using STM32F072C8T6 Microcontroller with Konnekting Device Library . I want to trigger a BELL for less than half second . I wrote a logic for that BELL & it works well , but after a LONG RUN , ...
Kavinraj's user avatar
4 votes
1 answer
165 views

env IDE : Keil uVision chip : ABOV MC94F1102A(8051 processor) language : C detail When I downloaded the program to the board, it didn't work. I reviewed the memory mapping tables. I found the ...
정성우's user avatar
0 votes
0 answers
70 views

I'm trying to connect an ESP32 (as Bluetooth master) to an Arduino Uno that has an HC-05 Bluetooth module attached. My goal is to send serial data between the ESP32 and the Uno. Setup: Arduino Uno ...
Osama Tharwat's user avatar
2 votes
0 answers
209 views

I'm working on a boot-loader for STM32G491. The device is supposed to jump from the boot-loader (BL, located at 0x08000000) to the application (APP, located at 0x08008000). When I flash the APP ...
y_s's user avatar
  • 69
2 votes
0 answers
78 views

I would like to create a Bluetooth remote control for my Calliope Mini v2. The Calliope works with BLE (Bluetooth Low Energy), and I wrote the code for it in Python using Makecode. I used a BLE ...
Gartenprofi's user avatar
2 votes
0 answers
60 views

I recently built myself a ham radio repeater and used ESP32 for its control unit. I added Telegram control capabilities to get some status info and force some actions remotely. Using FreeRTOS made ...
Javier López's user avatar
3 votes
1 answer
128 views

I am writing firmware for a microcontroller. (In this specific case it is a Microchip PIC, but I am looking for an answer that is equally applicable to any brand of microcontroller.) Arduino has a map ...
Sod Almighty's user avatar
  • 1,866
2 votes
3 answers
150 views

I have a bare-metal firmware for a microcontroller where some interrupts generate some data and they are passed to the main context where all the processing happens. I am considering feeding the ...
EarthLord's user avatar
  • 163
3 votes
2 answers
117 views

I’m working on a PIC16F18877 project where I’m trying to read a digital motion signal from an HC-SR501 PIR sensor. I’ve run into an issue where my PIR sensor seems to always read LOW (0) on my PIC ...
boy's user avatar
  • 41
0 votes
1 answer
113 views

I am working on interrupt and thinking about it lately. see if i configure a pin for example say PA1 as my interrupt. then while in Handler it is handling from PA1-PA9 Handler. meaning single handler ...
Vin37's user avatar
  • 13
0 votes
1 answer
97 views

I need to do this project: Design a circuit that includes an Arduino Uno board, a temperature and humidity sensor (22DHT), two dot matrices with drivers, a touch sensor, and some resistors. The ...
Crisiroid's user avatar
0 votes
1 answer
94 views

I have an embedded systems course in my university and i have a weird question that i don't know the answer to the question gives us the code (i may have a syntax error but the logic is correct) void ...
zeyad daowd's user avatar
-1 votes
2 answers
64 views

i have a setup with a microcontroller where pushing a button i attached with gpio pins turns on a laser pointer using gpio pins. this is part of a larger project including speakers and other leds and ...
mamanyx's user avatar
1 vote
2 answers
154 views

I have a problem with CAN sending variable of type ulong from microcontroller Infineon C167CS (ST10F168). External microcontroller sends me remote request, and I send data generated by my ...
Ilmir Gogorev's user avatar
1 vote
1 answer
190 views

I am trying to generate 3 channel center aligned PWM with complementary outputs and deadtime insertion on an STM32G474. To test functionality of the timers, I currently have the 6 outputs connected to ...
The Tomster's user avatar
1 vote
0 answers
40 views

The time that cosf takes seems to depend on the size of the input value. This is especially noticeable on microcontrollers but also present on high-end machines. What exactly is the relationship ...
dubious's user avatar
  • 259
2 votes
1 answer
112 views

I'm trying to write a driver for the Infineon SLB 9670 TPM to use it on an embedded system (AD Blackfin ADSP-BF607). So far I'm able to read registers but I fail when I try to perform a write ...
Lorenz's user avatar
  • 31
0 votes
0 answers
122 views

The codebase is generated by CubeMX and now I'm facing issues during debug. debug method is SWD using ST-LINK V2. In debug mode, after resume fron HAL_Init(); , the code will crashed into system ...
Travis Su's user avatar
  • 709
-4 votes
1 answer
81 views

Im trying to set PA10 to HIGH, but It doesnt seem to work. What I have: STM32L152RE.ld(No idea whats going on here I got it from Chatgpt) Makefile(same thing) main.c(I wrote this by myself and think ...
Trebor's user avatar
  • 1
0 votes
0 answers
211 views

My LilyGO TTGO T-SIM-A7670E R2 ESP32 - ESP32-WROVER sudddenly couldn't access my Azure Function App anymore. It has been functioning non stop for more then 2 months. Without a problem. And then, out ...
Rikkert's user avatar
  • 75
0 votes
2 answers
70 views

I am trying to read the GPIOB / GPIOA values through my program. This is a threaded program that gets messages over tcp/ip as a signal to change the pins. unsigned char gpioMon::subtractiveLookup(...
emb3dd3d's user avatar
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
0 votes
0 answers
51 views

I am running a program in renesas Rl78 microcontroller and sometimes not always during UART communication I get a reset due to illegal memory access. Now in genral for this and other microcontrollers ...
Nayan Bhatia's user avatar
1 vote
0 answers
46 views

I am using the i.MX 8ULP microcontroller, and I would like to use TPM3, lpSPI2 from the DSP domain. How could I activate or enable the domain and the PCC2 bus, so I could have full access to the ...
Charchi's user avatar
  • 11
0 votes
1 answer
78 views

I'm using TrustZone on RP2350 microcontroller. After setting up SAU to define secure and non-secure memory areas, I'm jumping to non-secure code with bxns instruction. The non-secure part of the ...
jpa's user avatar
  • 12.5k
1 vote
0 answers
32 views

I don't know why when I uncomment this line: // i2s_set_pin(I2S_NUM_1, &i2s_mic_pins); getting fb frame takes much more time. (I don't have any error.) OUTPUT: Without i2s_set_pin: 16:59:56.940 -&...
Ahmadreza Gholizade's user avatar
0 votes
1 answer
33 views

I read in TSC STM32 presentation that it is possible to exit Stop mode using TSC, but I can't find any real technical information about it
Maxim's user avatar
  • 11
-3 votes
1 answer
136 views

I am trying to read i2c data from a battery board to an Up Squared 7100 board. This board uses the same 40 pinhead as the raspberry pi so I would think the i2c connection would work the same way. When ...
jshadey's user avatar
0 votes
0 answers
26 views

Original Board: Raspberry Pi 4 model B New Board: Up Squared 7100 LCD: NHD-PCB12832A1Zrev2 import RPi.GPIO as GPIO from ascii_values import ASCII168 import icon_manager # Mapping based on BCM (...
jshadey's user avatar
0 votes
0 answers
75 views

I have been using STM32 CubeIDE version 1.14.1 for programming STM32 microcontrollers for a long time. However, today when I opened it, I encountered the errors "AutoRegisterSchemeHandlersJob: ...
Celal Altın's user avatar
0 votes
0 answers
62 views

I am trying to use my STM32F429IGT6 CAN to receive some data from the host computer. The data is basically 4 16-bit unsigned integers (8 bytes in total), the message ID is 0x16 and uses the 11-bit ...
Chen Aki's user avatar
1 vote
0 answers
56 views

I am trying to measure two PWM input signals and, based on them, turn a LED on or off. I am using a PIC16F18313 microcontroller. I have a Futaba remote control, and through its receiver, I receive two ...
Tiberiu Berchez's user avatar
2 votes
1 answer
56 views

I am currently working on the frdm RW612 board and have the following code that measures the temperature in the room over a few days. My script works fine but I have no way of gathering this data. ...
Seaver Olson's user avatar
0 votes
0 answers
98 views

I have a question, when I use this code in MPLAB IDE v8.92, Windows 11, when it arrives to the rlf line it behaves weird either if I use 0 or 1 for "d" in rlf. Values for j and k are 0xFF. ...
Adolf RJ's user avatar
1 vote
1 answer
94 views

I am using a PIC32MZ2048EFM144 uC. I wanted to know time taken for a routine called adc7768(). When I go to window->debugging->stopwatch and try to debug it gets hung. Debug will not happen. ...
maxy's user avatar
  • 75
1 vote
0 answers
68 views

We are using an NXP K82F microcontroller with a 4 MB Macronix MX25U memory chip connected over the Quad SPI bus to expand the Flash memory space. The expanded memory space has been working well up ...
Chris Mueller's user avatar
2 votes
1 answer
66 views

I am using adc7768 to receive ADC samples. According to datasheet to calculate CRC, we can do it every 4th or 16th sample. My question is for 4 samples last 3 samples CRC will be header of 4th sample. ...
maxy's user avatar
  • 75
0 votes
0 answers
287 views

I have purchased the MSP-EXP430G2ET development board from Texas Instruments and installed CCS (Code Composer Studio Theia) on my Ubuntu. When connecting the board via USB to the computer, the leds ...
hsc's user avatar
  • 13
0 votes
0 answers
42 views

I am working on a vagrant / python script that will download micro controllers The vagrant script loads the below VM: pi5.vm.box = "debian/buster64" Then I also load these as stand-ins for ...
TheStoneWorker's user avatar
0 votes
1 answer
437 views

I want to change the devices start logo. I placed my logo in 0x00060000-0x0007FFFF address range, it's 128kb. I am using this online tool for resizing, formatting and for generating array. https://...
neyimvarki's user avatar
3 votes
0 answers
115 views

I have an issue with printing basic things with serial with zephyr project. I have the following prj.conf CONFIG_GPIO=y CONFIG_SERIAL=y CONFIG_UART_STM32=y CONFIG_CONSOLE=y CONFIG_UART_CONSOLE=y and ...
drerD's user avatar
  • 699
0 votes
0 answers
48 views

I have noticed that the CMSIS packs for no longer include bitfields for the peripheral. https://www.keil.arm.com/packs/ It appears that version 2 had bitfields and then version 3 does not. What ...
Trampas's user avatar
  • 451
0 votes
1 answer
116 views

I am trying to create a metronome by using the led on my microcontroller board to blink at a specific number of beats per minute in order to figure out how to do hardware interrupts at specific ...
Leonidous's user avatar
1 vote
2 answers
58 views

My code should read the ADC 3 times, then take the average, if it is less than half of the fullscale value, the the onboard LED should turn off, if it is higher than half of the fullscale value it ...
Martin's user avatar
  • 13
0 votes
0 answers
48 views

Description: I am working with the APM8S007 microcontroller, which is an 8051-based 8-bit microcontroller, and I need to implement firmware update functionality. I have developed a bootloader that ...
dbgarasiya's user avatar
2 votes
1 answer
75 views

I am working with a Tiva C EK-TM4C123GXL development board (MCU -> TM4C123GH6P). I am using Keil uVision 5, ARM compiler 6.12 and CMSIS pack for this specific microcontroller. My code is following: ...
Nemanja's user avatar
  • 33
0 votes
0 answers
86 views

I am sending raw data using lwip library, udp protocol,RAW API.my evaluation board is stm32 F429zi. The problem is when i send 48 bytes using udp_send() function, as i measured by oscilloscope, it ...
Seiedali Toliat's user avatar
1 vote
2 answers
71 views

I am not finding the clock frequency of the oscillator used on the NUCLEO-WB55RG board? What's the value? Where can I find it? How to select it as clock source for the MCU? Which one should be ...
Rovo's user avatar
  • 95

1
2 3 4 5
76