Resolved! How to check Timer PWM activity?
Hi,Sometimes in my program, I use a timer in PWM mode, and sometimes it is off. How can I check the timer status, on or off? Thanks.
Hi,Sometimes in my program, I use a timer in PWM mode, and sometimes it is off. How can I check the timer status, on or off? Thanks.
Please help me.My codeSPI Master Code----------------------Initialization/* SPI4 init function */void MX_SPI4_Init(void){ hspi4.Instance = SPI4; hspi4.Init.Mode = SPI_MODE_MASTER; hspi4.Init.Direction = SPI_DIRECTION_2LINES; hspi4.Init.DataSize = SPI...
Hello I'm using STM32L0538 - Disco board. I have problem with E-paper when on SMT32Cube program putting virtual port.When I don't use virtual port E-paper working fine.In this link are more information (code, STM32cube program foto)https://community....
Hello,For a project, I am using the code given on the STLRWAN1 web page (https://www.st.com/en/evaluation-tools/i-nucleo-lrwan1.html#tools-software), and the project "End Node". I am using the L476 uC and the SX1272. How can I configure the code in ...
//My QSPI init functionu8 QSPI_Init(void){ QSPI_Handler.Instance = QUADSPI; //QSPI QSPI_Handler.Init.ClockPrescaler = 4; QSPI_Handler.Init.FifoThreshold = 4; QSPI_Handler.Init.Sa...
Dear all,I need to write the external flash while the code is executing in the same external flash (QSPI configured in memory map mode).I know that in this mode it's only possible (obviously) to read the flash but I need to update firmware.To do this...
F(clock) = 16000000 Hz Led is in TIM2 channel 1 , output compare mode , toggle on matchMy code is :void timer_set(){ // Enable TIM2 clock RCC->APB1ENR |= RCC_APB1ENR_TIM2EN; // delay for RCC __asm("dsb"); TIM2->CNT=0; TIM2->PSC = 15999...
I have two hardware boards mount with STM32H750 . I want to set the GPIO G11 to high , the code as below : __HAL_RCC_GPIOG_CLK_ENABLE(); HAL_GPIO_WritePin(GPIOG, GPIO_PIN_11, GPIO_PIN_SET); GPIO_InitStruct.Pin = GPIO_PIN_11; GPIO_InitSt...
Hi everyone, I'm trying to capture a PWM signal's duty cycle and period using a timer (TIM3 in this case) in PWM input mode. However, when I run the following code, I see no updates in the CCR1 and CCR2 registers, which should have the values of my ...
I am using stmf413xx to talk to M25P16 via SPI. I have working code that can send and receive data to flash via SPI but when I transition to HAL (I want get to interrupts eventually) it no longer works.The code that works iswhile ((SPI3->SR & SPI_FLA...