STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

I2C master quarter clock pulse

I am working with an STM32F405 and have the I2C1 peripheral set up as a master in standard mode with a clock speed of 100 kHz.  The i2c bus has about 5 devices attached to it, none of which are capable of running in master mode.  I'm using the HAL_I2...

runt_pulse.jpg
JW.4 by Associate II
  • 353 Views
  • 0 replies
  • 0 kudos

H7 migration, send SPI without using HAL

Hello dear community!I've migrated from F7 to H7, everything fine so far.To save CPU time I don't want to use HAL for sending two SPI bytes.My F7 transmit SPI code was very simple and perfectly working :SPI6->DR = byte_0; SPI6->DR = byte_1;But on the...

jean by Senior
  • 2621 Views
  • 10 replies
  • 3 kudos

Resolved! Flash erase and program

HI,I cannot delete page 15, or other pages, of the STM32C031K6T6 flash chip. HAL_StatusTypeDef status; EraseInitStruct.TypeErase=FLASH_TYPEERASE_PAGES; EraseInitStruct.NbPages=1; EraseInitStruct.Page=15; status = HAL_FLASH_Unlock(); status = HAL_FLAS...

Stefano1 by Associate
  • 406 Views
  • 1 replies
  • 0 kudos

Resolved! STM32F401C TIM2 Interrupt

Hello, I try to use a TIM2 Interrupt to toggle a LED. I use a STM32F401C controller. If I toggle the LED inside the while loop with delay, it works fine.       while (1) { HAL_GPIO_TogglePin(GPIOB, GPIO_PIN_15); HAL_Delay(1000); }       ...

Resolved! F429ZI USB HID keyboard Input

Hi,I am facing a problem in implementing USB HID host input for keyboard.I can get only 12-13 characters in my buffer after which the keyboard doesn't respond to any input as can be seen in snap attached.source for keyboard handling is also attached ...

Capture.JPG