STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

float values of array are not assigned during a for loop

I want to convert a bunch of uint16_t values from an ADC into floating point voltages. For this I use a for loop to loop through the uint16_t array and write the values to a float array. But the float array remains 0 as if no assignment is ever made....

0693W00000D2U7SQAV.png 0693W00000D2U7XQAV.png 0693W00000D2U7cQAF.png
Mnemocron by Associate III
  • 1898 Views
  • 6 replies
  • 0 kudos

Fast Timer Interrupt Distrupts My Program

I need to achieve fast interrupts because I'm making integration from accelerometer and gyroscope datas in my code. And when I set a timer interrupt frequency to 2.5ms code get stuck. But when I increase timer frequency to 25ms it works just fine. ...

IAtam.1 by Associate II
  • 794 Views
  • 4 replies
  • 0 kudos

We would appreciate your support to provide us with the current lifecycle status (e.g., Active, NRND, to be discontinued (LTB), Obsolete, Custom) for this part (STM32F107VCT7TR).

Greetings,SiliconExpert is contracted by Cicor Technologies Ltd to work with their suppliers for accuracy and compliance purposes.We would appreciate your support to provide us with the current lifecycle status (e.g., Active, NRND, to be discontinued...

[STM32F3] HSE crystal selection, confused by AN2867

I'm trying to select a suitable HSE and size the capacitors + resistor for it following the procedures laid out in AN2867, but I can only reach a "not compatible" result even with the example values used in there (the different stages are done for di...

Jopj by Associate II
  • 1449 Views
  • 2 replies
  • 0 kudos

STM32L412 RAM Issue

Hello Folks,Im working on STM32l412kb uc (40 kb RAM Size) .My code uses 32kb of data still we have 8KB RAM.But there is one issue with our results i.e stack size overflow we dont get desired output that is only due to stack size overflow.We also o...

PM.4 by Associate
  • 895 Views
  • 2 replies
  • 0 kudos

STM32F072RB discovery board The STM32 in slave mode is to be used to read sensor data at every 2 second interval by an ESP8266 master through I2C. I am using the HAL library for this.

The I2C interrupts were enabled and HAL_I2C_Slave_Receive_IT() and HAL_I2C_Slave_Transmit_IT() functions were called. The slave can receive and transmit the data only once and then it pulls the SCL line low disabling further communications. I have tr...

SD.7 by Associate
  • 360 Views
  • 1 replies
  • 0 kudos

UART receive interrupt issue HAL_UART_Receive_IT remains BUSY

Hi ,I am using HAL_UART_Receive_IT(UART_HandleTypeDef *huart, uint8_t *pData, uint16_t Size) HAL api for uart receive interrupti am calling it at end of HAL_UART_RxCpltCallback(UART_HandleTypeDef *huart)it works for some time but after some time HAL_...

SA.17 by Associate III
  • 2434 Views
  • 9 replies
  • 0 kudos