Forum Posts
PVD IT always rising
I'm working on a STM32L072, and I tried to configure the PVD to rising an IT when the supply voltage is below 2.7V.It appears that the IT is always rise even the voltage is always above 3V. __HAL_RCC_PWR_CLK_ENABLE(); __HAL_PWR_VOLTAGESCALING_...
How to Communication with bootloader using SWD pins of MCU?
I want to write my own custom bootloader program so I want to communicate with MCU using SWD data & clk pins but how can I use this pins?
GPIO UART disable and enable
Hi I use UART very rarely and I would like to disable gpio:void Disable_Not_Used_Pins(void) { /* Disable UART pins*/ GPIO_InitTypeDef GPIO_InitStruct = {0}; GPIO_InitStruct.Pin = GPIO_PIN_2|GPIO_PIN_3; GPIO_InitStruct.Mode = GPIO_MODE_ANALOG; GP...
Resolved! Debug issue
Hello,I am using ST-LINK/V2 (STM32 Nucleo-64) to debug a custom board, which the custom board use STM32F105VC MCU.The HW connections are as follow: SWD, Custom Board3.3V, 3.3VSWCLK, PA14GND, GNDSWDIO, PA13NRST, PB4 (NJTRST)SWO, Not useMaybe E1 (NRST)...
Hello guys. before all, I appreciated your Hint and Help. I use STM32L4R9Z microcontroller to Drive a QuadSPI NAND-Flash(Winbond). I configured OctaSPI of microcontroller as QuadSPI, and tried to write on NAND-Flash at Auto Polling mode.
After the Write-Enable command has been executed, the "HAL_OSPI_AutoPolling()" function will be called but, at the line of :status = OSPI_WaitFlagStateUntilTimeout(hospi, HAL_OSPI_FLAG_SM, SET, tickstart, Timeout);time out event will be accrued and s...
In Stm32L433, MSB bit is 0 in the first byte while reading from SPI slave
I have written 0x96 in an external flash at 0th address for 256 lengths and while reading it back the first byte had 0x16 and the rest of the bytes had 0x96 and this issue is observed occasionally.Settings:MCU: STM32L433SPI: SPI 1 in DMABit rate: 24M...
Power domains on STM32L552ZET6
Hi guys,I have a short question regarding the STM32L552ZET6 power domaines. Can I use 1v8 to power the chip and connect a 3v3 power supply on the VDDIO2 which I will power on from time to time(when I need to use those pins)? And another thing if I do...
Resolved! STM32F4: 4-bits SDIO DMA - Data Corruption in SD card
Hi, I'm currently using STM32F401RE Nucleo-64 Board. My current objective is to store all the data collected from ISM330DLC Accelerometer, into SD card through SDIO protocol.BackgroundMost of the setup is based on Code generation, using STM32CubeIDE ...
When using RTOS, the current consumption in STOP mode does not decrease.
I am using STM32L073RZT.If RTOS is not used, the current consumption will drop to 1μA in STOP mode.When using RTOS with STM32CubeMX, it only drops to about 40 μA.How can we achieve a few μA?