STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! Best way to use DMA without knowing size of SPI transfer ?

Hi,device : STM32G473VBT6What is the best way to process SPI data when we don't know how many bytes will come from the SPI master ?I use the SPI in full duplex slave.The problem with DMA is that the DMA buffer is circular, where my processing functio...

sde c.1 by Senior II
  • 3850 Views
  • 9 replies
  • 0 kudos

Is the parameter 'ActiveFrameLength' and 'FrameLength' under the FrameInit significant when the SAI module is configured to operate in slave mode to receive data?

I am trying to configure the SAI block in slave mode to receive a set of data. The Frame Sync signal and the data clock shall be provided from an external device. In a case where the active frame length and the frame length are to be decided by the m...

Jansunil by Associate II
  • 374 Views
  • 0 replies
  • 0 kudos

Updating the firmware on my STM32H745ZI-Q causes CPU2 not to boot and times out in error_handler(). Is there a way to use an older firmware?

I have updated the firmware on my STM32H745ZI-Q and when I run in debug mode the code runs until:while((__HAL_RCC_GET_FLAG(RCC_FLAG_D2CKRDY) != RESET) && (timeout-- > 0)); if ( timeout < 0 ) { Error_Handler(); }The code stops in the error handler.Is ...

KSOdin2 by Associate III
  • 472 Views
  • 2 replies
  • 0 kudos

Resolved! Fails to execute from QSPI Flash but read works

Hi,I have some issues with executing directly from QSPI with a NUCLEO-F412ZG and a connected Winbond W25Q80DV QuadSPI Flash which we are looking into as a workaround for the component shortage (will be a L4 variant but using a F4 for testing).Reading...

HSE oscillator when using USB

The STM32F303xB datasheet states that HSE oscillator should be used when using USB. I suspect it is because of the degraded accuracy of the HSI oscillator at temperature. I've had issues with CAN not working well with HSI at elevated temperature. Doe...

Resolved! Problem in using flash memory of STM32H745

MCU : STM32H745Boot : booting from user main memory(0x08000000 )of flash memory ( boot0 :low)compiler: IAR​I am coding to write in address 0x08060000 of flash memory in Cortex M7 . Cache is enabled, MPU is configured below After at first writing 4444...

0693W00000JMSgUQAX.png 0693W00000JMShwQAH.png 0693W00000JMSkRQAX.png 0693W00000JMSpHQAX.png
hryu.1 by Associate II
  • 645 Views
  • 1 replies
  • 0 kudos

Resolved! SPI1 SCK Polarity is incorrect.

I have a B-U585I-IOT02A Discovery board, which is connected it to an external ST LSM6DS3 accelerometer via the SPI1 pins on the arduino connector. The issue is that the SCK line is going low when not active even though I have it configured to be hig...

0693W00000JMQfaQAH.jpg 0693W00000JMQjCQAX.jpg
cBroadbo by Associate II
  • 925 Views
  • 2 replies
  • 1 kudos

Resolved! Two STM32F103C8´s connected by SPI. Master is sending data=3 as test, Slave STM received the data, HAL_SPI_RxCpltCallback is fire, but HAL_SPI_ErrorCallback is fire too, HAL_SPI_GetError=4 (overload)

Hi all.I am trying to connect 2 STM32F103C8 (blue pill board).I run a test using just ONE STM32 using SPI1 as Master and SPI2 as Slave, all configurations were working fine (FullDuplex, Master Transmite. receive only Slave....every test was fine (all...

0693W00000JMJcOQAX.png 0693W00000JMJe5QAH.png 0693W00000JMJf3QAH.png 0693W00000JMJibQAH.png
ERABALF by Associate III
  • 1531 Views
  • 4 replies
  • 0 kudos