STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

HAL_SPI_Receive_DMA returns HAL_BUSY

I am trying to implement an EEPROM driver which uses DMA. So far, I can implement polling and interrupt version. HAL_SPI_Transmit_DMA works OK, but HAL_SPI_Receive_DMA returns HAL_BUSY, so even the first reading process seams OK, it actually doesn't ...

Probelm to send data to arduino from stmh747i-disco

if i usesprintf(msg, "%s %.0f%%", NN_OUTPUT_CLASS_LIST[App_Context_Ptr->ranking[i]], *((float*)(App_Context_Ptr->Ai_ContextPtr->nn_output_buffer)+i) * 100);HAL_UART_Transmit(&huart8,(uint8_t*)msg,10,1000);To transmit “Beer 50 %” to arduino But the ar...

wjian.2 by Associate II
  • 525 Views
  • 2 replies
  • 0 kudos

Resolved! STM32L031F6P7 UART1 Frame Error

LPUART1_TX - PA2LPUART1_RX - PA3I'm having trouble testing because I'm getting frame errors by UART1.My PCB didn't design any circuit for PA2 and PA3 because the IC that connects to the MCU's UART pin uses 3.3V TTL communication.However, using the HA...

Jaden by Associate
  • 937 Views
  • 2 replies
  • 1 kudos

About RTC in sleep mode

We are developing a device that periodically boots in Sleep mode using the STM32G04.Set the WakeUpTime with HAL_RTCEx_SetWakeUpTimer_IT and enter Sleep with HAL_PWR_EnterSTOPMode(PWR_LOWPOWERREGULATOR_ON, PWR_STOPENTRY_WFI);.If you make a program to ...

j_m by Associate II
  • 2035 Views
  • 6 replies
  • 1 kudos

Integration over time

Hello I am receiving current  from sensor continuously in while loop. I want to integrate the value with time so I can know total passed charge. Please suggest how to do it.

Nico3 by Senior
  • 921 Views
  • 3 replies
  • 1 kudos

Resolved! Saving external flash data on file

Hello I am using STM32F0 Series MCU. I am saving some data every 10 minutes on external Adesto flash. I am able read data from ext flash and display on console using printf command. Now I want to save the data on external file rather than just displa...

Nico3 by Senior
  • 1224 Views
  • 3 replies
  • 2 kudos

ADC triggering on value

Hello,Is it possible to set trigger when ADC converter reach a certain value? I mean that an interrupt rutine is called when ADC reach a user value. Can you please provide or refer a piece of code?Thank,Petr