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

I have a strange phenomenon in stm32f103

HelloI have a hw configuration that uses mpu6050, lora chip, gps, and bluetooth using stm32f103 mcu. I use lithium polymer 3.7v 1300mah for power to board.It doesn't make sense to me, but it's like this.After downloading the firmware via stlink, mpu6...

Jlim.1 by Associate II
  • 2476 Views
  • 13 replies
  • 0 kudos

I'm using example code to transmit CAN data through User button press and receive through Interrupt handler. Program compiled successful and flashed. I connected my board to PCAN bus analyzer as another node.

 It is configures as same baud rate as my embedded board and PCAN GUI is running. When I run program I see Tx error counter is incremented and no frames are sent out. When refereed to LEC it is bit dominant error.Bits 6:4 LEC[2:0]: Last error code10...

HKuma.1 by Associate II
  • 646 Views
  • 1 replies
  • 0 kudos

STM32H7 FMC data corruption

FMC bank 1 is set to NOR Flash PSRAM, bank 3 is set to NAND Flash. The transfer of NAND flash uses DMA.MPU of the above regions are set to non-cacheable, non-buffable, non-shareable.The issue occurs when PSRAM read happens during NAND flash read. The...

JQiao.1 by Associate II
  • 1037 Views
  • 1 replies
  • 4 kudos

STM32 F446ZE - Board MB1162B-02

I 'm using this board for CAN communication with CAN1. I notice in User manual UM1871 Figure 14. MCU 1 CAN1_TX is connected via SB18 and it is open. For CAN1_RX it is mentioned in user manual that I have to close for Rx to work and not mentioned abou...

HKuma.1 by Associate II
  • 2126 Views
  • 2 replies
  • 0 kudos

STM32F051 ADC DMA overrun after first conversion

I am trying to use ADC with 2 channels and DMA, but I only get 1 reading before the overrun bit gets set. Also the 1 reading is wrong, I am expecting a value of approx 2100, but I am getting around 70. I can see in the hadc->DR that the value are cor...

Hoddy by Associate II
  • 1684 Views
  • 4 replies
  • 0 kudos

Jumping to IAP code issue

Hi,I am facing some issues while jumping from main application to the last locations(0x0801C000) of the flash memory, where IAP application (customized) is located.The controller used is STM32F072.(128kb flash,Cortex-M0).The main application code pl...

JK.4 by Associate II
  • 1809 Views
  • 7 replies
  • 0 kudos

Resolved! wake from WFI and *immediately* execute my code ??

__WFI works beauty. But I want more. Behold:void vApplicationIdleHook() { __WFI(); my_own_code(); // on wake, this will be executed *after* the intr handler :( }Upon every wake from WFI, I want to execute my own code immediately: ie. bef...

Goof Ball by Associate III
  • 1790 Views
  • 3 replies
  • 0 kudos

How to access global C variables in html code?

I hope this question is not off topic.I have a board running httpd using a STM32F407. The web server is running CGI and SSI. The cgi file is named index.shtml and is called when the browser first accesses the website.In the SSI part of the code I pop...

STM32L4R9I-EVAL with Memory-Mapped NOR Flash

Hello!I am trying to use the NOR flash module on the STM32L4R9I-EVAl board. I've been able to use the ST-provided example without issue, but in trying to build a project through CubeIDE, I've run into an intermittent fault. Sporadically, my writes to...

0693W000001qYXHQA2.png 0693W000001qYXCQA2.png
Octo by Associate
  • 747 Views
  • 0 replies
  • 0 kudos