Resolved! How to program empty STM32f042C4U6 from UART1 instead of SWCLK-SWDIO?
Is it possible to program an empty STM32F042 using UART1 instead of SWCLK-SWDIO?I want to flash programming of STM32F042 which is zero.
Ask questions, find answers, and share insights on STM32 products and their technical features.
Is it possible to program an empty STM32F042 using UART1 instead of SWCLK-SWDIO?I want to flash programming of STM32F042 which is zero.
Hi. everyone"I've found that when I enter sleep mode, my uwtick stops counting, which causes issues with calculating the DataCollect time after waking up with the RTC. Is there a way to resolve this?"while(1){ if(HAL_GetTick() >= Tcmd1_dataCollect...
My interrupt is able to be triggered when my variable SIZE_OF_ARRAY is 10. However i want to be listening for large amounts of data so i change it to 1000 and my HAL_UART_RxCpltCallback function doesn't get called. Any idea why this is? I am using ST...
I am running into an issue with the STM32G0B0 MCU: Writing to PD1 seems to result in the opposite value being somehow applied to PD0, even though PD0 is set to input.Effectively, I created a new project in STM32CubeIDE, configured PD0 & PD2 as GPIO_I...
I want to capture several PWM signals, i.e. measure the pulse widthThe reference manual gives an example for TIM2 TI1 that uses channel 1 and channel 2 to measure pulse width and period. Therefore SMCR.TS bits are set to use filtered TI1 as trigger/r...
I tried to use this board to capture image by using DCMI DMA with a ov2640 camera. The problem is data read is successful in DCMI(by watching the register) but the buffer(initialized:uint32_t buffer[16000]={0}) used to store the image data was the sa...
Hello everyone,I hope you're all doing well.I'm currently working on a project with the STM32F103RET6, and I've encountered an issue when writing data to a page of Flash memory. I'm using the FLASH_ProgramHalfWord function to write half-word data. Wh...
Folks,Does HAL have constants for the total number of ADC channels? I want to iterate through all channels and make sure that all of them are disabled. Here's the code I have in mind. ADC_ChannelConfTypeDef sConfig = {0}; sConfig.Rank = ADC_RAN...
Hello everyone,I use GPIO example project (from repository of ST) and open it by STM32 cube IDE. then when I built it give error: make all make: *** No rule to make target ...How to fix this error?Thank you! Sorry cause my English not good.