Posted on May 17, 2011 at 15:01Hi leozhang, There is an example called ''TIM1_ComplementarySignals_DeadTime_Break_Lock'' in the STM8S Firmware package which reachs your needs ;) here is the link to the Firmware package : http://www.st.com/products/s...
Posted on May 17, 2011 at 13:12Hi Seif, The TME interrupt is connected to 3 Flags (RQCP2,RQCP1,RQCP0) the description of RQCPx flag is : Request Completed for Mailbox x , This bit is set by hardware to signal that the last request for mailbox x has...
Posted on May 17, 2011 at 13:11Hi , since the STM8S and STM32 Timers are very similar, I advice you to take a look on the STM8S Firmware Timer example named ''TIM1_Input_Capture''. Amin --------------------- /* Private typedef ----------------------...
Posted on May 17, 2011 at 13:08your calculation is correct , but you have to respect the standard rule : 8=I suggest you to use BRP = 149 TS1 = 7 TS2 = 2 attached an xls file tio calculate the Baudrate Amin [ This message was edited by: amin.agina o...
Posted on May 17, 2011 at 13:07hi , Take a look on the STM8S Firmware TIM1 example ''TIM1_Input_Capture'', it calculate the frequency of an external signal. STM8S and STM32 Timers are compatible and the Firmwares are 99% similar. link is : http://ww...