This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS570LC4357: QUADRATURE PULSE GENERATOR

Part Number: TMS570LC4357

sir i know , but  after connecting  quadrature pulse generator , value are changing in register  variation  is high , i need to  find  frequency using time period , later speed i need to find ,eqep->QCPRDLAT   if i use this register  ,  value present in that  register is 0 .  why can u help me 

thank you,

jeeva

  • Hi Jeeva,

    The latching will be occur on two conditions based on the value of the QCLM

    If the QCLM is zero then latching will be happen when CPU reads the QPOSCNT register.

    If the QCLM is one then latching will be happen after unit time.

    The default value of this bit is zero right so the latching will happen only when CPU reads QPOSCNT register only, without reading this register if you perform direct read operation on QCPRDLAT then you will get zero value only.

    My suggestion would be first trying to write QCLM as 1 and then try to read latch register which will automatically update for each unit time.

    --
    Thanks & regards,
    Jagadish.