Timer21 Example

Announcements

Webinar: Integrated solutions for smaller, simpler low-voltage motor control design.
Join the webinar to experience!

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

cross mob
User21456
Level 1
Level 1
I am looking to create a speed output clock, and am having problems getting Timer21 activated to create such a clock on P0.3 on a TLE9879. I have everything set up correctly in the configurator (attached).
.

As part of initialization I also execute the following:
Field_Wrt8(&TIMER21->T2CON.reg, (uint8) TIMER21_T2CON_TR2_Pos, (uint8) TIMER21_T2CON_TR2_Msk, 1u);

Not seeing any activity. Is there a good example somewhere?
0 Likes
3 Replies
Ramius
Moderator
Moderator
Moderator
5 sign-ins First like received 10 replies posted
Hello
by this week we can provide a feedback. In the meantime, can you please confirm the setting of P0.3 in the PORT section in Config Wizard?

Best regards
Ramius
0 Likes
User22258
Level 1
Level 1
5 replies posted First reply posted First question asked
Hello,
I am not sure I can help - but what do you mean by 'create a speed output clock'
Can you please describe in more detail what your desired results is

Regards
Ivan
0 Likes
Ramius
Moderator
Moderator
Moderator
5 sign-ins First like received 10 replies posted
Hello zcab911
can you please reply, so we can support you here?
Best regards

Ramius
0 Likes