AnsweredAssumed Answered

Bug in 845 SDK

Question asked by lajostoth on Aug 14, 2018
Latest reply on Aug 20, 2018 by soledad

Hi,

there is a bug in CLOCK_GetFRG0ClkFreq funtion as well as in FRG1.

uint64_t typecasting parentheses are in wrong place.

First need to cast return value of CLOCK_GetFRGInputClkFreq and then multiply by 256. (shifting)

 

The correct function is:

 

Outcomes