how to count pulses per interval
I want to count the number of pulses that occur in an interval controlled by a timer. I want to trigger the timer and the counter simultaneously. How can I do that?
Ask questions, find answers, and share insights on STM32 products and their technical features.
I want to count the number of pulses that occur in an interval controlled by a timer. I want to trigger the timer and the counter simultaneously. How can I do that?
Hi All,I please need your help as I have been stuck longer then I care to admit,I have a STM32G431 48-pin device which I am using TIM8 for input capture with DMA. I have an external input (PC6) for Ch1 input and am using a software trigger for Ch3.I ...
I've just started a personal project to communicate between different embedded devices using STM32F401RE via OpenThread. I would like to know if it is possible to use F401 processors and its peripherals combined to a separate radio such as nrf24l01 t...
Hi guys, I'm having this issue where I kept getting a Transfer Error when setting up a DMA.One of the replies I got is that DMA1 can't reach the memory area of DTCM, which would explain why it can't transfer the context from the buffer into the peri ...
I'm trying to connect a quadrature encoder to my board using STM32L4R5. From what I understand, I should connect the A and B to TIM2, TIM3, TIM4 or TIM5. If I have 2 encoders, can I connect all 4 A and B signals from both encoders to the same TIM? Li...
Currently I am using the STM32H753ZIT6 to do all the bare metals. Essentially what I am trying to do is just enable UART4 Tx to send some debug messages thats all. Everytime I try to enable the DMA1_Stream3 (UART4_Tx) it just gives me a TEIF3 error a...
Hi all:I am using an STM32407 running at 3.3V, and I have 2 inputs connected to 5V signals.One of the signals comes from an outside sensor (a data line), and the other one is connected to a 5V optocoupler populated on the same board.I have measured t...
Is this part not for new designs? We are prototyping on the nucleo which uses the same chip.https://www.digikey.com/en/products/detail/stmicroelectronics/STM32F303K8T6/5268259
I am having a hard time finding out the state of the UART pins while the chip is held in RESET. Are pins E2, D5, D4, and E1 held in a high-impedance state while the RESET pin H9 is pulled low? I suspect they are, but am trying to confirm through docu...
-