STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

CAN Setup with STM32-Mat/Target in Simulink ?

Hello,I'm trying to use the STM32 MAT/TARGET to setup a Communication between Simulink and a STM32f107vct via CAN.When I want to build the Simulink model i get an "INVALID INDEX" Block Diagram error.I am using Matlab R2018b and the latest version of ...

JVier by Associate
  • 590 Views
  • 1 replies
  • 2 kudos

STM32F103 UART Tx interrupt

Posted on February 07, 2015 at 13:30Hell all, I have two UARTS connected to two devices (say A and B). Both UARTs Tx and Rx is interrupt based. When I receive a message from A (ASCII-Z string) and the same message is sent to B, I am getting the mess...

nps by Associate II
  • 2125 Views
  • 2 replies
  • 0 kudos

Resolved! NVIC_Init() library function does not work as expected

Hi All, I have simple code to assign preemption priority and subpriority. I have tested this code on the stm32f103. Even if i set the preemption priority and subpriority, when I read the priority it returns as 0x00. According to the information from ...

ebast by Associate II
  • 937 Views
  • 2 replies
  • 0 kudos

Usart received data misaligned in buffer when I try to receive data from 2 modbus slaves. It works fine with 1 slave but when both the slaves are connected, after a period of time, usart stars misaligning received data. Can someone help?

This is my usart handler Also I clear the 1st received frame before receiving the 2nd modbus frame.void HAL_UART_IRQHandler1(UART_HandleTypeDef *huart){ __HAL_UART_CLEAR_PEFLAG(huart); __HAL_UART_ENABLE_IT(huart, UART_IT_ERR); __HAL_UART_ENABLE_IT(hu...

sne_123 by Associate III
  • 1146 Views
  • 11 replies
  • 0 kudos

What happens at Vbat when Vdda is not present?

In my system (STM32L471) I want to periodically measure Vbat. Can I do this through the Vbat pin if Vdda may not always be present? Obviously I turn on Vdda whenever I want to measure Vbat but are there any leakage currents or other problems in case ...

Can not load a *.bin

Posted on May 24, 2018 at 14:21I already loaded some *.bin files, perfectly compiled with a perfectly functional tool chain.But today it doesn't work anymore...If I check with STLinkUpgrade 3.2.10, it tells me that the firmware is at version V2J30M2...