Ask questions, find answers, and share insights on STM32 products and their technical features.
I used STM32CubeMX to build a very simple test case to output both the High Speed Clock (HSE) and Low Speed Clock (LSE) on output pins. I selected "Master Clock Output 1" and Master Clock Output 2" when I configured the input clocks. The HSE clock ...
Hi everyone!After AVR mcus STM32 with Cube and HAL is like an oasis in the desert! But after many experiments, researches and sleepless nights I know the situation isn't so great as I thought.I have few boards with 100, 103, 407 and other series.I'm ...
I do not want to use the USB part of the STM32L082. According to the Ref Manual RM0376 page 140 there is no explicit mention that the VCC_USB can be tied to GND if not in use. So what would be the thing to do (and reduce the power even further): GND ...
Posted on February 28, 2013 at 04:03A am using STM32F103T4, a low density device, and want to use the re-mapped SPI1. Below is my implementation: /* GPIO and AFIO clock enable */ RCC_APB2PeriphClockCmd(RCC_APB2Periph_AFIO| RCC_APB2Periph_GPIOB, EN...
Hi,Using the following code, ADC can be triggered by TIM22 successfully./** * @fn static void ADC_Config(void) * * @brief ADC configuration. */ static void ADC_Config(void) { /* Enable clock */ RCC->AHBENR |= RCC_AHBENR_DMAEN; RCC-...
I am working on a hard fault handler were I want to store some key values into ram before resetting. This data will then be further handled at next boot up.My problem is that the data does not get written into RAM unless I step through the writing co...
The STM32F4xx reference manual (RM0090) specifies under the GPIO main features section that there are "up to 16 I/Os under control" - does this mean I cannot control more than 16 GPIO pins or am I interpreting this incorrectly?
Hi ,I'm doing an audio recording with the SAI interface of the STM32L4R9AI microcontroller.I'm using DMA in circular mode and I'm getting audio data which I wrote into SD memory.However, when I tried to open the recorded file , I hear my audio speec...
I have a UART configured in DMA read mode:/* task 1 code*/ uint8_t dmaRXBuffer[1]; HAL_UART_Receive_DMA(&UART_DOWN_USB_TO_SERIAL, dmaRXBuffer, 1); /* UART DMA receive complete ISR code*/ void HAL_UART_RxCpltCallback(UART_HandleTypeDef* huart) { if...