• set timer as counter
    Hi, my name is hardian and i have some problem with setting timer as counter, and i already wrote a code : TR0=1; TMOD=0x06; ET0=1; EA=1; but it still doesnt work, can anyone tell me how to set...
  • buad rate timer setting
    I am using timer 2 for baud rate generater, mode 1. When I use the code below to calcultate the value, it gave wrong results. WORD w = 65536-OSC/(12L*Baudrate); With OSC = 110592, and Baudrate ...
  • buad rate timer setting
    I am using timer 2 for baud rate generater, mode 1. When I use the code below to calcultate the value, it gave wrong results. WORD w = 65536-OSC/(12L*Baudrate); With OSC = 110592, and Baudrate ...
  • set timer as counter
    Hi, my name is hardian and i have some problem with setting timer as counter, and i already wrote a code : TR0=1; TMOD=0x06; ET0=1; EA=1; but it still doesnt work, can anyone tell me how to set...
  • The timer flag is set immediately
    I am learning to use timer without interruptions(with flags). The STM32CubeMX generates the values configuration. But at the moment of initialization, it does not wait for the set time to be set automatically...