STM32 MCUs Embedded software

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! FatFS file size: what value to use?

Dear all,I'm using the FatFS generated by STM32CubeMX and I have one question about file size: I'm using f_stat functionand read the file size from fsize field of FILINFO structure; when I open a file I can read the file size from obj.objsize field ...

Luca G. by Associate III
  • 2526 Views
  • 3 replies
  • 0 kudos

Custom USB HOST Driver: Printer Class

Hi,# General INFO:I made a custom USB Host Driver for Printer class using STM32F407 - Discovery Board. For This I use HAL Library. I knew that many people don't like this HAL library. I may understand if you guide me through bare-metal programming.Wh...

how can I improve hs usb speed?

Hi ​Actually I,m using stm32f407igh on my board. ​and I'm using hs usb protocal to send data to PC.​but when I measured the usb speed in pc, it is just 10Mbps.I used cubsMX software to set hs usb. In datasheet, it could be maximum 480Mbit/s. why my ...

Mseo.1 by Associate II
  • 779 Views
  • 3 replies
  • 0 kudos

Resolved! Why TIMER takes time to start up?

Hi, I have a F439ZI where i have set a simple timer (TIM10) to raise the the HAL_TIM_PeriodElapsedCallback every 1 millisecond.The Bus APB2 for timers runs at 168 MHz so i set in the configuration 168 in the prescaler (result is 1Mhz) and the i set 1...

FCamp.1 by Associate III
  • 1179 Views
  • 11 replies
  • 0 kudos

How to send data from MCU over I2C?

I have array unsigned char data[1024] in RAM , and I need to send them to the display on I2C, this is not problem HAL_I2C_Master_Transmit( data ) works fine. Now I need to send the same data, but so that the sequence starts with a control byte.is I...

Berger1 by Associate
  • 848 Views
  • 2 replies
  • 0 kudos