Hello. I'm new into all of this and wanted to ask some questions.
I need to create Signal Generator right now, the signal has to be from any GPIO pin.
I'm using:
S32DS
S32K144EVB board: https://www.nxp.com/document/guide/get-started-with-the-s32k144evb:NGS-S32K144EVB
So my idea was to:
- create new application project where I drag functions from components of my project,
- I chose CLOCK_DRV_Init(&clockMan1_InitConfig0); to initialize the clock,
- PINS_DRV_Init(PTA, g_pin_mux_InitConfigArr); - initialize PTA registers from where I will use J2-16 PTA14 GPIO pin,
- then I somehow need to set them to output I guess (because the signal will be generated from the board to outside of it),
- the signal has to be ~1000Mhz so I need to choose the right functions to make the signal with this kind of frequency,
- to read the value (and check if this works) I will use the example with ftm_signal_measurement_s32k144 example.
Any help would be appreciated.
Have a good programming time