This question has been asked in various forms before but I have not found an answer. I am using TIM2 to generate a center aligned PWM signal as shown in the image. I want to sample the ADC at the center of the PWM. I am using the TRGO signal of the ...
Occasionally debug gets stuck while loading and never gets to main with the console showing:Program received signal SIGINT, Interrupt.0xfffffffe in ?? ()Once in this mode, the only way to recover is to use the STM32CubeProgrammer to clear the target ...
The following test code, when writing pTemp[3] to EEPROM, that is, when writing 0x00 to internal EEPROM(FLASH 0x08080000), an error will occur. Calling library function DATA_EEPROM_ProgramByte will have the same error. What causes it? Will it be due ...
Hello All, I'm attempting to get two ADC's to simultaneously sample on a STM32H743. I have tried both the NUCLEO board and the EVAL board and have not seen much success. I'm using STM32CubeIDE to configure everything and STM32CubeMonitor to monitor ...
Hi,I am trying to receive and trasnmit data with STM32F030C8 mcu, i can receive any data from serial monitor, but when i try to use HAL_UART_Transmit to send data, i can not see anything on serial monitor. Any advise?uint8_t data[25];//this my data b...
I have a simple code I'm using I2C and TIM2 timer interrupt at 100us. Initially I suspected the issue comes from HAL_TIM_PeriodElapsedCallback but the code inside this function is really few instructions.In the main.c there are two calls of Error_Ha...
I want to send uint32_t spiData1 = 0x48240000; using HAL_SPI_Transmit func but I'm unable to send this data.How can I do the following thing.