AnsweredAssumed Answered

CAN Driver MPC 5777M

Question asked by yalamanda dosakyala on Dec 7, 2016

Hi Petr Stancik, I have written the can driver for mpc 5777m same as the example for mpc5777c, It 's working fine and transmission and reception is happening, but My doubt in your code is your always making TXBAR = 1 for Tx buffer 0 when transmitting , as you configured 2 Tx buffers  for transmitting can messages.What about  another Tx buffer .


Why can't we check the whether txbuffer 2 is pending or not  and make txbuffer 2 'sTXBAR  = 1. so that we can transmit messages very fast and if we configure all 32 tx buffers , then we can transmit with high speed.