Ask questions, find answers, and share insights on STM32 products and their technical features.
I am doing i2c reads in my while(1) loop. I do have an external interrupt source. I wonder, if the external interrupt arrives while data is being sent on i2c bus, what will happen? The mcu will enter to interrupt service routine clearly, will i2c per...
I have chosen the STM32L07 as it has a LPUART that, from my reading, is ideal for my project where I have to communicate with an SDI12 sensor running 1200-baud 7-bits even parity. When I try and change the 209700bits/s default in the STMCubeMX to 120...
I'm using the template code for the STM32F7508-DISCO from the STM32CubeF7 repository with the only change being that I add a LED toggle and a busyloop to an infinite loop in `main`. The startup code and everything else is per the template.If I flash ...
HiAs the title mentioned, I can't find relevant information in the datasheet.I get some problem when using UART. I have two chips, the master chip transmits packages to RS485 Bus line, and the slave chip receives it then transmits the respond(UART1),...
Here is the RTC initialization code:static void MX_RTC_Init(void){ /* USER CODE BEGIN RTC_Init 0 */ /* USER CODE END RTC_Init 0 */ RTC_TimeTypeDef sTime = {0}; RTC_DateTypeDef sDate = {0}; /* USER CODE BEGIN RTC_Init 1 */ /* USER CODE END RTC_Init 1 ...
HelloIm working on a multimaster setup, but having alot of problems setting it up.the processor in use is stm32f765zgThis is my pin setup(msp):SPI2_SCK_GPIO_CLK_ENABLE(); SPI2_MISO_GPIO_CLK_ENABLE(); SPI2_MOSI_GPIO_CLK_ENABLE(); SPI2_CS_G...
I am developing an application that requires over the air firmware update, but my MCU's Bootloader does not support this Task (stm32f446re). So I was thinking to do this :1)My main appllication will be located at 0x0800 0000 on the flash2) At some po...
I'm asking because I'm reading the page 533 of the manual of my Nucleo L152-RE"""After system reset, the RTC registers are protected against parasitic write access with the DBP bit of the PWR power control register (PWR_CR). The DBP bit must be set t...