STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

SPI with DMA interrupt handling for SPI transfer complete

I'm having trouble understanding how the transfer complete interrupt is working.I have setup SPI using DMA to speed up data transfer to an LCD-display.The SPI clock is 18MHz, the System clock is 72MHz.From the book Mastering STM32 my understanding is...

0693W00000aH56WQAS.png 0693W00000aH56lQAC.png
UFB by Associate II
  • 8811 Views
  • 9 replies
  • 0 kudos

STM32F030F4P6 - how to make UART1 TX work on PA2

I have configured PA2 as USART1 TX in STM32CubeMX, the code it generates looks correct:void MX_USART1_UART_Init(void) {   /* USER CODE BEGIN USART1_Init 0 */   /* USER CODE END USART1_Init 0 */   LL_USART_InitTypeDef USART_InitStruct = {0};   ...

CSkil.1 by Associate II
  • 1092 Views
  • 4 replies
  • 0 kudos

SRAM FMC not working

Hello all,I'm trying to communicate with SRAM device on my board.I'm using STM32H747XIH6 MCU.I tried to capture the Write enable, chip select and output enable pins on the board but I saw an unusual response of the output enable.My configuration for ...

0693W00000aH8aoQAC.png
Aarra.1 by Senior
  • 683 Views
  • 1 replies
  • 0 kudos

STM32H723 RAM configuration

Hey there,I am trying to replace an STM32F767 with an H723ZGT Nucleo Board. The projects uses a lot of heap - in the predefined memory configuration there is not enough place in the RAM_D1 sector. What do I need to do for changing the available RAM s...

PUrsu.1 by Associate II
  • 2381 Views
  • 4 replies
  • 0 kudos

Resolved! Incorrect interrupt firing for stm32f4 CAN2

I have not been able to get CAN2_RX0_IRQ or CAN3_RX0_IRQ to fire. CAN1_RX0_IRQ works as expected. It appears that rather than the CAN IRQs firing, the WWDG interrupt is going off for CAN2_RX0 and the DMA1_Stream0 is going off for CAN3_RX0. Neither th...

KRott.1 by Associate II
  • 1202 Views
  • 4 replies
  • 1 kudos

Resolved! STM32H743 kein CAN-Datenempfang mit 1MBit

We have a project which reads CAN data on both FDCAN ports. Bitrate 500 kBit is working perfectly, but with 1 MBit no data can be read. PIN-Speed = HIGH (also tried MEDIUM and VERY_HIGH, but no change)CAN-Clock = 80 MHzWe already tried CAN Bittiming ...

GS1 by Senior III
  • 711 Views
  • 1 replies
  • 0 kudos

Resolved! The timing for reading the ADC with DMA seems way too long. I calculate just under 36 us to read 8 ADC channels with a STM32L443CCT running at 64 MHz.

I am trying to trigger every millisecond, or 1000 microseconds, but my counters in the interrupt are seeing 167 interrupts per second as opposed to the expected 1000 interrupts per second.I am reading 6 channels with a sample rate of 92.5 clocks per ...

KiptonM by Lead
  • 3221 Views
  • 8 replies
  • 0 kudos