s32k312 freemaster

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

s32k312 freemaster

2,966 Views
fengba_360
Contributor III

I am using CAN communication for monitoring with S32K312 FreeMaster, and I have a question to consult. Does FreeMaster support using the same CAN channel as the application? For example, on this CAN channel, can I both send and receive CAN IDs for FreeMaster, and simultaneously send other application-specific CAN IDs?

0 Kudos
Reply
4 Replies

2,923 Views
iulian_stan
NXP Employee
NXP Employee

Hi @fengba_360,

The same CAN instance cannot be used simultaneously, both by FreeMASTER and by application custom logic.

0 Kudos
Reply

2,912 Views
fengba_360
Contributor III
I seem to have solved this problem through can polling.After initial testing, FreeMaster can now work simultaneously with the application CAN.
0 Kudos
Reply

2,899 Views
iulian_stan
NXP Employee
NXP Employee

Good to hear that it worked for you.

Were there any extra configuration you had to make (in FreeMASTER or SDK) or it was enough to switch to CAN polling mode ?

0 Kudos
Reply

2,888 Views
fengba_360
Contributor III

In FreeMASTER, I set the mask of MB1 to 0x7FF, allowing only FreeMASTER's command CAN IDs to enter this mailbox, while all other CAN IDs are directed to other mailboxes. After that, sending and receiving will follow the polling mode logic.

0 Kudos
Reply