Hi @James123,
Are you utilizing the example from the RTD, or are you implementing the configuration in a new project? If you are using the example, please take into consideration which channel was initialized:
Also, the function states the following: Emios_Icu_Ip_Init must be called before. The given channel must be configured in Measurement Mode Signal Measurement, Duty Cycle Values.
Best regards,
Julián.
Hi @James123,
Are you utilizing the example from the RTD, or are you implementing the configuration in a new project? If you are using the example, please take into consideration which channel was initialized:
Also, the function states the following: Emios_Icu_Ip_Init must be called before. The given channel must be configured in Measurement Mode Signal Measurement, Duty Cycle Values.
Best regards,
Julián.
Hi @James123,
You can find the Emios_Icu_Ip_BlinkLed_S32K344 example under the following installation path for the RTD:
With the following examples as well:
This example controls with input in ICU-eMios pin through IcuSignalNotification function, a GPIO trigger will generate edges to ICU input pins. The interrupts will be generated for the ICU channels and the user's functions will be called; the user's functions will blink LED.
Hope you find this helpful!
Best regards,
Julián.
The file is not found on my nxp folder, also which function is needed to measure the pulse width using SAIC mode in emios channel we have used the emios1_3 irq and it is detecting the high and low pulses ... to measure the pulse can you help me to find out which function need to be used.
Hi @James123
This example is found under the RTD installation path. If you have the latest RTD installed, you can import the example instead from Design Studio:
As for the functions, you can try to implement Emios_Icu_Ip_GetDutyCycleValues, this function reads the coherent active time and period time for the given ICU Channel.
Hope you find this helpful.
Best regards,
Julián
This SAIC example code is not working. The Red LED of the S32K3X4EVB-T172 evaluation board is not blinking according to the given program. Can you send me the working version of this example code for the board I'm using?
Must've slipped my eye about connecting the pins. The code is working fine now. Thanks for the help.