STM32 MCUs Embedded software

Ask questions and find answers on STM32Cube packages, including HAL, LL and middleware, and expansion software.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

i am using stm32f103xE MCU. i am using FATFS with SDIO. it's opening the file, but when i am writing the data to the file it's giving the FR_INVALID_OBJECT Error.

char data[] = "Testing File";if(f_mount(&fs, SD_Path, 0) == FR_OK) {  if(f_open(&myFile, "Test_File.txt", FA_WRITE | FA_CREATE_ALWAYS) == FR_OK)  {    if(f_write(&myFile, data, sizeof(data), &myBytes) == FR_OK)    {     f_close(&myFile);    }   f_clo...

SPARV.1 by Associate
  • 535 Views
  • 1 replies
  • 0 kudos

Audio Codec

Hi I have a STM32F407 Discovery board which I wish to use its Audio codec demonstrated by CS43L22 ic. here is my code(I used Cube) */ /* Includes ------------------------------------------------------------------*/ #include "main.h" #include "stm32f...

Ala by Senior
  • 702 Views
  • 0 replies
  • 0 kudos

How to send 16 bit data using LwIP?

I'm working on a custom board that uses a STM32F407 to send data across the network to another STM32F407 board using LwIP (no OS). I created an array of 100 bytes to use as a test program. It works fine as long as the array is declared as uint8_t. I ...

Possible BUG: CubeIDE TIM1 CH1N PWM F411 Low Layer

There is strange behaviour with CH1 and CH1N in TIM1 (STM32F411) when using CubeIDE and Low Layer. If you set CH1 in PWM mode 1 it works after:LL_TIM_CC_EnableChannel(TIM1, LL_TIM_CHANNEL_CH1);LL_TIM_EnableCounter(TIM1);If you set CH1N in PWM mode 1 ...

JSzem.1 by Associate II
  • 1096 Views
  • 6 replies
  • 0 kudos