Hi. I am trying to obtain a 32 bit counter using two 16 bit counters of the Flex Timer embedded in the LS1021a module. I read the reference manual for LS1021a and found that it is possible to chain two FlexTimer modules to get a bigger 32-bit counter. The steps to chain two FlexTimer modules are as follows:
1) CH7 is internally connected for chaining functionality.
2) Connecting CH7 output of FlexTimer-B to PHA input of FlexTimer-A.
3) Tieing PHB input of FlexTimer-A to one.
4) Programming FlexTimer-A to be in quad-mode.
Can anyone please let me know the exact register values (or the register field values) required to accomplish the task. Thank you in advance
Thank you so much for the reply. I am new to the module and currently I am
trying to access the counter by writing to the registers directly using the
register addresses (using u boot and not C code). Is it possible to chain
the FTM modules by directly writing to the memory? If yes, I would
appreciate if you could help me know the exact register values to chain the
two FTM modules. Meanwhile I will also try to understand the register
values by going through your code thoroughly. Thank you once again.
Regards,
Pavan Vishnu Meharwade
On Sun, Jul 3, 2016 at 11:12 AM, ufedor <admin@community.freescale.com>