cancel
Showing results for 
Search instead for 
Did you mean: 

Using TIM2 with TouchGFX

eng23
Senior

Hello,

I tried to use tim2 in my firmware but in CubeMX when TouchGFX is enabled tim2 is disabled..

In TGFX tab there is a parameter "Timer for Instrumentation" where I can choose between timer 1, 3, 5, 8 and 12, but is it doesn't affect tim2.

Is possible to use tim2 when I'm using TouchGFX?

"Timer for Instrumentation" is used for what?

Regards.

11 REPLIES 11
DWeie
Associate III

Thanks for the reply. I've been able to make use of TIM2 as well.

Best,

Don

I think there's some hardcoded value in CubeMX that doesn't allow TIM2 to be used with TouchGFX because we're using it, in some cases, in our MCUInstrumentation classes. Once those restrictions are removed from CubeMX it should be possible to use TIM2 again, i think.

/Martin