• high precision timer using AT89S8252
    I am trying to implement a high precision timer using AT89S8252 using the following code: void configureTimer0(void) { EA = 0; TMOD &= 0xf0; TMOD |= 0x01; ET0 =1; TH0 = TH_VAL TL0 = TL_VAL...
  • high precision timer using AT89S8252
    I am trying to implement a high precision timer using AT89S8252 using the following code: void configureTimer0(void) { EA = 0; TMOD &= 0xf0; TMOD |= 0x01; ET0 =1; TH0 = TH_VAL TL0 = TL_VAL...
  • Count Timer value
    I want to count time between two rising edge of TTL Pulses. For that I am using Timer0 & Timer1. Timer0 is generate interrupt at every 20ms. In Timer0 ISR I start GPIO Interrupt. In GPIO ISR I start...
  • Count Timer value
    I want to count time between two rising edge of TTL Pulses. For that I am using Timer0 & Timer1. Timer0 is generate interrupt at every 20ms. In Timer0 ISR I start GPIO Interrupt. In GPIO ISR I start...
  • Cortex-A35 Counter-timer Physical Count register (CNTPCT_EL0) always reads zero
    Counter-timer Physical Count register CNTPCT_EL0 always reads zero on FVP_Base_Cortex-A35x1. I expect the value of this register to change over time. I set $CNTFRQ_EL0=35000000, and $CNTP_CTL_EL0...