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

Transmit more than 8 array elements via Standard CAN - STM32F4

Hi guys,I'm currently working with Standard CAN. The maximum data length of each frame is 64 bytes. In HAL library, I see DLC parameter is limited from 0 to 8. So that means, I can only transmit 8 elements of an array (8 bytes for each element). In o...

QTLe by Associate
  • 609 Views
  • 2 replies
  • 0 kudos

Synchronizing code with ADCCLK in STM32F746

My goal is to start ADC conversions a deterministic amount of time after raising a GPIO.Since the ADC clock is slower than the instruction clock, the instruction to set SWSTART can occur in between ADC clock cycles. I currently have the ADC clock set...

RBack.1 by Senior
  • 1429 Views
  • 12 replies
  • 0 kudos

Resolved! STM32F405: flash write causes processor to halt

I am working with an STM32F405 and am attempting to use a page of flash to store ~1K of persistent data that will be seldom written and often read (device serial number and calibration data).I have been trying to reference sample code and a few other...

JW.4 by Associate II
  • 1970 Views
  • 6 replies
  • 0 kudos

HardFault_Handler upon updating variables inside DMA Callback

Hi,I am currently implementing a guitar effects pedal using the STM32F446RE and the PCM3060 as my CODEC.I have gotten everything to work, except when I try to adjust the following parameterscf0_lim = (int)(time*l_CB0);cf1_lim = (int)(time*l_CB1);cf2_...

DCont.1 by Associate II
  • 1100 Views
  • 3 replies
  • 0 kudos

Resolved! Firmware update failed (OTA/ADU)

Hi,We are working on a STM32 project based on sample_azure_iot_embedded_sdk_adu project. The board is B-L4S5I-IOT01A. At the moment, we are implementing the OTA. The board is able to download the firmware bin file, however it is stuck at the function...

SLiu.4 by Associate
  • 1012 Views
  • 1 replies
  • 0 kudos

Resolved! STM32F407, SPI RXNE flag does not clear

I have an STM32F407 micro using the SPI. SPI is setup as a master at 1MHZ clock.I send a group of data (output only) which operates correctly. The SPI does not receive any useful data at this time. After the last byte has been sent out, I loop and wa...

0693W00000GYFo8QAH.jpg 0693W00000GYFnyQAH.jpg
gahelton1 by Associate III
  • 3033 Views
  • 4 replies
  • 0 kudos

Resolved! Racing adventure in OS

Hi,Master:Question 1:As shown in the figure below, why does the api read this variable with critical protection?Question 2:Suppose two tasks have write operations to shared variables. For example:int var; void task1(void) { OS_ENTER_CRITICAL(); ...

0693W00000GXyJiQAL.png
Lyu.1 by Senior
  • 1029 Views
  • 4 replies
  • 0 kudos