482 questions
0
votes
0
answers
44
views
SIM800C doesn't go to sleep
My goal is to make my SIM800C sleep for a few seconds using my Blue Pill and STM32CubeIDE. I did the following steps:
configured PA6 and PB6 as (Output) Output Pull Pull and No pull up/down.
used ...
-2
votes
1
answer
177
views
Local variable in .c file overwrites memory address previously aquired in ARM GNU assembly file [duplicate]
I have implemented a basic FIFO data structure with its related functions/subroutines in a FIFO.s file and want to use them in the main function inside a main.c file;
// FIFO.s
.syntax unified
.cpu ...
1
vote
0
answers
70
views
Is there a way to inspect the actual STM32CubeProgrammer invocation during the launch sequences in STM32CubeIDE?
During a STM32CubeIDE launch sequence, a proprietary version of GDB runs, which uses STM32CubeProgrammer to flash the MCU before proceeding with the debug. In the Launch Configuration window, I can ...
1
vote
0
answers
51
views
Is it possible to reuse label names in ARM GNU Assembly? [duplicate]
I want to use the same label name in different parts of my Assembly code instead of using a new, never-before-used label name; Is such a thing possible?
For example:
.
.
.
Factorial: // A subroutine ...
4
votes
1
answer
106
views
Is it possible to undo the effect of the .req directive in ARM GNU Assembly?
I want to rename (more like add an alias to) one or more registers for a specific part of my Assembly code using the .req directive and later on undo the renaming of said register(s) so that those ...
0
votes
1
answer
127
views
Error Could not verify ST device when Debugging code for my Blue Pill board
Created a new STM32 project and made settings below:
HSE: Crystal/Ceramic Resonator
SYS: Debug: Serial Wire
Clock: 72 MHz
Here's the debugger settings on STM32CubeIDE (version 1.19.1) with a simple ...
2
votes
1
answer
101
views
HTU2X sensor doesn't respond to code at all
Did the following steps just to test if my temperature sensor HTU2X is working or not.
Selected my board (Nucleo-64 STM32F411RE) from STM32CubeIDE then enabled I2C1 which in turn enabled pins PB6 (as ...
0
votes
0
answers
32
views
stm32f1 bluepill strange behavior after remap jtag pins
I'm working on some libraries and remap lib is one of them. earlier this library was tested and working fine. I released A15, B3 and B4 pins . but now , MCU just resets after remap or do some strange ...
3
votes
1
answer
617
views
How to use HAL_UARTEx_ReceiveToIdle_DMA - STM32
I am using an STM32L476 dev board to buffer data that it is receiving serially through the virtual com port, in circular mode. I have decided to use the DMA of the STM32 and perform an echo with UART2,...
1
vote
1
answer
173
views
STM32 Input Capture callback not triggering
I am using a Nucleo-G070RB with STM32CubeIDE and trying to do some testing for a project with the input capture. The timer callback doesnt get called though. The circuit is simple, I just want to get ...
2
votes
2
answers
136
views
FreeRTOS not properly running
I'm learning more about the FreeRTOS and I am trying to compile and use it without CMSIS-OS. Which means I added all the source code from FreeRTOS and added it to the compiler/linker includes. I was ...
0
votes
0
answers
97
views
stm32f769 discovery kit printf and ITM_SendChar
I am using a stm32F769-Disco development kit with stm32cubeide and touchgfx.
I have made an project from touchgfx and opened it from subeide.
The project is loading normally and i have overwritten the ...
0
votes
3
answers
130
views
STM32L476RG Random Number Generator
I'm working on the STM32L476RG microcontroller and trying to use the internal hardware RNG. The RNG requires a 48 MHz clock, so I attempted to configure PLLSAI1 as the source for the 48 MHz domain (...
0
votes
0
answers
212
views
Upgrade and programming FUS and BLE STACK with STM32_Programmer_CLI (STM32WB55CG)
I'm facing trouble with STM32CubeProgrammer for upgrading FUS and programming the Wireless stack and my application into STM32WB55CG. I could upgrade FUS (V1.2.0), and do stack (V1.20.0) and ...
0
votes
1
answer
89
views
STM32 Nucleo F303 Board not sending messages on CAN bus
I'm trying to send a message over a CAN bus with my F303 board, but I'm not getting anything. I have an oscilloscope hooked up to my CAN_Tx pin and I've been getting nothing no matter what I try. I ...