Forum Posts
Resolved! how to jump out of while()?
hey thereI have the code belowuint32_t startTime = HAL_GetTick(); while (HAL_GetTick() - startTime < 5000) { for (int i = 0; i < 3; i++) { if (strstr(InputMSG, answerSearch[i])) { resault = 1; break; } } }wh...
Resolved! STM32G0B1 release date and compatibility
HiCurrently we are using the STM32G071 MCU, but we will running out of flash memory soon, so we looking for an alternative. I've seen that a bigger G0x1 (STM32G0B1) will be available in the second half of this year. Are there more details available f...
I integrated ST self test libraires into my code, but Flash test is getting failed all the time.
In our code, the start_address of our application is 0x08020000And the end address based on what I see in the cube programmer is 0x08047440Based on this equation from the user manualCRC_START address = (uint32_t *)(ROM_END - 4 * (ROM_END + 1 - ROM_ST...
Interface CAN with STM32f4 and STM32f091
HII am trying to interface Stm32f407board with cjmcu2551 transceiver with tcan1051V module and stm32f091cct6.the clock rate for both controllers(APB1 for CAN=25Mhz) with prescalar=5, time segment1=8 and time segment 2=1 with baud rate 500kbps. i am n...
Does ADC regular conversion in DMA mode and ADC injected conversion in interrupt mode work together using HAL driver? STM32F303
Hello,I have 6 ADC channels that shall be launched by software in regular conversion mode. I set the ADC to "End of sequence" and enabled DMA to jump into the callback function when all channels are converted. This is working fine so far.I have anoth...
OSPI Flashing in IAR EWARM
Hello,I am working on a project that wants to store pre-built binary files in the OSPI on the STM32L562E-DK. I am using all of the default jumper settings for the board. When I build my project in IAR EWARM 8.50.9 and then try to program the device v...
How to redirect std::cout to ITM port 0
Hi everyone, I have successfully used the following code to redirect the printf output to SWD, ITM View/* USER CODE BEGIN 4 */ int __io_putchar(int ch) { ITM_SendChar(ch); return ch; } /* USER CODE END 4 */Now I am working with C++ and would...
M. Sc. Student - How to choose the right microcontroller for my power electronics application?
Hi all!This is quite a generic question, any help is appreciated.I'm doing my Masters Thesis on the design of the digital control of different power converters (active rectifier, 3ph inverter, buck, boost and resonant LLC).One of the first steps of t...