Ask questions, find answers, and share insights on STM32 products and their technical features.
I am using example code SPI_TwoBoards_FullDuplex_DMA, and want to change SPI1 to SPI2. LL_APB2_GRP1_EnableClock(LL_APB2_GRP1_PERIPH_SPI2);However, in the above line, compiler complains LL_APB2_GRP1_PERIPH_SPI2 not defined.I wonder why.
I am using spi slave mode,hardware nss setting.when cs is low,if there are a lot of clocks due to noise,Is shift register cleared at the rising nss edge?
Using a RTC example from the IDE, the STM32L562 discovery board gets to partly erasing the flash, before it stopsSTMicroelectronics ST-LINK GDB server. Version 6.0.0Copyright (c) 2021, STMicroelectronics. All rights reserved.Starting server with the ...
Hi ,I want to use my controller as a modbus slave. there is interrupt call back function which receive predefine data.but the modbus function like 15,16 have 10 to 11 byte of data and other function has 8 byte ,how to receive that thanking you
Hi! I'm writing to ask help about LPSDR SDRAM configuration on STM32F7.Currently I have a board with a normal SDRAM that is working fine. The design is based on the STM32F769I-DISCOVERY and it uses the MT48LC4M32B2 Micron SDRAM.The configuration is t...
I'm getting debugging Error "undefined debug reason 8 - target needs reset" with ST-Link V2, BluePill (STM32F103) & STM32CubeIDE, debugger config. is "ST-Link OpenOCD", Although STM32Programmer download & run with same ST-Link V2 without any problem....
These bits are always 0 and I can't change the voltage scaling of MCU (The code is stuck at both "while"s). The MCU P/N is STM32H743IIT6. The starting part of the code is:int main(void) { PWR->D3CR=0x0000C000; //changing voltage scaling to VOS1 ...
I am using STM32 Cube IDE with NUCLEO-L4P5ZGbelow is my codevoid function (int dir, int runtime){ int Run=1; int bytes_per_reading_gyro = 72; int bytes_per_reading_echo = 29; char gyro_reading[bytes_per_reading_gyro];; int echo_reading[bytes_per_rea...