I am looking for any reference which would explain how to go about software interrupt generation.
Thanks in advance,
To save your time you could simply check examples on community in quick links:
Example MPC5744P PinToggleStationery S32DS
Example MPC5744P PIT triggering interrupts
I was looking for something where I can generate the software interrupt at will and not the same triggered by some event.
Is there anything like that?
I know a way. Tell me if I am right.
Section 126.96.36.199of programmer reference manual, there is mention of something.
Ok, so you are looking for software-settable interrupt requests in Software vector mode handshaking.
Just to be clear.
here is a lost of available software-settable interrupt requests:
Configure the INTC for interrupt requests:
interrupt_request_initialization:Configure HVENn in INTC_BCR.Configure VTBAn in INTC_IACKRn.Raise the PRIn fields and set the PRC_SELn fields to the desired processor in INTC_PSRn.Set the enable bits or clear the mask bits for the peripheral interrupt requests.Lower PRI in INTC_CPRn to zero.
Enable processor(s) recognition of interrupts.
now you can trigger your software-settable interrupt by setting it in INTC Software Set/Clear Interrupt Register (INTC_SSCIRn).
It is the same as for peripheral interrupts, but you pull request by software.
Retrieving data ...