Ask questions, find answers, and share insights on STM32 products and their technical features.
I setup my custom board with STM32F401RE. I am using the HSI a the moment with configuration shown in the image below. All I am doing is printing some lines using this function on the UART2:#ifdef __GNUC__ /* With GCC, small printf (option LD Linke...
I want to use ADC for audio conversion. I have an ADC which is triggered by timer with the freq of 8kHz. Then on EXTI the ADC-DMA channel starts. It have to transfer samples to buffer circularly and when half or full transfer complete IRQ appear, the...
I'm working with an external loader. I choose it from debug config and save my images to the qspi flash. However, everytime I debug my code, do I have to save images to the qspi flash again and again?
I am working with the STM32 Nucleo-64 development board, which has an STM32L476R microcontroller. My SystemCoreClock is 16 MHz and TIM17 is clocked at 4 MHz. To my surprise, the code below only works well (the timer doesn't miss the next interrupt an...
I have my own board and it wants to take >20mA at 3V3. I don't want to increase the current limit if there's a short, but I don't know what it needs. What sort of current should I expect before I program it? Thanks
i want to interface shift register(74HC595) with STM32F103C8T6 MCU using SPI Transmit only master mode.I need to continuously write shift register so it is continuously update op pins. so i set SPI DMA in circular mode and when transmit complete i ne...
we bought at Arrow, Date code 2142, COO:PH, CC:RHC. Debugger always shows:
I have a sensor that can communicate via UART, I send a command and the sensor answers me with a hexadecimal frame.I can have distance, angle, velocity values. I know how to store the frame in a buffer but I don't know how to store it in hexa to kee...
Hello,I'm debuging some legacy code for an STM32L476RG MCU. USART2 is enabled, and used as an UART, with DMA for TX, and one interrupt per received character. I'm using STM32CubeIDE 1.8.0.Each time a character is received, the HAL_UART_RxCpltCallback...