Part Number: TDA4AL-Q1
Hi
I found this E2E and from Brijesh's reply, there should not be issue when 32 bit MCU reading 64 bit GTC timer counter using ldrb 64 bit read command,
But now customer met the issue.
Code is like this:
typedef unsigned long UINT32;
typedef unsigned long long UINT64;
#define GTC_TIME_ADDR (0xA90008U)
uint64_t a = *(volatile UINT64 *) ((UINT32) GTC_TIME_ADDR);
uint64_t b = *(volatile UINT64 *) ((UINT32) GTC_TIME_ADDR);
When they print the a and b value, b value is smaller than a with a low possibility.
a=0x18 FFFFFFEA, b=0x18 00000072
Regards
Zekun


