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

STM32G031F6P UART TX DMA Problem.

Hi guys.I am using STM32G031F6P MCU and i want to use UART TX with DMA in slave mode. But it is not working. RS485 line is always busy. I am using RS485 transceiver (SN65HVD37DR). If i use normal (not DMA) transmit mode, it is working. Code and cubem...

0693W00000WITAJQA5.jpg 0693W00000WITATQA5.jpg 0693W00000WITCZQA5.jpg
ABURM by Associate III
  • 1109 Views
  • 6 replies
  • 0 kudos

Reference pierce oscillator design available for STM32G0B1x?

I'm developing a new design with a STM32G0B1x uC. Therefore, I will use a 12MHz or 8Mhz external (HSE) crystal quartz from Abracon. I just read through the AN2867 and did some calculations. Now I'm at the point where I would need to measure the drive...

RHube.3 by Associate II
  • 1176 Views
  • 5 replies
  • 0 kudos

How to config FT231XS for STML451 on my board

I have a FT231XS on my board and a STML451. I would like to communicate over Uart to STM. So i need the FT231XS as USB to UART converter. My software works with NUCLEOL425RE, so when i send some strings over a Serial Port i can receive it immediately...

SMilo.3 by Associate II
  • 394 Views
  • 0 replies
  • 0 kudos

Resolved! 8bit in struct is allocated 32bit in memory

Hello,I am a newbie in struct.I have a struct declaration below.typedef struct __serial_data { uint8_t frameStart; uint32_t data; } serial_data;   serial_data mydata[25];but frameStart is allocated 32bit in memory and this causes trouble when sendi...

0693W00000WJH75QAH.png 0693W00000WJH7FQAX.png 0693W00000WJH7ZQAX.png

Call HAL_ADC_GetValue at any time.

I am using the ADC on an STM32 microcontroller.The ADC is operated in ContinuousConvMode.Can I start it with HAL_ADC_Start and query it at any time with HAL_ADC_GetValue?Or may HAL_ADC_GetValue only be used if it is ensured that the ADC is not curren...

mfrank9 by Associate III
  • 7308 Views
  • 2 replies
  • 1 kudos

Code won't run without pressing reset button

My code runs without issue when the STM Nucleo is connected to the laptop, but if I try to run it without connection to PC, I have to press the reset button before the code will run.I am using STM32CubeIDE and cannot find a solution relevant to that ...

IPrin.1 by Associate III
  • 5243 Views
  • 13 replies
  • 0 kudos

Resolved! No DAC output

It seems so easy, but I get no signal to the pin PA4. I use STM32f103VCT, any Idea ?int main(void){ /* USER CODE BEGIN 1 */ /* USER CODE END 1 */ /* MCU Configuration--------------------------------------------------------*/ /* Reset of all periphera...

jtozz.1 by Associate II
  • 2581 Views
  • 10 replies
  • 0 kudos