2015-10-21 09:21 AM
Hi all,
I'm using the SPC560B ecu as a LIN slave controller. Now I have the problem to wake up a slave master. Therefore I only set LINFLEX_0.LINCR2.B.WURQ = 1. This works for a couple of times but after a few wake ups not any longer. Does anybody know if I have to do more configurations in the register than that or do I have to respect some side constraints? Many thanks for help and kind regards, Dominik2015-10-22 01:32 AM
Hello all,
I solved my problem. The matter of fact that the wake up request was not successful is, that there has been an unsuitable byte in the data0 register. With following code I'm successfully able to wake up a master: void LINI_RequestMasterWakeUp(void) { LINFLEX_0.BIDR.B.DIR = 1; LINFLEX_0.BDRL.B.DATA0 = 0x00; LINFLEX_0.BIDR.B.DFL = 0; LINFLEX_0.LINCR2.B.WURQ = 1; } Greetings, Dominik2015-10-22 02:31 AM
Hello Dominik ,
Good to see that you have solved the issue ;) Best Regards Erwan