Hi,
I am looking for any reference which would explain how to go about software interrupt generation.
Thanks in advance,
Sagar
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.
thats all,
Peter
Hi,
To save your time you could simply check examples on community in quick links:
S32DS:
Example MPC5744P PinToggleStationery S32DS
Greenhills:
https://community.nxp.com/docs/DOC-103438
Peter
Hi Peter,
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 21.7.7.1of programmer reference manual, there is mention of something.
Sagar