MCU: S32K148
I need help with several issues with the FTP GPT driver that comes with RTD 3.0.0.
Issue 1: Upon enabling FTM 1 CH0 as a GPT interrupt source, the interrupt is not automatically enabled by the code generator. However, doing identical things in FTM0 CH0 does enable the interrupt. This is the case that is used in the example Ftm_Gpt_Example_s32K148. Manually adding the line
#define FTM_1_CH_0_CH_1_ISR_USED
in Ftm_Gpt_Ip_Cfg_Defines.h in the generated/include/ directory does work.
Issue 2: I cannot find a way to configure the upper count limit (the value of the 'MOD' register for a FTM) in the driver. There is a function, but that is internal to the driver (declared static). In the earlier "Processor Expert' based code, both the initial and final values were configurable as shown in the screenshot below:

Issue 3: Using the RTD public API
Ftm_Gpt_Ip_StartTimer()
I can set the initial count (but not the final count, please see above). However, I see something strange with this API:
Using a start count of anything other than 0, it counts from the start count to 0xFFFF. If I connect a scope probe to a GPIO line that is driven by the ISR, I see a square wave with a frequency that varies smoothly and as expected with the start count. However, with a start count of 0, I get a frequency that suggests that it is counting up to ~1024. Is this expected? If so, where is it documented? I can send you code to reproduce this behavior, but this is just a slightly modified version of the Ftm_Gpt_Example_S32K148 code.
Issue 4: (This is not an FTM related question). The voltage swing I see from the GPIO line is 5V. I was expecting to see 3.3V. Which document has more information about the GPIO I/O voltage and current sourcing/sinking characteristics?