Other Parts Discussed in Thread: IWR1642
Tool/software: Code Composer Studio
Hello!
I'm hoping somebody can provide some clarity with respect to frame timing in the People Counting Lab. There seems to be a couple of conflicts between the documentation, code and device performance:
- The User's Guide states that the timestamp data on the frame is from a free running 600MHz clock; however, the system clock speed constant in the code says it is 200MHz.
- The vales returned from the device for uartSent, TrackProcessing and ChirpMargin plus the difference in timestamp between the prior and current frame correctly add up to the FrameMargin if the timestamp is converted to micro-seconds using the 200MHz value for the clock. The documentation states that those times are given in milliseconds (ms) but they seem to be in microseconds (μs).
- The documentation states that the sample rate is 50 frames per second, which would be consistent with timestamp (based on 200MHz clock speed); however, frames seemed to be sent through the UART approximately once each 50-60ms; no frames are missing in the sequence of FrameNumbers so, how is this possible? I could be explained if the system were actually running at 80MHz but I don't think that is the case.
Is there a detailed explanation of what each part of the frame timing represents? Could somebody verify that actual clock speed? I have used the lab from the 2.1.2, 2.2.0 and 2.3.0 versions of the Industrial Toolbox and I see the issue in all three.
This code is lines 290-292 of :sys_common_xwr16xx_dss.h. Could this be the source of the confusion?
/* Sys_vclk : 200MHz */
#define DSS_SYS_VCLK (200000000U)
#define DSP_CLOCK_MHZ (600U)
Thanks
Tom McCotter