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

STM32H7 HAL SPI too slow for my application

I'm using HAL SPI drivers to read some MCP23S17 expander chips. I am sending a 2 byte command and receiving a 6 byte response. The trouble is there is 6 mS of delay between the write and read. Code:  // read encoder expander chips for encoder button ...

STM32 does not reset after DFU by USB

Posted on November 17, 2017 at 20:27I have already read several posts about the subject. including 'DFU: LEAVE does not jump to application'.and 'Reset after firmware upgrade'Context : STM32F072RBusing either DfuSeCommand.exe or DfuSeDemoUsing the D...

Problems with i2s

Hello, I am doing a project wich takes audio from an ESP32 via I2S, process it and then send bia i2S to an amplifier wich manage I2S signals as input.HARD:ESP32 (source of audio)ST nucleo F401Re (processing unit)Amp: MAX98357A.I manage to make work p...

guidoglorioso01_0-1702841431168.png guidoglorioso01_1-1702841444427.png guidoglorioso01_2-1702841454891.png

STM32U5A5 Semp put/get speed test

I have callback ISR code (from UART) where I put in Semaphore put and other code with Threadx static implementation with stack (SRAM2), Semaphore get, etc. I placed two GPIO signals to measure the timing between put and get. I set the compiler to opt...

Riscy by Senior
  • 624 Views
  • 0 replies
  • 0 kudos

Resolved! STM32G0B1 USB device not recognized in Windows 10

Hello,I'm using STM32G0B1-Nucleo (with no USB user connector), and I am trying to program USB device (I tried virtual COM, HID and MSC separately).I'm using the STM32CubeMx with STM32CubeG0 FW V1.5.1 to generate the configuration with PA12 and PA11 f...

0693W00000NsGxsQAF.png 0693W00000NsGxxQAF.png
Houssem by Associate II
  • 6929 Views
  • 10 replies
  • 0 kudos

I know sounds dumb, but how do you configure SysTick

I need to run SysTick every microseconds instead of every millisecond. So I called: SysTick_Config(SystemCoreClock / 1000000);except that delay never ended, because the interrupt was low priority so: HAL_InitTick(TICK_INT_PRIORITY);Except this s...

RobG by Associate III
  • 20092 Views
  • 9 replies
  • 3 kudos

Small Floating point values

Hi,I have a general question regarding the problem I am facing.Currently, the pSpeed Value is very small (for example 3.4E-7) and when I perform a square for such values it becomes smaller. When I pass the Square data value to the arm_sqrt_f32() func...

ZHaid1_0-1702573772577.png
ZHaid.1 by Associate II
  • 1861 Views
  • 4 replies
  • 0 kudos