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

Resolved! [STM32F103] Send CAN message in CAN receive callback interrupt

Hello there,I am working with CAN on STM32F103. I want my MCU to send a message right when it receives a message so I put HAL_CAN_AddTxMessage function in HAL_CAN_RxFifo0MsgPendingCallback. I tried it with STM32F4 like this and it worked fine.void HA...

QTLe by Associate
  • 2173 Views
  • 3 replies
  • 1 kudos

Problem with SPI on bluepill module

SOLVED: was a problem with NSS pin, the code is GPIOA but NSS is GPIOB... thought I corrected it Hello, I am trying to read register on a RFM69HW transceiver, it uses SPI.I have used this module extensively. Works perfectly on arduinos, esp, and othe...

LLope.31 by Associate III
  • 1795 Views
  • 2 replies
  • 1 kudos

Attempting to change the UART port of a sample

Greetings,I want to compile the BLE Transparent Mode sample from the Cube (Version: 1.13.1Build: 17479_20230728_0839 (UTC)) for the STM32MMB module that has a different UART port from the default which is PB6/7.  Our design uses PA9/10 because we nee...

eleventen by Associate III
  • 1045 Views
  • 2 replies
  • 0 kudos

Resolved! SPI debugging stops after around 125 bytes being send

Hi STM forums,I use a stm32f205rct6tr for this projectin my project i need to send 1024 clock signals to the slave, the message inside is not inportant.but after sending around 125 bytes it stops debugging entirely, i checked it out with the oscillos...

Screenshot_159.png Screenshot_160.png Screenshot_161.png

Resolved! ATM32H747xi datasheet Table 9. Port A - Question

In the ATM32H747XI datasheet Table 9 on page 89...As I read this table... Examples are...Pin Name PA1 Alternate Function AF1 = TIM2_CH2Pin Name PA2 Alternate Function AF2 = TIM5_CH3Question 1:For PA0 AF1, there are two functions listed... TIM2_CH1/TI...

Will_iii by Associate II
  • 1068 Views
  • 2 replies
  • 1 kudos

How to detect what level digital input caused interupt

Hi  I have pin PA6 setup to interupt on high and low levels. I have done the following:GPIOA->MODER &= ~GPIO_MODER_MODE6; //PA6 as inputSYSCFG->EXTICR[1] &= ~SYSCFG_EXTICR2_EXTI6; //PA6EXTI->RTSR1 |= EXTI_RTSR1_RT6; //enable rising edgeEXTI->FTSR1 |=...

STM32F103ZET6 - Interface with LCD driver Ilitek ILI9341

Hi,I have inherited a project that utilizes Nuttx RTOS. This project is to change out the LCD display due to EoL. We are changing from Renesas R61580 Driver to Ilitek ILI9341. The existing driver is hooked up via 16-bit MCU command via the FSMC, with...

JT-88 by Associate
  • 1303 Views
  • 1 replies
  • 0 kudos

SDCard initialization issues

Hi everyone,I am encountering issues in sdcard initialization on my custom board.I am getting SDMMC_FLAG_CTIMEOUT error in SD_PowerON once the first CMD8: SEND_IF_COND is sent.Looking at signals and comparing with an identical custom board, you can s...

lukin_1-1692721035932.jpeg lukin_0-1692721024193.jpeg
lukin by Associate III
  • 625 Views
  • 0 replies
  • 0 kudos