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

How to give a pulse for a certain amount of time?

I'm using a L432KC nucleo for my project. If I have some normal GPIOs (no timer channels) configured as output, how can I give a pulse for a certain period of time? Is this when One Pulse Mode comes to play?

xpp07 by Senior
  • 438 Views
  • 1 replies
  • 0 kudos

CAN transmision failed

HiI design a custom board with STM32f429. I want to send and receive messages via CAN. I can receive message but I can't send any message. I used HAL library and SPL library and they have the same result. How can i resolve it?

M95512 and STM32F103 SPI3 (no have Read Data)

Dear allHello? Now I use STM32F103 SPI3 and M95512(SPI EEPROM). void SPI3_Config(void){ SPI_InitTypeDef SPI_InitStructure; GPIO_InitTypeDef GPIO_InitStructure; SPI_Cmd(SPI3, DISABLE); SPI_I2S_DeInit(SPI3); RCC_APB1PeriphClockCmd(RCC_...

0690X000006C0EjQAK.jpg 0690X000006C0EoQAK.jpg

Help with compiler errors

I am trying to compile a portion of code from a project I found on github. I made a new project with MXCube and am compiling with the Ac6/Eclipse environment. I am getting the following compiler error:In file included from C:/CircuitAbbey/Development...

Implement a USB device interface descriptor constituted with a Bulk-In and an Interrupt-In endpoint with STM32Cube USB Device Library

Dear Sirs,Can I use STM32Bube USB device library to implemet USB interface descriptor contains both a Bulk-In endpoint and an Interrupt-In endpoint? The function of these 2 endpoints are listed:Bulk-In endpoint is used to dump device status while rec...

YLin by Associate
  • 716 Views
  • 1 replies
  • 0 kudos

No timers on custom F091 hardware, debug wonky

I have a custom board with an STM32F091. I cannot seem to get any timer action, and the debugger is unstable. I am using the internal clock source and CubeMX to configure. I am just looking to make a 1mS timer for a simple scheduler. I have tried tim...

HAL_CAN_Init() returns HAL_TIMEOUT on STM32F042

Hello, I generated a fresh CubeMX project which has can bus. HAL_CAN_Init() returns HAL_TIMEOUT. What could be the possible solution ?/* CAN init function */static void MX_CAN_Init(void){ CAN_FilterConfTypeDef sFilterConfig; static CanTxMsgT...

SPI with STM32f429

Hi,I am using an STM32f429 Discovery board with CubeMX and HAL, and have some problems regarding SPI. I am using an DAC which takes data in 24 bit format, 8 control bits and 16 data. I can only select between 8 or 16 bit data, not both. If I try to s...

Matt G by Associate II
  • 2431 Views
  • 11 replies
  • 0 kudos