AnsweredAssumed Answered

MQX Kinetis K20 FLexTimer Access

Question asked by Robert Lewis on Sep 25, 2012
Latest reply on Sep 26, 2012 by Robert Lewis

We have a working MQX PIT timer system on the CF V1, 51JM128, but now we are using the K20dx256 and all the rules have changed. In that system I assigned

 

VMCF51JM_STRUCT_PTR     reg_ptr;

 

Then did all the register access's        reg_ptr->TPM2.TPMxMOD = 0xFFFF;                                     // MODULO = 0xFFFF , this is for the test ovf interrupt

 

But it doesn't seem to work this way on the Kinetis. I was wondering if someone would have a suggestion on how to set up the register access & headers.

I have read through all the examples and do not see which headers should be included when we use MQX. Do we include headers from Processor Expert, or the header under

C:\Freescale\CW MCU v10.3\MCU\lib\wizard_data\ARM\DataBase\derivatives\MK20Z.h ?

 

This seems to have a (base) pointer defined somewhere but I can't find out how to define (base).


Thanks

 

Robert

 

 

 

Outcomes