cancel
Showing results for 
Search instead for 
Did you mean: 

what happen in my canbus sample code.(use 2 canbus need to enable 3canbus )

Tchou.1
Associate II

Discovery broad SPC528B-DIS

SPC5Studio 6

UDE STK 5.00.05

OS: WIN10 64BIT

1. i imort this sample project: SPC582Bxx RLA CAN Test Application for Discovery .

2. follow sample code cand2 and cand7 enable sub0 mcan1 and sub1 mcan1

,but i can't work( no loopback mode).

3. if i enable additional "mcan 0 sub0", cand2 and cand7 can work.

i have no idea what happen.

This discussion has been locked for participation. If you have a question, please start a new topic in order to ask your question
2 REPLIES 2
Erwan YVIN
ST Employee

Hello ,

Could you send me the installation details ?

How do you detect that the CAN transmission does not work ?

LEDs do not toggle ?

            pal_lld_togglepad(PORT_E, LED_4);
        pal_lld_togglepad(PORT_A, LED_3);

Best Regards

Erwan

Tchou.1
Associate II

led to check work or not .

if i turn on MCAN0 , and led will be lit.

Best Regards

tim