cancel
Showing results for 
Search instead for 
Did you mean: 

I have a question regarding TIM1 deadtime configuration on STM8S003F3.

PSedl.2
Associate

I am working on a project with the STM8S003F3. I need to configure the TIM1 to generate the following digital output signal on PC3:

1. Turn PC3 output to High state immediately (<1us) when signal on PC4 input goes Low.

2. After PC4 input signal goes High, wait 25us and then turn PC3 output to Low state.

PC4 input ----------|__________|-----------------------------------------------

PC3 outp. _______|---------------|-------25us------------|_____________

I want to generate this signal without using interrupts and code, just by configuring the timers and the hardware must do the work without code.

I thought using a complementary output with 25us deadtime would be OK and instead of an internal clock signal I would use the external signal from PC3? Is this possible?

0 REPLIES 0