Quantcast
Channel: Processors forum - Recent Threads
Viewing all articles
Browse latest Browse all 17527

OMAPL-138: Synchronize all eCAP modules with SWSYNC

$
0
0

Hi All,

(On the c6000 core, not the ARM)

We are attempting to Synchronize the eCAP0-eCAP2 counter (TSCTR) on start up using the SWSYNC from eCAP0. All of the eCAPs are configured as follows:

  • All eCAPs in CAPMODE
  • All are in ONE SHOT mode
  • On eCAP0 (Master for syncing)
    • SYNCI_EN is 0 (DISABLE)
    • SYNCO_SEL is  0 (SYNCIN)
    On eCAP1
    • SYNCI_EN is 1 (ENABLE)
    • SYNCO_SEL is 0 (SYNCIN)
    On eCAP2
    • SYNCI_EN is 1 (ENABLE)
    • SYNCO_SEL is 2 (DISABLE)

Once finished, we set SWSYNC to 1 on the eCAP0 to sync all eCAPs. However, none of the capture port TSCTR registers reflect the value of their corresponding shadow register CTRPHS. We were wondering if there is a caveat on using the SWSYNC (instead of the PWM Pulse) to sync that we are missing.

Thank you,

Arya B.


Viewing all articles
Browse latest Browse all 17527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>