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

I2C blocking function fails to output the expected outputs

I'm currently trying to learn about how the HAL blocking functions of I2C works on the STM32H7B3I-DK. However, the master device fails to receive any data unless HAL_I2C_Master_Transmit() is called before it.For example, the following code doesn't pr...

JTurn.2 by Senior
  • 516 Views
  • 0 replies
  • 0 kudos

Learning Materials for Beginners

Hello.Is there a complete course or book from start to finish for beginners on new ST programs? I want to switch from arduino.I found the book Carmine Noviello Mastering STM32, but it is old (2017-2018) and it uses an eclipse. I want to find a full-f...

Pavel1 by Associate II
  • 2249 Views
  • 11 replies
  • 0 kudos

SPI MOSI idle state quirk - sometimes high, sometimes low

I'm DMAing a buffer to the SPI transmitter, and require the idle state of the MOSI line to be low while the next buffer is waiting for its queue to be sent. After some limited testing (STM32L433) I have found that the idle state of the line depends o...

gregstm by Senior III
  • 5939 Views
  • 7 replies
  • 0 kudos

STM32F302R8 I2C1 STUCK AT GENERATE START CONDITION

Hi, I have a problem where my basic master send data code stuck at the generate start condition function. I am using STM32F302R8, based on the reference manual, the flow chart stated that SET the I2C_CR2.START. Then, inside my code, here is my basic ...

0693W00000Nr1T2QAJ.jpg 0693W00000Nr1TMQAZ.jpg 0693W00000Nr1W6QAJ.jpg 0693W00000Nr1WGQAZ.jpg
WM_IR by Senior
  • 811 Views
  • 4 replies
  • 0 kudos

suddenly code isn't uploading in nucleo f411re board

Error in final launch sequence:Failed to execute MI command:target remote localhost:61234Error message from debugger back end:Remote communication error. Target disconnected.: (undocumented errno 10061).Failed to execute MI command:target remote loca...

GMond.1 by Associate
  • 1897 Views
  • 1 replies
  • 0 kudos

SPI DMA with variable lenght and timeout?

Hi, my project is an ethernet server made with the STM32F411RET6. It receives and transmits data over SPI as a slave in 16bit mode, chip select disabled. At the moment i poll with HAL_SPI_Receive() and HAL_SPI_Transmit(). After transmit the master is...

MReus.2 by Associate II
  • 1619 Views
  • 3 replies
  • 0 kudos

Resolved! PendSV interrupt does not occur

・environment use board : STM32F1 Value Line Discovery Kit use debugger : TrueStudio(v9.3.0)​・questionI would like to use PendSV interrupt.To do so, I have executed the code below, but the interrupt does not occur.SCB->ICSR |= SCB_ICSR_PENDSVSET_Msk;※...

0693W00000Nr22iQAB.png
Myasu.1 by Senior
  • 1120 Views
  • 1 replies
  • 0 kudos