STM32 MCUs Products

Ask questions, find answers, and share insights on STM32 products and their technical features.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

How to put stack and heap in different memroy sections

Posted on April 30, 2018 at 22:20I have heard the benefit of putting the stack at the beginning of DTCMRAM + the minimum size required as then stack accesses exceeding the size of the stack will throw the execution to the exception fault.  However t...

I2C HAL library generating hard fualt on stm32f302

Posted on May 01, 2018 at 16:27Hi ,I am migrating from STM32f101 I2C to Stm32f302, the migration document says this is a complete re write of the code . So i used the STM cube to generate the startup code for the I2C for 100khz. I know the board is ...

conrad c by Associate II
  • 545 Views
  • 1 replies
  • 0 kudos

delay function with timer interrupt

Posted on April 25, 2018 at 16:03 Hey Guys, I don't know what I am doing wrong here and really would appreciate some help: I created a function called void DELAY_1_5us(uint16_t period) { delay = true; __HAL_TIM_SET_AUTORELOAD(&htim7, per...

STM32 Internally Pulled up pin

Posted on April 30, 2018 at 12:57I am trying to digitally turn LED HIGH and LOW using STM32F103C8T6  maple mini board using pins A11, A12, B4 and A15 pin, But it seems that those pins are internally pulled up as soon as I power it on stm32 boards th...

SPI Slave Register Reset

Posted on April 16, 2018 at 18:37I have an issue with the SPI slave interface in the ST32ML151. Occasionally, the SPI slave get an extra clock from outside, either because noise or a reset at the master side. I know when this happens. Is there a way...

Firmware Over The Air upgrade issue

Posted on April 28, 2018 at 21:00I have developed a Firmware upgrade Over The Air (FOTA) mechanism for my custom F7 board that seems to work properly, but hard faults during the subsequent reboot process of the main application.Thanks to Clive1's su...

0690X0000060AoPQAU.png 0690X0000060AoeQAE.png 0690X0000060ApZQAU.png

Receive variable length buffer on UART (Interrupt)

Posted on April 30, 2018 at 18:32 Hello, in my project I have to receive commands from the serial port (UART), these commands are of variable length and end with carriage return (\r). what I would like to do is generate an interrut when the \...

Select ADC channel to convert

Posted on April 30, 2018 at 18:16 hi, I have a problem using an ADC of a STM32L4 In my project I have to sample 5 analogue channels with an ADC. I've configured everything with STM32CubeMX and want to use it in polling mode. I have seen examples ...

STM32CubeMX MCU package for STM32F1, LSE & RTC problems

Posted on April 14, 2018 at 13:06Using:Truestudio for STM32 v9.0.0.0STM32CubeMX v4.25.0 with STM32CubeF1 Firmware Package V1.6.1uC STM32F103RBLL_drivers onlyLL_Code generated for the STM32F1 family by STM32CubeMx  seems to fail to configure the LSE ...

Willunen by Associate III
  • 740 Views
  • 2 replies
  • 0 kudos