AnsweredAssumed Answered

Can I use two TIM Channels at the same time?

Question asked by eungsoo Lee on Jun 1, 2017

Hi 

 

I have a question.

 

---------------------------
Test environment

CPU: S12ZVMC128
Sensor: Hall Sensor Type
Communication: CAN

-----------------------------------------------

The simulation situation is as follows.
CAN RX MSG ID: 0x01, 0x03, 0x04
CAN TX MSG ID:
    Period (2.5ms): 0x07, 0x09
    Period (10ms): 0x06, 0x08

Hall Signal Capture using Hall Sensor Port.

 

- Problem situation
  When the CAN Function Module and the Hall Sensor Capture Module are individually tested, they operate without problems. However, the Hall Sensor Port block does not work when two modules are integrated and tested.

 

1) .Is there a problem with MBD Toolbox when using two TIM channels?

 

2) If there is a problem, how should I send CAN MSG with periodicity?

 

Attach the Test Program below.
Please check and advise if anything goes wrong.

 

I will be waiting for reply.

Original Attachment has been moved to: TestProgram.mdl.zip

Outcomes