STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

ST-LINK V2: Command line HALT DOESN'T WORK

Hi, I'm developping a VI in Labview to interface with ST-LINK V2 using "ST-LINK_CLI.exe" and programming ST micro . I'm able with my VI to program micro, write and read byte but when I use the command -halt to halt the core it doesn't work and I rece...

STM32CubeMX v4.26.0 makefile code generation error

Posted on June 17, 2018 at 04:38Hi,I think I encountered with code generation error of STM32CubeMX v4.26.0 in Makefile setting. This is how to regenerate it:1. Create any project2. Generate code with Makefile setting.3. Close CubeMX4. Find the proje...

Reading a 16-bit word via SPI

In order to read a 16-bit word from a current sensor, is it correct to say: HAL_SPI_Receive(&hspi1, &SPIRx[0], 1, 1); //?SPIRx is declared as uint16_t SPIRx[1];I told CubeMx that the data size for SPI1 is 16 bits

xpp07 by Senior
  • 718 Views
  • 4 replies
  • 0 kudos

ARM Cortex M4 SVC interrupt causes usage fault

I’m trying to write a context switch assembly on STM32F411E but I encounter a usageFault right after I make a second call to the SVC 0 (in my second task) instruction. The funny thing is the first task can make SVC calls just fine but the second task...

SMola by Associate II
  • 1438 Views
  • 6 replies
  • 1 kudos

Resolved! How to do text alignment for TruStudio?

I use STM32 workbench for previous project and TruStudio for new project, when I copy some source code to TruStudio, it is not align properly, is there any shortcut for TruStudio can do alignment easily?

New.Fish by Associate III
  • 1478 Views
  • 5 replies
  • 0 kudos

Using the inline compiling macro ?

I have an LCD is on an 8080 16bit FMC interface with A0 register select.I can read the status correctly here:#define LCD1_DEVICE_ADDR (uint32_t)0x60000000 #define LCD1_DEVICE_DATA (uint32_t)0x60000001   uint16_t *pLcdRStatusWAddress = LCD1_DEVICE_...

T J by Lead
  • 1227 Views
  • 13 replies
  • 0 kudos

ad转�?�波动

�?�片机型�?�:stm​32f103vet6 。出现问题 :数值�?�化基本是准的,就是ad转�?�波动。以4096的�?和范围有正负50-80的波动。实验对比:12V开关电�?和电池/晶振接地两端有1M电阻/软件中�?�?�值滤波/�?�AD转�?�和多AD MDA​ 无差异�?3路AD转�?�,采用MDA,请大家指点�?​

User.51 by Associate
  • 379 Views
  • 1 replies
  • 0 kudos

How to configure I2C2 module on STM32F217ZG?

I have managed to communicate via I2C1, but when I switch over to I2C2 I always get a "Busy" response state from the MCU.Please keep in mind that this is the same I2Cx module from the same datasheet which is set up and executed in the same way as I2C...

SJaci by Associate
  • 323 Views
  • 1 replies
  • 0 kudos