32kHz crystal for 32F411EDISCOVERY board
HelloI want to add a 32kHz crystal on a F411 discovery board for the LSE.On the schematics, X2 has the value XTAL_32K_20PPM but is not fitted.Does someone has some hints for choosing the right crystal ?Bests
Ask questions, find answers, and share insights on STM32 products and their technical features.
HelloI want to add a 32kHz crystal on a F411 discovery board for the LSE.On the schematics, X2 has the value XTAL_32K_20PPM but is not fitted.Does someone has some hints for choosing the right crystal ?Bests
Hi all,I'm new to STM32G4 development. So I'm hoping to get some help to start.I need to measure pulse duration in 1 nanoseconds resolution or less. I then need to transfer the measured value to a another machines. I have been looking at STM32G4 seri...
I'm building a micropython firmware for running tensorflow lite for microcontroller examples. One of the main reference examples is called micro_speech and involves reading audio from a MEMS microphone at 16Khz using DMA and I2S and then feeding it ...
/*CODE to generate PWM signal of 50%*/#include "stm32l476xx.h"#include "pwm.h"void pwm_init(void){ /*RCC configuration*/ RCC->AHB2ENR|=RCC_AHB2ENR_GPIOEEN;//ENABLE GPIOE RCC->APB2ENR|=RCC_APB2ENR_TIM1EN;// ENABLE CLOCK ACCESS TO TIM1 //RCC->APB1ENR1|...
Hello,I'm working on 2 NUCLEO-F767ZI Demo Board.I'm using STM32CubeMX with last firmware package to generate the code and STM32CubeIDE to modify it and debug it.One of the board is used as an I2C Master, the other as I2C Slave. Every thing work fine ...
Here is my code in main() to config field NRST_MODE: HAL_FLASH_Unlock(); HAL_FLASH_OB_Unlock(); gFlashOBST.OptionType = OPTIONBYTE_USER; gFlashOBST.USERType = OB_USER_NRST_MODE; gFlashOBST.USERConfig = FLASH_OPTR_NRST_MODE_1; HAL_FLASHEx_OBProgram(&...
I was finally able to find the correct settings to configure my CAN peripherals with correct bitrate after tweaking for a while in STM32CubeMX. The settings that work do not make sense. FDCAN2 is 4 times slower so I had to make clock divider for FDCA...
Hi everyone, I'm just trying to test and verify some clock frequencies for a PWM waveform are correct. I used CubeMX to generate some code that has set the clock frequency of the MCU to 72 mHz and I am trying to achieve a 20 kHz PWM frequency. I enab...