Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Please write CAPL script for the below requirements. I really need it. I am learning

Status
Not open for further replies.

shravan1991

Newbie level 2
Joined
Sep 19, 2014
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
20
Can someone please write a script for the below requirement? Its a humble request.
Capl script
1) Write the CAPL script for simulation of the ECU. The functionality of ECU is following:

RQ 1) ECU shall generate on the CAN output pulses.(signal is jumping 0<>1 )
RQ 2) ID of the output message is 0x100, start byte =1, start bit = 1, length=1
RQ 3) Cycle time of the output is 10 ms
RQ 4) Output is enabled/disabled by signal. Parameters of the signal are ID=0x300, start byte =5, start bit = 6, length =1, Cycle time of this input is 500 ms
RQ 5) Frequency of the output signal is defined by signal in message 0x200, start byte =4, start bit = 0, length =8, 0=error, 1-200 is frequency, scale 1:1, Cycle time of this input is 200 ms.
RQ 6) Default value of output frequency is 10 Hz
RQ 7) If the input signal with the frequency is in error (0), output is disabled
RQ 8) If the input signal frequency is in range 201 -255, output frequency is in default


2) Make the test specification for the RQ1-RQ8
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top