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

Resolved! Timer compare function interrupt not triggered sometimes

Hi everyone, I meet a problem and I'm not sure it's MCU issue or I program not proper.I meet this issue both on the STM8 and STM32 MCUs.I enable TIM_2 Ch1 as input to capture the signal and TIM_2 Ch2 as output to do the compare function. void init_TI...

Joey_Duh by Associate II
  • 4673 Views
  • 11 replies
  • 3 kudos

Resetting DMA memory pointer for USART TX

Hi,I'm using USART with DMA to transmit a fixed sized packet message from master to slave, and have the slave send back a fixed size response.   I have a freeRTOS enabled.  I have DMA setup in circular mode, and set the buffer size to twice the size ...

LMorr.3 by Senior II
  • 1338 Views
  • 2 replies
  • 0 kudos

Using HAL_UART_Transmit outside main.c cause hardfault

Hello, I got a problem on 'HAL_UART_Transmit' function. I wrote a simple line to create and define unsigned char of 10 then send it through 'HAL_UART_Transmit' on different .c file.unsigned char A[10] = { ...... 10 value ......};HAL_UART_Transmit(&hu...

taoybb by Associate II
  • 1423 Views
  • 7 replies
  • 0 kudos

STM32F401RCT6 Schematic issues

Hello, I am creating a sensor using the STM32F401RCT6 and eight SPI ADCs. Because the MCU doesn't have that many SPI ports, I am planning on adding a 3 to 8 decoder in order to handle the Hardware Slave Select (NSS) of the ADCs and daisy chaining the...

Screenshot 2023-09-13 at 5.44.49 PM.png
gapple12 by Associate
  • 1887 Views
  • 5 replies
  • 2 kudos

HAL I2C no HAL_TIMEOUT Status when Timeout Reached

After inspecting blocking I2C functions from HAL libraries I found that apparently I2C blocking functions don't return "HAL_TIMEOUT" status if timeout is reached during I2C transfer. The following function does the work of verifying whether timeout w...

lgacnik97 by Associate III
  • 2329 Views
  • 2 replies
  • 2 kudos

Resolved! Multiplexed OCTOSPI in STM32H7B0RBT6

Hi,I would like to know if it is possible to have the mutiplexed octospi in the microcontroller stm32h7b0rt6 as it mentionned in AN5050 in Figure 11cause when I tried to configure it using the CubeMx the CS pin for OCTOSPI2 is not found as it is mand...

ALAMI_Othmane_0-1694625578777.png ALAMI_Othmane_1-1694625761689.png

Resolved! MCU shutting down during SPI communicaiton

I have a simple demo board with a STM32L451VET6, a SPI LCD and four switches. The board will send the first byte over SPI perfectly, then either during or right after sending the second byte - it appears the MCU shuts down - as the CS line drifts dow...

Stoufer_0-1694538436110.png
Stoufer by Associate III
  • 2331 Views
  • 11 replies
  • 0 kudos

Resolved! More SPI trouble !

Hey Guys - more SPI issues!I have a new board with minimal connections - basically just SPI to a LCD and four pushbuttons. I created a new STM32 project in STM32cube.It is using a STM32F451VET6 with clock set to MSI RC 4000kHzI configured SPI in the ...

Stoufer_0-1694467500960.png
Stoufer by Associate III
  • 1138 Views
  • 4 replies
  • 0 kudos

CycloneSSL

Hello everyone,I'm trying to do signing and verification using ECDSA on stm32 boards with the CycloneCrypto library. As it's only for evaluation at the moment, I'm not looking to build the whole project. So, would there simply be directories where th...

Resolved! UART bootloader

Hello! I'm utilizing the STM32L476VCT6 in my project. Through the UART (PC4, PC5), this MCU interfaces with the Wi-Fi SoC. For firmware updates, I want to use this UART connectivity. But I notice that USART3 bootloader has dedicated PC10, PC11 pins. ...