I want to use pin to work as output pin for some time and then Analog pin for some time.how can I change the mode of pin in run time. GPIO_InitTypeDef GPIO_InitStruct = {0}; ADC_ChannelConfTypeDef sConfig = {0}; HAL_GPIO_WritePin(GPIOC, GPIO_PIN_...
Hey!There is a need to interact with the 3-pin MediaLB bus.I cannot penetrate into it.How the data exchange takes place, what conditions must be observed, how the request and return frame is formed.Perhaps there are examples of working with the bus o...
Hi everyone,I am working with the SPI in slave mode on an STM32G071 and having some trouble with the different SPI modes. I set both CPOL and CPHA to 0 during initialization: SPI_InitStruct.TransferDirection = LL_SPI_FULL_DUPLEX; SPI_InitStruct.Mode...
I have an application running on HSE as system clock..and I set the multiplexer to select HSE, totally not using PLLbtw, should I put any configuration to my PLL? such as PLLON =0, and while(PLLRDY==1) , to “properly configure�? the unused PLL?Or sho...
I was happily developing some ADC+DMA routines for my stm32f205 and suddenly my MCU started to freeze.I am able to connect, erase, and flash binaries with stm32CubeProgrammer trough an ST-link.After erasing multiple times my STM32F205 with stlink and...
Hello, MCU bricked after I tried to remove write protection. Now when I read the flash it shows only 0xFFFF0080. Read the full description bellow. We are making new project using STM32G071.We use serial communication custom bootloader so we can updat...
I am using an STM32H742 MCU and have a timer with an output connected to the output compare function. The timer is triggered from another timer and set to One Pulse Mode. Basically I want the output to go high and stay high once the compare value is ...