STM32 MCUs Products

Ask questions, find answers, and share insights on STM32 products and their technical features.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! How to call timer interrupt using registers? [NO HAL DRIVERS]

Hi, i am trying to call timer interrupt handler using registers and the following is my code, but the problem is that the function is being not called, I see no output in the oscilloscope or live expression. First my DAC value is still 0, the counter...

RShre.2 by Associate III
  • 4283 Views
  • 7 replies
  • 0 kudos

Resolved! How to read GPIO direction using HAL?

Hello world,I'm developing a FW for STM32F107VCT6 which can change GPIO direction programmatically: there is a terminal command which can switch individually 7 pins* mapped on different ports between GPIO_MODE_OUTPUT_PP \ GPIO_MODE_INPUT.I'm wonderin...

Spaghetto by Associate III
  • 1598 Views
  • 3 replies
  • 2 kudos

Resolved! H743zit6, Abnormal data reception using SPIDMA mode?

All data received in normal mode is 0, but some correct data can be received in debug mode? cubemx configurations are as follows:Part of the code is as follows:uint8_t pData[128] = {0x00}; HAL_SPI_Receive_DMA(&hspi1,pData,128); while(HAL_SPI_GetStat...

_legacyfs_online_stmicro_images_0693W00000dDSVYQA4.png _legacyfs_online_stmicro_images_0693W00000dDSVdQAO.png _legacyfs_online_stmicro_images_0693W00000dDSViQAO.png _legacyfs_online_stmicro_images_0693W00000dDSWMQA4.png
AASD.1 by Associate III
  • 2150 Views
  • 5 replies
  • 0 kudos

Resolved! How to accurately determine whether comparator interrupt was generated by rising or falling in the interrupt routine

I use comparator(COMP7) on STM32F303VB as・Non-inverting input: PC1 (ADC)・Inverted input: DAC2 output・Comparator interrupt: rising/falling edge triggerI checked the COMP7OUT bit, but it seems that this bit is "comparator output at the time the bit is ...

Dai by Associate II
  • 1399 Views
  • 4 replies
  • 0 kudos

How to enable peripherals in LRWAN module on stm32l072

Hi all,I have recently started working on stm32l072 LRWAN module of stm. I was able to build and run the code as it and was also able to send data to the gateway. My next task is to interface some sensor the the controller and send the sensor data to...

BChav.1 by Associate III
  • 424 Views
  • 0 replies
  • 0 kudos

Resolved! UART_DMA CODE Generates for STM32 CubeMx

Hi @RomainR.​ sir,As i already posted a query regarding UART DMA using STM32G030K6T6 controller, you have corrected my code it worked well. when i generated a new project and i followed the step to have provided me but it doesn't work it get stuck in...

mrsmile by Associate III
  • 3044 Views
  • 6 replies
  • 0 kudos