iLLD_TC27xC
1.0
|
![]() |
IOM Module takes the monitor and reference signals from applicable system peripherals(GTM,CCU6,QSPI,PSI5,ASCLIN) and also from external hardware(Sensors) and compare them with respect to one another and generate the alarm events which are routed to SMU.
In the following sections it will be described, how to integrate the driver into the application framework.
Include following header file into your C code:
Declare the IOM handle and the configuration buffers as global variables in your C code:
The module initialisation can be done in the same function. Here an example:
The IOM is ready for use now!
Once the Iom driver is initialized, GTM or CCU6 or QSPI or PSI5 or ASCLIN should be configured to get the two signals with some delay by which event occur.
The tested two signals are at below pins.
To generate GTM signals see How to use the GTM TOM PWM Driver
Two GTM signals at below PWM out pins are used as monitor or reference to IOM
Ifx_P* testPort0 = uint8 testPin0 = 2; Ifx_P* testPort1 = uint8 testPin1 = 2;
First pin is for Monitor and second pin is for reference. The above initialized IOM generates the event to SMU if pulse or duty cycle too short.