Ask questions, find answers, and share insights on STM32 products and their technical features.
#include "main.h" #include "stm32f4xx_hal.h" UART_HandleTypeDef huart2; void SystemClock_Config(void); static void MX_GPIO_Init(void); static void MX_USART2_UART_Init(void); char buffer[8]; int i = 6; int main(void) HAL_Init(); ...
/* USER CODE BEGIN Header */ /** ****************************************************************************** * @file : main.c * @brief : Main program body *****************************************************************...
Hi,I'm working on porting a project from the Nucleo-F411 to a custom PCB. Everything works fine when setting the HCLK to 60MHz and below (running from the internal HSI RC clock and PLL), but i'm getting Hard and Usage Faults when setting the HCLK to ...
Hi, I am running a STML433 with external xtal. I have a serial port that works fine when I set the parity to NONE (I set the port to 9600 baud No parity 8bits 1stop bit). And works well , as expected. I have to set it to parity even (set to 9600 bau...
Hi,i want to use the ADC to measure 7 Hall sensors,i need the conversion time for all seven ADC channels needs to be the same,i use both slow and fast channels, i have the following questions:1. How to make the conversion time for the slow and fast c...
Hello Everyone,I got a new board for then STM32F103C and I want to debug as well as dump code.I connect the BOOT0 to GND, and connect the respective pins of STLink (Nrst Pin- NC).However I am not able to do anything.It gives hardFault error
I have trouble in connecting it any working platform like Mbed online, IAR, etc.... and any tips on how to download the codes.
Hi,I am using NUCLEO-L476RG. I have wrote below code using HAL library to toggle an LED via I2C. But I cant find my board address.Kindly let me know how to find it.MX_I2C1_Init(); /* USER CODE BEGIN 2 */ if (HAL_I2C_IsDeviceReady(&hi2c1,????????,2,10...
Hello,I am working on indirect read of quadspi using MDMA. Regular pooling worked fine without any problem. I have 4 line dual buffer QSPI circuit. I used HAL function HAL_QSPI_Receive_DMA(&hqspi, data);No data read from qspi. Moreover I have found i...