STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

STM32L496 SPI 16 clock cycles instead of 8

So I have configured the SPI peripheral with a data frame of 8 bits. However, in the scope, there are 16 cycles in total. The first byte is okay, and outputs the loaded byte, however after the first 8 cycles, there are additional 8 cycles. The issue ...

RoKsPy by Associate II
  • 1109 Views
  • 5 replies
  • 0 kudos

Doubts in generating fixed number of PWM Waves

I am trying to generate a fixed number of PWM Waves using stm32f407. I called both functions   HAL_TIM_Base_Start_IT(&htim2); HAL_TIM_PWM_Start_IT(&htim2,TIM_CHANNEL_1); and in the ISR void HAL_TIM_PeriodElapsedCallback(TIM_HandleTypeDef *htim) {...

RR.7 by Associate II
  • 1044 Views
  • 7 replies
  • 0 kudos

STM32 UART shows inconsistent outputs

From what I understand, the UART gets a char/byte one by one. I am trying to test this by adding '-' between each character of the string I send to the UART. However, the outputted values are very inconsistent when more than 1 character is sent to th...

JTurn.2 by Senior
  • 2208 Views
  • 16 replies
  • 0 kudos

I am using STM32F030C6T6 I am unable to configure usart1 in the code. None of the registers get configured for usart1 below is the code Please Help. I am using Standard Peripheral Libraries.

void RCC_Configuration(void){   RCC_DeInit();  //RCC_AdjustHSICalibrationValue(0x00);  RCC_HSICmd(ENABLE);  while(RCC_GetFlagStatus(RCC_FLAG_HSIRDY) == RESET)    {;}  //PLL out = (8M/2)*12 = 48 MHz  RCC_PLLConfig(RCC_PLLSource_HSI_Div2,RCC_PLLMul_12)...

lernd by Associate II
  • 1320 Views
  • 5 replies
  • 0 kudos

STM32F03 I2C1 not working?

i want to store data in to I2C EEPROM AT24C02 so in MCU I2C1 is used but i saw in oscilloscope I2C1 both pins are remains lowI2C2 works fine with i2c LCD.i placed pull up resistor 10k both line CLK & SDA in EEPROM.EEPROM address 0xA0how to solve it?e...

0693W00000Hq4jlQAB.bmp

CAN Bus strange signal (solved)

edit: the problem was due to a CAN-master switching baudrates on the fly.the wrong (slower) timing was detected by the CAN controller causing the interruption of the ongoing transmission.Hello Community !I am implementing CAN communication with an in...

0693W00000HpeihQAB.png