STM32 MCUs Embedded software

Ask questions and find answers on STM32Cube packages, including HAL, LL and middleware, and expansion software.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

HAL_SMARTCARD_Receive returns HAL_TIMEOUT.

Well, I use STM32 Nucleo F429Zi and Stm32 Cube IDE v. 1.0.2. I connected SmartCard and STM32 correctly (my oscilloscope shows rigth values of RST, IO and CLK) but in code i see zero filled buffer each SET/RESET iteration where ATR should be. Here's s...

SMac by Associate II
  • 461 Views
  • 0 replies
  • 0 kudos

Nucleo L152 HAL_I2C_Master_Transmit_IT problem

Hi all,i tested two method of I2C transmit and resulted as follow.Method 1 : HAL_I2C_Master_Transmit_DMA(&hi2c1, 0x4E, &Data_M[0], 4); Nothing come out at the logic analyserMethod 2 : HAL_I2C_Master_Transmit(&hi2c1, 0x4E, &Data_M[0], 4,1000); Data co...

0690X00000ARVHOQA5.jpg 0690X00000ARVHiQAP.jpg
pchun by Associate
  • 396 Views
  • 0 replies
  • 0 kudos

Resolved! After LL_I2C_TransmitData8 the TXE flag keeps 0

I'm using STM32F103RBT6 to connetc to a OLED with I2C1.The init code is as below.static void MX_I2C1_Init(void) {   /* USER CODE BEGIN I2C1_Init 0 */   /* USER CODE END I2C1_Init 0 */   LL_I2C_InitTypeDef I2C_InitStruct = {0};   LL_GPIO_Init...

DDong.0 by Associate II
  • 1105 Views
  • 1 replies
  • 1 kudos

USB DFU Issues - DFU Clock Recovery System

Hi there,We are designing in the STM32H753 and would like to use the factory DFU bootloader. We are able to use the bootloader on the H743 nucleo board, but on our PCB it fails to complete any actions giving a "connection to the target" lost error in...

TScot by Associate
  • 447 Views
  • 0 replies
  • 0 kudos

How to communicate between STM32F427VI and SPBTLE-1S?

Hello,We are developing on STM32F427VI . We would like to communicate between the STM32F427VI and with SPBTLE-1S bluetooth device. Can we write an application on the STM32F427 to communicate with the bluetooth device without having to write an applic...

EMare by Associate
  • 392 Views
  • 0 replies
  • 0 kudos

Random Usage faults running Hal code on 32F410

I have a fairly simple bit of code running in a CubeMX generated scheme, using HAL code to communicate over SPI. I run a loopback test a thousand times - sometimes it passes, other times I get an INVSTATE Usage Fault which appears (according to Keil)...

nrose by Associate II
  • 1512 Views
  • 9 replies
  • 0 kudos

Flash Write Protection for STM32G070RB

Good Afternoon,do you have any technical example about writing in flash pages for this kind of microcontroller? We would like to implement In Application Programming possibly using the HAL library to disable WRP and then writing in a page (HAL_FLASH_...

DQuat by Associate
  • 256 Views
  • 0 replies
  • 0 kudos

question regarding usb i/o supply in stm32f779ni

Hello,Please consider the following scenario.Let’s say we need different voltage for USB i/o’s. So VDD_USB pin is supplied with separate Vdd_usb supply.Now irrespective of which alternate function in use, does the i/o’s operate in Vdd_usb voltage or ...