Questions tagged [bluepill]

A simple process monitoring tool written in Ruby

It can be found on this GitHub page.

56 questions
0
votes
1 answer

What's the right Can Bus settings for STM32F4-Disc for 250 kbps by using nanoFramework?

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…
0
votes
0 answers

Time clock using built in RTC of STM32 bluebill

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 */ …
moaz
  • 19
  • 4
0
votes
0 answers

Could not verify St device error occurs in STM32CubeIDE

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…
moaz
  • 19
  • 4
0
votes
0 answers

Error in final launch sequence: Failed to execute MI command:

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…
0
votes
1 answer

STM32cubeide with stm32f103c8t6 could not verify ST device

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…
lamboant
  • 11
  • 1
  • 3
0
votes
0 answers

Weird performance for SPI comunication in bluepill and stm32cubemx

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…
Mostafa Ahmed
  • 11
  • 2
  • 4
0
votes
2 answers

STM32 External LED blink

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
Sherif Beshr
  • 23
  • 1
  • 8
0
votes
1 answer

Peripheral Initialisation of GPIO Output with stm32f1xx_hal on bluepill development board

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…
Lut Ze
  • 123
  • 2
  • 10
0
votes
1 answer

STM32 Disable and enable DMA and PWM controlled by timer

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…
Jokkefar
  • 11
  • 3
0
votes
1 answer

Is the NVIC controller a DMA?

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…
pauk
  • 350
  • 4
  • 15
0
votes
1 answer

STM32F103 blue pill - problems related to blinking led bare metal

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…
pauk
  • 350
  • 4
  • 15
0
votes
1 answer

Weird Bug when setting register in assembly

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…
0
votes
3 answers

STM32 Blue pill and Arduino IDE

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…
0
votes
1 answer

__weak HAL_GPIO_EXT1_Callback ( uint16_t GPIO_Pin) even though I have defined HAL_GPIO_EXT1_Callback ( uint16_t GPIO_Pin) in my source

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…
SolwiseMD
  • 69
  • 5
0
votes
2 answers

STM32F103 Cannot jump to bootloader from app

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…
Jacek S
  • 1
  • 2