STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

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
  • 1028 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
  • 1222 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
  • 1609 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
  • 2135 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
  • 1947 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
  • 1025 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. ...

Resolved! STLINK-V3MINIE errors on programming STM32G071

Using both STM32CubeIDE and STM32CubeProgrammer; both fail to successfully program using the STLINK-V3MINIE. The part is IDs correctly and "Full chip erase" works without errors. I only get an error once I click the "Start Programming" button. Same b...

natan by Associate
  • 1713 Views
  • 3 replies
  • 0 kudos