STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

How to use SPI + DMA with software CS?

Hi All, I am trying to use SPI+DMA in stm32f401 nucleo 64. SPI + DMA is working successfully on both transmit and receive data. I configured spi + dma in software cs since I have multiple slaves, but that means I have to pull the gpio up and down for...

jb by Associate II
  • 1951 Views
  • 5 replies
  • 0 kudos

UART NOT Transmit if there is a delay in while loop

Hi, I generated the code through CUBEMAX, using USART3 with DMA and trying to send couple of bytes by call HAL_UART_Transmit_DMA in main while(1) loop. If I add the delay after a transmission even a 1ms it stop transmitting but if I remove the delay ...

ARehm by Associate III
  • 544 Views
  • 2 replies
  • 0 kudos

Trying to write data over I2C to an STM32F103C6 working as a slave in IT mode only gives a hard fault and the data is not stored in the array

***Edited to show the probably all the code involved without including the HAL libraries***Hi all, I'm using HAL libraries to code an STM32F103C6 as a slave and I'm using HAL_I2C_Slave_Receive_IT(), debugging I can see that the slave recognize its ad...

0693W000003BdFoQAK.png
VRami.1 by Associate III
  • 594 Views
  • 3 replies
  • 0 kudos

Resolved! Wakeup from standby falling edge

Hello, i'm working with stm32l412cb on custom PCB, and I ran into trouble.Is there any way to wake up MCU from standby by falling edge? Here is scheme and code:void enter_sleep() { HAL_EnableDBGStandbyMode(); //HAL_GPIO_WritePin(GPIOC, GPIO_PIN_13,...

0693W000003BWPCQA4.png 0693W000003BWZqQAO.png
makavity by Associate II
  • 938 Views
  • 2 replies
  • 0 kudos