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

Inaccurate us delay function

Hi,I'm trying to implement a `delay(microseconds)` function on an STM32 F745 running at 216 MHz. I want to keep it dummy and simple without involving interrupts. My strategy is as follows:-Setup TIM2 to run at 1 MHz. Since it has a 32-bit counter it ...

CGalv by Associate III
  • 2481 Views
  • 9 replies
  • 0 kudos

X-CUBE-Azure x509, are certificates supported?

I am running STM32CubeExpansion_Cloud_AZURE_V1.1.0With IoTHub SDK 1.2.12 and provisioning client 1.2.12The provisioning client resolves server name as expected, then the iothub client handshakes with the IotHub using MQTT, but the server rejects it.I...

UKluk by Associate
  • 1160 Views
  • 2 replies
  • 0 kudos

Help getting STM32L496G-DISCO SD card DMA writing

I am currently trying to get the SD DMA + FreeRTOS on board the STM32L496G-DISCO working. Currently, I can get just the regular SD card working but once I try the DMA + FreeRTOS, the whole project seizes. The example code included with the cube insta...

lgelfius by Associate
  • 414 Views
  • 0 replies
  • 0 kudos

arm_fir_q15() Hard Fault

Hi,I've a NUCLEO-F767ZI. I'm having problem getting the arm_fir_q15() to work, it gives me a hard fault. I'm defining the variables like this:#define BLOCK_SIZE 1 #define NUM_TAPS 51 /* USER CODE END PD */   /* Private macro -----------------------...

0690X00000AtJl1QAF.png

Resolved! Ethernet performance & packets loss

Hello,We try to test our Ethernet performance (STM32H7).We are using a udp echo with LWIP , and we inject udp packets from PC into STM32H7 .The performance is OK with most packets, but when decreasing packet size below ~300bytes, we start to get pack...

ranran by Senior II
  • 5415 Views
  • 13 replies
  • 2 kudos