xPC Target | ![]() ![]() |
Model Execution Driven by CAN-Messages (Interrupt Capability of CAN Receive Blocks)
In certain application it is necessary that the model (target application) execution is driven by the pace of an incoming CAN message. The standard behavior of the xPC Target kernel is to drive the model (target application) in time monotonic fashion (time interrupt), but allows to replace the driving interrupt by any other hardware interrupt. Because the three supported CAN boards allow to fire a hardware interrupt upon reception of a specific CAN message, the timer interrupt line in the kernel can be replaced by the interrupt line assigned to a CAN board. This leads to a CAN message driven execution of the target application.
To set this up, two independent steps are necessary.
Both steps are slightly different for each of the three supported CAN boards. Therefore the two steps are explained for each board type below.
![]() | Detecting Time-outs When Receiving CAN Messages | CAN-AC2 (ISA) | ![]() |