All Questions
Tagged with stm32 stm32cubeide
340 questions
0
votes
1
answer
42
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 ...
0
votes
0
answers
42
views
init mode failed (unable to connect to the target)
I am starting my first step in STM programming. I have nucleo dev board with cortex M0 processor.
I written by code for printing hello world. As M0 doenst have SWV we have to use openOCD debugging ...
0
votes
0
answers
35
views
Unknown type name errors in usb device libraries when building basic project for STM32F429ZIT6. What am I doing wrong?
I am trying to create a project using the STM32F429ZIT6 board, but whenever I activate and try to use the usbd libraries, I get hundreds of error: unknown type name 'USBD_ClassTypeDef and similar ...
2
votes
0
answers
55
views
STM32CubeMx doesn't generate whole code for USB
Win10, STM32CubeMx ver. 6.5.0, STM32CubeIDE ver. 1.18.0, MCU - STM32F103C6
I'm creating a new project using either STM32CubeMX or STM32CubeIDE. In the Pinout & Configuration window, I configure ...
0
votes
0
answers
55
views
Water Pump Motor Always ON using STM32 code
I am working on a plant irrigation system using an STM32F446RE board with STM32CubeIDE. The system controls a water pump motor using a GPIO pin.
if (HAL_GPIO_ReadPin(GPIOB, GPIO_PIN_10) ==...
0
votes
1
answer
62
views
STM32 CubeIDE code fails to link: undefined reference to `HAL_RTC_GetTime`
I had some problems linking some company code and the supplied STM32 CubeIDE code together, the linker was complaining about undefined references to ST's HAL_RTC and HAL_RTCEx code:
ld: home/.../...
0
votes
0
answers
33
views
How can I solve the AutoRegisterSchemeHandlersJob and Initializing External-tools issues?
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: ...
4
votes
2
answers
102
views
stm32 nucleo board freertos timebase source results in an infitite loop being triggered
I am using a nucleo-wl55jc1 and I've attempted to setup the example from this tutorial: https://youtu.be/OPrcpbKNSjU?si=mj6qIDGve6GwYWs6
However, when I set the timebase source to anything other than ...
1
vote
0
answers
133
views
How do I include a library in a generated CMakeLists.txt (CubeMX)?
I'm currently trying to make the jump from Arduino to STM HAL and have just started writing libraries for some modules I have lying around. I'm new to this and confused.
I am using the STM32 VSCode ...
0
votes
0
answers
28
views
Reset target during a VS-Code debug session
On STM32CubeIDE, we have this button to reset the target during a debug session :
I could not find an equivalent on VS-Code :
The green-loop arrow is restarting the debug session so it reprogramm ...
0
votes
0
answers
78
views
Is STM32 Cube IDE SystemClock_Config Code right?
`
void SystemClock_Config(void)
{
LL_FLASH_SetLatency(LL_FLASH_LATENCY_4);
while(LL_FLASH_GetLatency()!= LL_FLASH_LATENCY_4)
{
}
// PWR Clock Enable?
//
LL_PWR_SetRegulVoltageScaling(...
0
votes
1
answer
274
views
How do I create an optimal, customizable Ceedling configuration for STM32 unit testing?
I’m working on an STM32 project using the stm32f407g-disc1 and want to set up Ceedling for unit testing. It is important for me to maintain the standard folder structure typically used in STM32 ...
0
votes
2
answers
190
views
Why printf("Hello World") example so hard in STM32Cubeide
well I am using Nucleo Board which is F401RE. Its UART2 has already connected Stlink. Since it is connected to UART2, the print code should have easily worked over USB with the computer, but things ...
0
votes
0
answers
19
views
STM32H7 trigger at falling edge of PWM signal
I'd like to trigger a GPIO when detecting a falling edge on my PWM.
I want to do all of this within the same timer.
For example:
Timer 1: PWM Generation
Timer 2: input capture indirect mode or ...
0
votes
1
answer
145
views
Is that possible the generate without comments main.c in stm32Cubeide
Well i am newone at stm32, i have been working on arduino there is only setup and loop there is only one comments. But with stm32cubeide if i generate my main.c from cubemx. Ohh my god. Where should i ...