Other Parts Discussed in Thread: IWR1843
Tool/software:
I want to know how to get millisecond using Cycleprofiler_getTimeStamp api in IWR1843 AOP.
Could you please let me know what's wrong in the below code?
#define SYS_CLOCK_MHZ_4_UDS 200U
#define SYS_MILLISEC_INV_4_UDS (1.f / (float)(SYS_CLOCK_MHZ_4_UDS * 1000))
uint32_t uds_user_get_ms() {
return (uint32_t)(Cycleprofiler_getTimeStamp() * SYS_MILLISEC_INV_4_UDS);
}
BRs.
Hyunung Park