aung myat

Transmitting CAN message periodically MDBT MPC5744P

Discussion created by aung myat on Aug 1, 2019
Latest reply on Aug 2, 2019 by aung myat

Hi Constantin Razvan Chivu,

 

I am trying to send multiple CAN messages with different period. I am using the counter limited block and compare to constant block to periodically trigger the CAN send message block.

I could periodically transmit multiple messages with the same period by using this method but I am having trouble transmitting multiple messages with different period. I could transmit multiple messages if I didn't use the above mentioned two blocks but then the messages were not being sent periodically. Is there another way to transmit the message periodically? Moreover, I could not use Tx complete block with the above-mentioned method. I have attached my model which was created by 2018b.

 

Thanks and best regards,

Joe

Attachments

Outcomes