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

Dual port ethernet

Hey,I use STM32H745, I created ETH communication on the M4 core and it works well.Now I want ETH communication with two ports, one port per core.It is possible?In each core before the main while, I do:MX_LWIP_Init();/* create new tcp pcb */tcpb = tcp...

ACohe.3 by Associate II
  • 3592 Views
  • 7 replies
  • 1 kudos

Tick OS to Tick LSE Conversion

HiThis is a general question regarding entering sleep, so whatever part you know and can explain will benefit greatly.The questions are much around the function LpTimerStart, which in general converts OS ticks to LSE clock ticks. The number 1e12 ( or...

DS.4 by Senior II
  • 963 Views
  • 1 replies
  • 1 kudos

Resolved! ADC in dual regular simultaneous mode - no DMA result

Hi, I'm using ADC1 and ADC2 of a STM32F303RE in dual regular simultaneous mode. Each ADC should sample 5 independent channels and a sampling cycle is triggered by software, so I don't use continuous mode.I do get DMA interrupts and everything seems t...

NRumm1_0-1706385188133.png NRumm1_1-1706385325073.png NRumm1_2-1706385372075.png
NRumm.1 by Associate III
  • 2252 Views
  • 1 replies
  • 0 kudos

Resolved! RTC Alarm on STM32F401RCT6

Hello, I've been using the RTC lately and it works correctly except for one thing, the alarm. Below you can see the function HAL generatedstatic void MX_RTC_Init(void) { /* USER CODE BEGIN RTC_Init 0 */ /* USER CODE END RTC_Init 0 */ RTC_Tim...

Hesseltjuuh_0-1698702547947.png Hesseltjuuh_1-1698702558649.png Hesseltjuuh_2-1698702596937.png

Resolved! Strange internal FLASH reading after sector erase.

Hi there!Experimenting FLASH reading/writing I done a fanny test that is giving an unexpected (to me) result.Basically:1) I defined  2 32 bytes buffers (aRbuff for read, and aWbuff for write) u32t aWbuff[8U] = { 0x00010203, 0x04050607, 0x08090A0B, ...

iTTy_0-1706202595688.png
iTTy by Senior
  • 4110 Views
  • 9 replies
  • 5 kudos

STM32F407 + CGI Handler

 Hello everyone,I am using the STM32F407 µC and would like to create a web interface. A few functions, such as getting the temperature value from the µC once (SSI) and switching on the LED via the web interface on the board (CGI), work. Now I would l...

Ina_0-1706269581280.png Ina_2-1706269658737.png Ina_1-1706269637603.png
Ina by Associate
  • 1031 Views
  • 1 replies
  • 0 kudos

Resolved! bare-metal core testing for STM32G0

Hi, I need 60370 class-B certification, but without incorporating libraries that we cannot check ourselves. So, I rather develop bare-metal tests than dropping the X-CUBE-CLASSB object into the code. Testing the Cortex-M0 core should be possible with...