09-14-2012 09:58 AM
Hi All:
I am working on the X series driver development by using MHDDK. After comparing M series and X series I found that there is a Gi_Save_Trace bit in register Gi_Command_Register in M series. When it is set, the register goes into the latched mode after the next clock edge to assure valid data was latched. However, I can't find equivalent register bit in all X series counter registers.
Can anyone tell me what is the equivalent register bit for same function that Gi_Save_Trace does?
Another related question is that: what is the equivalent register bit in X series counter registers for Gi_Alternate_Sync in Gi_Counting_Mode_Register in M series?
Thanks,
Larry
09-28-2012 09:52 AM
Hello,
According to the X Series DDK Reference Manual, the Gi_HW_Save_Register and Gi_Save_Register will give you the data in the counter, while it is armed. See page 13-7 for more information about what data is in each register. It appears that the days of having to use Gi_Save_Trace and then reading Gi_Save_Register multiple times are over.
The Gi_HW_Save_Register documentation also details that each counter has its own FIFO that can be used to get the hardware buffered count values.
I hope this helps,
Steven T.