AnsweredAssumed Answered

BSP_ALARM_RESOLUTION < 1ms in K70

Question asked by Jessica García on Jan 30, 2013
Latest reply on Jan 31, 2013 by Jessica García

Dear all,

 

Is it possible in K70 BSP Library to have BSP_ALARM_RESOLUTION < 1ms?

 

In twrk70f120m.h, it is defined:

 

#define BSP_ALARM_RESOLUTION                (1000 / BSP_ALARM_FREQUENCY)

 

I have worked with BSP_ALARM_FREQUENCY = 1000 in order to have 1 tick = 1ms, and I don't find any problems. But now I need to have 1 tick < 1 ms (for example, 500 ns). How can this be done?

Outcomes