Forum Posts
STM32L011 in LP-RUN with STOP mode and RTC wakeup.
I would like to run the STM32L011K4 (Nucleo kit) in low power mode for 10ms then put it in STOP mode with a wake-up via the RTC 90ms later.Step 1: Operation in RUN mode all the time (10ms +90ms), the consumed current is about 54µA (57µA in DBG).Step ...
Can I change the Register address of Flash Memory of a Microcontroller?
Ex.: - Original start address of Flash Memory is 0x08000 0000 But I want to Change it to some random address like 01h.
Resolved! Touc sense
Dear Sir.I migrated the code of TSV_BasicAcquisition_Interrupt to my board .The IO rae different than the exampleExample Custom Board,PC7 PB6PC6 PB5PB13 PB12PB14 PB13I keep getting HAL_TSC_ErrorCallback,How...
Transmit and Receive "parallel" on UARTs
Hello, we have a custom board with a STM32L051R6T6 MCU.And we try to to receive and to transmit on an UART.The telegrams have 40bytes lenght and the UART works on 9600 baud. The remote station sends one every 50ms.If processing of the rx telegram was...
Resolved! FDCAN is not available. I am using STM32G474RE.
Hi,FDCAN is not available.I am using STM32G474RE.I want to set the baud rate to 1MBps in classic mode. I often stumble on if (HAL_FDCAN_Start(&hfdcan1) != HAL_OK){ Error_Handler();}.I don't know what causes it to fail.I think having a bad setup.Th...
Resolved! Same voltage, 1 directly from external PSU and 1 through voltage divider, give 2 different ADC readings
Hey!I am having trouble with my ADC readings on my STM32G071RB.I am currently using 2 ACD-s for testing. VREF is set to 2.048 V. On 1 ADC, I give the input of 1.65 V directly from an external PSU. On the other ADC, I use the boards 3.3 V and run it t...
STM32L476RG with ADXL345 axis return 511
Hi everyone, I am beginner for STM32 and C. I am trying to use ADXL345 with STM32L476RG board. I watched video and I am trying to use same code but my y axis returns 511. When I move the adxl345, x and z values go to 511 and then go to 0 and 1. Here ...
stm32h745 M4 Core doesn't work properly
Hello All, I have a STM32H745-DISCO board and trying to run a very simple program where M7 toggles Green LED and M4 toggles RED Led. After programming, I can see that Green LED is toggling fine but RED LED is not.Below is my simple main code: M7: int...
Is UART_CR1.TE toggle sufficient for IDLE frame generation, if UART kernel clock is APB?
I experimented with this, however, as long as UART kernel clock was set to APB, idle frame was generated, even if the two instructions writing to UART_CR1 were immediately after each other. I may have overlooked something of course.I have no problem ...