STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

New possibilities for the ultra-low power segment!

STM32U0 is the first Cortex-M0+ with a static consumption of only 160 nA in standby mode with RTC (Real-Time Clock) and 16 nA in shutdown. It also achieves 118 points in CoreMark and targets SESIP level 3 and PSA level 1 focusing on firmware code pro...

gif-stm32u0.gif

Resolved! Value of passed variable changes during function call !?

I'm having a real nasty bug and finally found the reason for it. But the thing is, that I don't understand where it comes from.I calculate a variable within method A of a class and at the end of said method i pass it to method B by value. When steppi...

JHöfl.1 by Associate III
  • 2132 Views
  • 5 replies
  • 0 kudos

Resolved! Question on SPI communication

Hi I am learning to write driver code for SPI. I have an nucleo-L476RG development board with me implementing full-duplex transmit only operation and reading the output of a MOSI pin using a logic-analyzer. The Nucleo board is working as the masterSo...

0693W00000JPooRQAT.png 0693W00000JPoobQAD.png
Tbone1 by Associate II
  • 1070 Views
  • 8 replies
  • 0 kudos

printf() in IAR 9.20.2 doesn't work

I have been using prinf() function in IAR 9.10.1 without any issue.  Recently I upgraded to IAR 9.20.2 but the printf() didn't work any more.I also contacted IAR and they said fputc() based printf is not supported by IAR 9.20 any more and recommended...

0693W00000KZjbbQAD.png 0693W00000KZjbgQAD.png 0693W00000KZjbqQAD.png
CKang.3 by Associate
  • 1591 Views
  • 1 replies
  • 0 kudos

I am using STM32 Matlab target. In the demo of PIL after completing all the processes and generating code. When I return to Simulink and click continue I got the following error.

The timeout of 5 seconds for receiving data from the rtiostream interface has been exceeded. There might be multiple reasons for this failure.You should: (a) Check that the target hardware configuration is correct, for example, check that the byte or...

UKshi.1 by Associate
  • 369 Views
  • 0 replies
  • 0 kudos

how to transmit an array with HAL_SPI_Transmit_DMA?

Could you please explain me how to use HAL_SPI_Transmit_DMA with an array?In this caseuint16_t data1= 1024;HAL_SPI_Transmit_DMA(&hspi1, &data1, 1)I get a warning concerning the pointer ("passing argument 2 of 'HAL_SPI_Transmit_DMA' from incompatible ...

Tommino by Senior
  • 5401 Views
  • 10 replies
  • 0 kudos

No stuffing bit with HAL_CAN on STM32f4

Hello, I m using the CAN bus on a STM32f412. It is connected to a transiver with a CAN analyser linked. I can receive messages without problem but i can t send any messages. Here is ho i configured the CAN :/*##-1- Configure the CAN peripheral ######...

0693W00000JQ3lXQAT.png
AGiry.2 by Associate II
  • 563 Views
  • 2 replies
  • 0 kudos