STM32 MCUs Embedded software

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

[CUBE OTG] Incorrectly set HFIR.FRIVL

In CubeF4 v1.21, OTG_HFIR is set in USB_InitFSLSPClkSel() to either    USBx_HOST->HFIR = 48000U;or   USBx_HOST->HFIR = 6000U;which according to the RMs is incorrect, as they should be set to value one less.This has been already noted by @tsuneo​  her...

LWIP recompilation

Hello Dear DevelopersI don't know what is the procedure, but when a file is added to the project, the compiler no matter if it is Keil, STM32cubeide, or IAR, does a complete rebuild while LWIP is added to the project. What should I do or What I can d...

Resolved! STM32F446RE USB CDC device problem

Hi, I'm trying to follow this tutorial :- https://youtu.be/Hk--a4K497M -- demonstrating how to transmit simple string to PC via usb virtual com port. Unfortunately, I'm getting no output on my serial port. During debugging, I found that CDC_Transmit_...

0693W000007ZdGGQA0.png
KSriv.1 by Associate
  • 1076 Views
  • 2 replies
  • 0 kudos

Hi I'm using STM32F030R8 and trying to communicate with atecc508a using I2C. The datasheet of atecc508a says that it needs a wake up command by transmitting 0x00 at its I2C address 0xC0.

I use the HAL library function to transmit the wake up command to its I2C address.#define I2C_ADDRESS 0xC0HAL_I2C_Master_Transmit(&hi2c1, I2C_ADDRESS, 0x00, 4, 1000)but my code always return HAL_ERROR and the chip never acknowledges. I'm fairly new t...

BNara.1 by Associate
  • 588 Views
  • 1 replies
  • 0 kudos

Serial Bootloader baudrate mismatch

We have a system with STM32L431CCU which gets its initial firmware through serial download (as described in AN3155). We use USART1 and applied pattern 6 as described in AN2606. The software on the host side (embedded linux system) is either stm32fla...

0693W000007ZaYqQAK.png
MW by Associate
  • 331 Views
  • 0 replies
  • 0 kudos