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

Advice Request - Application Profiling (STM32F7)

High level: I'm looking to improve the performance of our application and I need to work out which methods are consuming CPU time.We have an application using NuttX as our RTOS running on STM32F777. The application is compiled with GCC using the Nut...

Nevyn by Associate II
  • 1227 Views
  • 6 replies
  • 0 kudos

Are init() and Serial.flush() required in main()?

This page says:With a custom main() on Arduino:Call init() if you want to use things like millis(), micros(), and delay(), because that is where the hardware timers get initialized. This will also affect analogRead(), analogWrite(), and a few other t...

The BOOM by Associate III
  • 443 Views
  • 1 replies
  • 0 kudos

Resolved! How to make a new line in Cool Term

I am using Cool Term to print text to the USART.How can I make a new line?Now, it looks like this:TextTextText.....But I want it like this:TextTextText......

FLamb.2 by Associate II
  • 1284 Views
  • 1 replies
  • 0 kudos

sd card interface

hello,in my application ill use an sd card, therefore im planning to use the internal sd card controller the stm32h743 suggested.i have some questions, hope you could answer.why the EVB uses a dedicated level shifter for sd card, cant you use simple ...

Pkats.1 by Associate II
  • 395 Views
  • 0 replies
  • 0 kudos

modbus with RS_485 communication

HI, i am using RS_485 as a serial communicator with modbus in stm32f103. But i am confused with TXEN pin used in Rs_485. i have read information it is used as transmitter and receiver . when transmitting the pin is set to high . while receiving...

Lchal.1 by Associate III
  • 3388 Views
  • 3 replies
  • 1 kudos

Get one character from the USART

I want to get one character at position x from the USART.Here is my current code:What do I have to do differently?char *getchar(int position){ char data[1]; data[0]=HAL_UART_Receive_IT(&huart2, data, 1); return data; }

FLamb.2 by Associate II
  • 2044 Views
  • 9 replies
  • 0 kudos

Resolved! Makefile:44 Error 1

Hi everyone,I have just created a project. I haven't done any modifications and I am getting this error when building the project:make: *** [makefile:44: nucleo-g474re-blinky.elf] Error 1 "make -j8 all" terminated with exit code 2. Build might be inc...

jefazo92 by Associate III
  • 10757 Views
  • 9 replies
  • 0 kudos

STM32F746G-DISCO, FLASH, PWR, PVD

How to use HAL_FLASH_Program_IT? I set up: static void MX_NVIC_Init (void){ / * PVD_IRQn interrupt configuration * / HAL_NVIC_SetPriority (PVD_IRQn, 5, 0);HAL_NVIC_EnableIRQ (PVD_IRQn); } ...................... HAL_FLASH_Unlock (); // FLASH unlock fo...

AD�?b by Senior
  • 353 Views
  • 0 replies
  • 0 kudos