Ask questions, find answers, and share insights on STM32 products and their technical features.
My idea was simple. Set TIM to have 1MHz after prescaler. Then set ARR to the number of microseconds. So - I toggle GPIO pin each period elapsed and I can measure the time on oscilloscope.And here come troubles: for set 1us i get 2us. For 2us I get 2...
I am using Segger Embedded Studio 6.32 to develop a project for the STM32L062K8U6. While there are some start-up files created by the SES project wizard, I am not using any pre-built libraries and developing all my own code based on information from...
Hello, I made a an esc using an arduino a year ago and I wanted to try it with my stm32L476RG, for some reason my code doesn't seem to work, and I think that I'm doing the switching of the comparator input minus wrong, can you tell me if this is the ...
Here is my code : ignore the led toggles , the screenshot of the sr reg is below and highlited bits. Im guessing it has something to to with the arhitecture of the cpu.Kind regards.void flash_page_write(void){ uint32_t addrr_start=0x08001000; uint3...
Hi,Recently I used STM32F407 to develop firmvare code of external DAC device.In order to obtain a sinewave output from dac, I choose TIM2 to trigger interrupt.TIM2_period is configured as 167, and TIM2_prescaler is configured as 0. The sysclk is 168M...
Hello I have a Nucleo board L476RG and I would like to change the trigger mode of the comparator on the fly, the problem is that I cannot find the register responsible of this in the datasheet.I guess it's not related to the comparator but to the EXT...
Here is my code for IWDGLL_IWDG_EnableWriteAccess(IWDG); // Set the prescaler value of 8 to the IWDG LL_IWDG_SetPrescaler(IWDG, LL_IWDG_PRESCALER_8); // Specify the IWDG down-counter reload value LL_IWDG_SetReloadCounter(IWDG, 2000); ...
Posted on July 04, 2017 at 15:47Hello Team,As per STM32F769I-DISCO board schematic, I understood it should be Bypass clock source.But default cube project gives selection as Crystal ceramic. Why it is ceramic crystal?Request you to help me which one...