Ask questions, find answers, and share insights on STM32 products and their technical features.
I have implemented a small I2C driver for stm32l432kc board and tried to use it to read from a couple of MPUs I have first:I can read single WHO_AM_I register correctly giving 0x68 asserted in the debugger I can write to the POWER_MGMT_1 register to ...
RTC code is not working properly while VBAT is connected to a 3v coin cell, it only retains time from the last value but not incrementing as the time increases please let us know what's wrong with the codeI'm following this below linkhttps://www.micr...
HiI have a STM32H747I-DISCO boardI want to test NOR Flash ( MT25QL512ABB8ESF-0SIT ) with Quad SPII didnot find an example code for it.Can I get an example code for NOR Flash with IOC file.
Hi,I'm trying to get a clock output at 460.9 Khz on PB2 by setting the MCO2.The PB2 pin is declared as follow:static void MX_GPIO_Init(void){ GPIO_InitTypeDef GPIO_InitStruct = {0}; /* GPIO Ports Clock Enable */ __HAL_RCC_GPIOB_CLK_ENABLE(); /*Config...
void External_Clock_Config(){ TIM_ICInitTypeDef TIM_ICInitStructure; TIM_OCInitTypeDef TIM_OCInitStructure; NVIC_InitTypeDef NVIC_InitStructure; GPIO_InitTypeDef GPIO_InitStructure; RCC_APB2PeriphClockCmd(RCC_APB2Periph_TIM1, ENABLE); /...
Hi ,We have SEGGER J-TRACEpro for CORTEX-M processors . https://shop-us.segger.com/product/j-trace-pro-cortex-m-8-18-00/ We want to take the Code Coverage report . We are using Ozone IDE and loading the .OUT file to the OZONE IDE .There are 2 cables ...
When data size equal to 3 rx buffer last element is true only others are not. I expected all of them is true data. Why it is working like that ? I examine the result on debug modestatic void Init_SPI2(void) { SPI_InitTypeDef SPI_InitStructure; ...
If someone has that information please share, better would be if you can point me to the documentation where I can found the information. We are using the STM32F429ZI nucleo board.
Hello,I’m using STM32L412RB.I'm trying to differentiate between the types of chargersWhen the charger is connected, reboot occurs, and I run HAL_PCDEx_ActivateBCD()/HAL_PCDEx_BCD_VBUSDetect() in MX_USB_DEVICE_Init().After that, in case of abnormalit...