Hi Leon,
the KV4x library also has a "FTM_Three_Phase Output" block.
So could you explain why I should use FTM_Three_Phase_Output or eFlexPWM_Three_Phase_Output ?
Even if Kinetis and S32K microprocessors share the same ARM Core and similar peripherals - they belongs to tow different toolboxes that complicates the things. In this case there are 2 different SDKs with different drivers and initialization structures that are used to generate the code. If you check the TLC associated with each of the block you will see those differences:

Therefore, as general rule - use only the Simulink blocks that are exposed by each Toolbox Simulink Library: if you use a Kinetis microprocessor then use only the ones from Kinetis V Series Simulink Toolbox


So I have to use the „freemaster_data_recorder“ Block found in the kv4x Library instead of your S32K „freemaster_recorder_call“ in the "Fast Loop Control" Subsystem ?
Yes, you have to use the one from KV4x Library
What exactly I have to Change in the "freemaster_cfg.h" file ?
That is simple
Keep in mind that FreeMASTER can work on any kind of embedded applications not only the ones generated by Simulink. All we do in Simulink block is to change the defines in the freemaster_cfg.h file
For KV4 this is not done - is it just copied from default location into the generated file. For your reference, i've attached the file used in the M5 module. You can see compare it with your file and change the defines that you need.
#define FMSTR_SHORT_INTR 1
#define FMSTR_USE_SCOPE 1
#define FMSTR_MAX_SCOPE_VARS 8
define FMSTR_USE_RECORDER 1
#define FMSTR_MAX_REC_VARS 8
#define FMSTR_REC_BUFF_SIZE xxxx
#define FMSTR_REC_TIMEBASE FMSTR_REC_BASE_MICROSEC(100)
Hope this helps!
Daniel