I'm trying to connect BluePill board (setted up by STM32CubeMX) with STM32F4-Discovery (setted up by ChibiOS and nanoFramework).
BluePill has these parameters:
APB1 peripherial clock: 24 MHz
Prescaler (for Time Quantum): 6
Time Quantum: 250.0 ns…
I am new in STM32 development and trying to built RTC clock that display's time on oled display.
But on screen some random unidentified symbols are displaying by the below code.
while(1){
/* USER CODE END WHILE */
/* USER CODE BEGIN 3 */
…
I am trying to run Blinky on stm32 bluepill but I am getting error message....."Could not verify ST device! Please verify that the latest version of GDB-server is used for the connection"
I have also edited the stm32f1x.cfg file but the issue is…
I am using STM32F103C8T6 and ST-Link V2 Programmer. I am in Windows 11.
Error in final launch sequence:
Failed to execute MI command:
target remote localhost:61234
Error message from debugger back end:
localhost:61234: Connection timed out.
Failed…
I am new to embedded and stm32cubeide, self teaching so I can use it in a group project related to university studies.
After purchasing a "blue pill" from aliexpress, I realized I might of bought a clone chip. I followed the instructions shown here…
I am facing a weird problem with bluepill (stm32f103c8). I developed a code to control lead addressable stripe that uses SPI communication (APA102), and it worked nicely, then I tried to PWM on timer 2 beside SPI, and this made led stripe to make…
I am trying to Blink external LED using STM32CubeIDE and Proteus
while (1)
{
HAL_GPIO_TogglePin(LED_GPIO_Port, LED_Pin);
HAL_Delay(100);
}
[)2
The LED doesn't blink
I would like to initialize a basic output GPIO pin on my blue pill board. I am using Rust and the stm32f1xx_hal crate. I want to create a struct Peripherals which holds the handle to the output in the following way:
use cortex_m_rt;
use…
I am using a STM32F103. I am trying to dynamically enable and disable a DMA transfer and a PWM signal, which are controlled by a timer. The timer is very unstable, and the result changes from reboot to reboot. The code runs the function…
I come with a theoretical question related to the well-known STM32 blue pill, to be more specific, I don't know if the NVIC controller is a type of DMA. I would say that it is a DMA as long as it manages the interrupt requests, on the other hand, I…
I come across a problem when trying to run this code in order to blink the built-in LED (located at PC13) on the blue pill board (STM32F103C8, ARM Cortex M3):
#include "stm32f10x.h" // Device header
#define max 1000000
int…
I was playing with blue pill (Stm32F103CB) and trying to set r7 register via assembly,
.syntax unified
.cpu cortex-m3
.fpu softvfp
.thumb
.global vtable
.global reset_handler
.type vtable, %object
vtable:
.word _estack
.word…
I want to program Stm32 bluepill with Arduino IDE but when I want to define pins like I write " pinMode(A10, OUTPUT)" it gives error. the error is "'A10' was not declared in this scope"
I want to know how should I declare Pins in Arduino IDE for…
I'm working in STM32 CubeIDE with a Blue Pill board.
To control the size of main.c I have gathered groups of functions together in to several c/h pair files. One of the pairs is 'myirqcallbacks.c/h". At the moment I have two UART IRQs and an…
I'd like to do a jump to bootloader from application on STM32 Blue Pill STM32F103C8T6.
My approach looks that:
- Write to BKP->DR1 any value;
- Do a reset (NVIC_SystemReset());
- A the beginning of main, check if BKP->DR1 != 0, than set it to 0 and…