STM32 MCUs products

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
  • 11 replies
  • 3 kudos

Resolved! USBX MSC + FileX + NAND Flash - Windows I/O

Hello,I am building and application with a STM32U575 and a 4Gb NAND Flash. What I am trying to achieve now is to upload files from my PC through USB and then used these file within the STM32 using FileX.I already managed to set up FileX and LevelX to...

Pepils by Associate II
  • 5 replies
  • 0 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
  • 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
  • 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
  • 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
  • 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 by Associate III
  • 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 by Associate III
  • 4 replies
  • 0 kudos


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...