anybody had luck with the SPC574Kxx_RLA GTM DPLL Test Application for Discovery example?
Hi everyone,
I am struggling to understand why the provided example seem not to behave as expected:
- upon startup, when the gap is detected, the generated Reference_position (TDC) turns out to be localized 1 tooth AFTER the calculated one (angular ticks math), even if the values written to the TBU_CHANNEL1 register are correct. It looks like the match-value is only loaded into the CCU register of the ATOM channel only 1 active edge AFTER (This could be overcome with a one-time only -cold boot- compensation btw).
- but it's not over: after a lock-loss scenario (take 1 tooth off the crankwheel, e.g.) the resynchronization procedure is carrried out following the same steps as on startup but this time (oddly enough) the Reference_position (TDC) ends up 3 teeth (angular position) BEFORE where it is expected. There must be something with the CPU loading the CCU register values for next matching...
Is there anybody running into similar issues on this specific platform? How did you get over (if you did)?
M
