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

STM32Foxx CRC: usage of HAL Drivers

Posted on April 15, 2016 at 14:34I want to make the CRC progress as soon as I receive bytes so I want to calculate partial CRCs as soon as the packet is entering the system. Should I use HAL_CRC_Accumulate with buffer size =1?I also deal with bytes ...

stanzanim by Associate III
  • 2850 Views
  • 11 replies
  • 0 kudos

Reference design for STM32F042G4?

Posted on April 20, 2016 at 16:42Hi, New STM32. Im doing a design involving STM32F042G4. Is there a reference design for this IC? I have found - http://www2.st.com/content/ccc/resource/technical/document/application_note/c9/19/d7/b8/6b/0e/4c/d3/DM00...

[error report] STM32F1 CAN HAL BUG in HAL_CAN_Transmit_IT

Posted on April 20, 2016 at 00:03hcan is locked permanently in HAL_CAN_Transmit_IT when all transmit boxes are full. Bellow is compressed HAL_CAN_Transmit_IT function: HAL_StatusTypeDef HAL_CAN_Transmit_IT(CAN_HandleTypeDef* hcan) {    uint32_t tran...

justas23 by Associate II
  • 458 Views
  • 2 replies
  • 0 kudos

STM32F091RC backup registers

Posted on April 20, 2016 at 12:47HiI admit I am a complete newbie so please go easy.... :)I need to store some variables in the 5 memory locations in the STM32F091RC.  We have the following code:mark1 = 123;RTC_HandleTypeDef RtcHandle;RtcHandle.Inst...

Bad APBAHBPrescTable

Posted on April 19, 2016 at 17:18Hello, all ???_rcc.c files, e.g. STM32Cube_FW_F7_V1.3.0/Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_rcc.c define const uint8_t APBAHBPrescTable[16] = {0, 0, 0, 0, 1, 2, 3, 4, 1, 2, 3, 4, 6, 7, 8, 9}; This contrad...

uSD Card time of read file problem

Posted on April 20, 2016 at 10:31Hi Every body... Recently i wrote a program to read a file from uSDHC Card 4GB for infinite loop. Purpose is check the total time of reading a file (eg mp3 file). The code is so simple and noting have any complexity....

st_user1 by Associate
  • 246 Views
  • 0 replies
  • 0 kudos

[error report] STM32F1 I2C HAL BUG I2C_MasterTransmit_TXE

Posted on October 18, 2015 at 00:09Here is original function static HAL_StatusTypeDef I2C_MasterTransmit_TXE(I2C_HandleTypeDef *hi2c) {         /* Write data to DR */       hi2c->Instance->DR = (*hi2c->pBuffPtr++);       hi2c->XferCount--;   if(hi2c...

justas23 by Associate II
  • 592 Views
  • 3 replies
  • 0 kudos

chronometer... is the right way

Posted on April 15, 2016 at 18:17Hi,I'm building a time trial race, to do this i'm using the STM32F334R8T6 microcontroller with the RTC and timestamp, resolution must be of hundredths of a second, for this type of project is correct to use a RTC clo...

Damiano by Associate II
  • 831 Views
  • 4 replies
  • 0 kudos

STM32F303RBT6 - Bad Analog Section

Posted on April 18, 2016 at 23:16I had previously received the following response on this question from this forum...This is not a known issue and the part has been shipped and used in this manner already in K units without any returnsUse the standa...

Phase angle calculation

Posted on April 19, 2016 at 13:32  Hi Everyone. I’ve been trying to calculate the phase angle between two sine waves differing only in phase, and I’ve got it working in MATLAB, using the FFT of each sine wave and then applying MATLAB’s angle functio...

kvresto by Senior
  • 738 Views
  • 1 replies
  • 0 kudos