Announcements

Robots are revolutionizing our lives in many ways. Join our webinar to learn about Infineon’s broad portfolio of robot building blocks.
Click here to register.

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

AURIX™ Forum Discussions

DennisSSebasiSt
Level 1
Level 1
First reply posted First question asked Welcome!

I am working on microcontroller TC23X (Infineon), and my "time()" function is always returning the maximum value 0xFFFFFFFF I am using the compiler "Tasking VX Toolset for Tricore V6.3r1"

Can someone please help me how to resolve above issue. so that time() returns the time since the Epoch (00:00:00 UTC, January 1, 1970), measured in seconds

I have tried these methods "time(NULL), time(0) and time(&Var)"

0 Likes
1 Solution
User13836
Level 5
Level 5
10 likes received 50 sign-ins 10 solutions authored

You might want to take at look at the tc_time example project which is included in the TASKING TriCore tools v6.3r1. You can import this project into a TASKING Eclipe  workspace using:

File >> Import >> TASKING C/C++ >> TASKING TriCore Example Projects

and then select tc_time from the list of available example projects.

Best regards,
Ulrich Kloidt

TASKING tools support

 

View solution in original post

0 Likes
1 Reply
User13836
Level 5
Level 5
10 likes received 50 sign-ins 10 solutions authored

You might want to take at look at the tc_time example project which is included in the TASKING TriCore tools v6.3r1. You can import this project into a TASKING Eclipe  workspace using:

File >> Import >> TASKING C/C++ >> TASKING TriCore Example Projects

and then select tc_time from the list of available example projects.

Best regards,
Ulrich Kloidt

TASKING tools support

 

0 Likes
This widget could not be displayed.