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

Can running code find out the part number it's running on?

I'm writing code for STM32F042. If I'm running on the TSSOP20 package, I need to remap PA11 and PA12 to PA9 and PA10. For all other packages, I need to leave them alone.I can have a compile-time switch and generate different binaries for different pa...

AKrup by Associate II
  • 1005 Views
  • 4 replies
  • 0 kudos

Example of CAN RTR response message setup

I have the CAN functioning properly on the STM32F413 using Interrupts for Tx and Rx. I now want to add a response to an RTR message using the STM hardware only. I read the Ref Manual CAN chapter and the Datasheet. I understand how CAN functions and h...

KHule by Associate
  • 621 Views
  • 0 replies
  • 0 kudos

SMBUS with MLX90615 I am not able to get desired waveforms

I cant see a continuous clock. I want to put it in master mode and it seems to send only one byte and stops.Heres a snipetArray[0] = 0x27;   HAL_SMBUS_Master_Transmit_IT(&hsmbus3,0xB6, Array, 5, SMBUS_OTHER_FRAME_NO_PEC); while(HAL_SMBUS_GetState(&...

Resolved! How to test TIM1_CH3 for output of PWM ?

Hello everyone, I configured TIM1 for pwm. I will use CH3 and CH4. CH4 works well, but CH3 does not work. Sometimes when I load program first time CH3 works, But When I turn off the power and then turn on power CH3 does not work. Is there anyone who ...

Board: STM32F407G-DISC1, OS: ubuntu 16.04, IDE: Attolic TrueStudio, CubeMX(for code generation), Baud rate: 9600, Time Base Source : SysTick

Hi,I'm trying to receive data through USART2 through Arduino's serial terminal. I'm not able to receive anything. When I suspend the process, it is always stopping at UART_WaitOnFlagUntilTimeout(); . I'm using "HAL_UART_Receive(&huart2, rx_data, 10, ...

debug a CubeMx generated project

I want to debug a CubeMx Generated project on Nuelco-L496ZG board.In CubeMx, I created a project with only DCMI and related DMA, and generated the codes.Without adding any other code, I debugged the project in System Workbench for STM32,I thought the...

hsong.11 by Associate II
  • 497 Views
  • 0 replies
  • 0 kudos

STMFlashLoader Demo.exe on an STM32F756EVAL.

Trying to use the STMFlashLoader Demo.exe on an STM32F756EVAL. The auto baud detection in the UART bootloader seems to only sometimes work at 9600 baud. I try higher bauds but it fails. And there is no Speed command (0x03) like the CAN protocol has t...

rammit by Senior
  • 756 Views
  • 3 replies
  • 0 kudos