MS2 extra CAN

All questions about MS2/Microsquirt/Microsquirt module. See also MS2/Extra manuals

Moderators: jsmcortina, muythaibxr

Post Reply
Cole_customs
MS/Extra Newbie
Posts: 4
Joined: Tue Apr 18, 2017 3:25 am

MS2 extra CAN

Post by Cole_customs »

Hey Guys

Been playing around with the latest MS2 firmware and I have a CANBUS reader setup on my bench MS2 ECU now for the life of me I cannot get it to read any more than 2 can ids at one time. even at 1hz.

I have the ms2 setup to real time broadcast and have set id's 1520 -> 1535 to ON. I can read id's 1520, 1521 fine but thats all. If I turn off 1520 and 1521 I can read 1522 and 1523 fine. So it seems to me I can only broadcast 2x can id's at one go?

I have confirmed the CANBUS reader I am using works fine by connecting it to an OEM ecu's bus and reading far more than 2 id's at one time.

Is there something I am missing or can the MS2 extra firmware 3.4.2 only broadcast 2 id's at one time?


Thanks :)
jsmcortina
Site Admin
Posts: 39617
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: MS2 extra CAN

Post by jsmcortina »

No problems that I'm aware of. Attach your MSQ.

James
I can repair or upgrade Megasquirts in UK. http://www.jamesmurrayengineering.co.uk

My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
Cole_customs
MS/Extra Newbie
Posts: 4
Joined: Tue Apr 18, 2017 3:25 am

Re: MS2 extra CAN

Post by Cole_customs »

Here You go I have id's 1520 -> 1535 turned on but can only see 1520 and 1521 when I Have my canbus reader connected.

Cheers
jsmcortina
Site Admin
Posts: 39617
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: MS2 extra CAN

Post by jsmcortina »

I tested your MSQ and it works fine for me. Sixteen IDs broadcast. 0x5f0 - 0x5ff

James
I can repair or upgrade Megasquirts in UK. http://www.jamesmurrayengineering.co.uk

My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
ol boy
Super MS/Extra'er
Posts: 1532
Joined: Mon Sep 10, 2007 3:06 am
Location: Tucson, Az

Re: MS2 extra CAN

Post by ol boy »

Some can readers can be set to listen only or active and send the acknowledge bit for the next message.

Sent from my SM-G920V using Tapatalk
306 SBFord, Torquer II EFI intake, 60 lbs injectors, 8 LS2 coils, VS Racing 7668 turbo, 4R70W, MS3x fw1.4 w/built in trans controller.
Cole_customs
MS/Extra Newbie
Posts: 4
Joined: Tue Apr 18, 2017 3:25 am

Re: MS2 extra CAN

Post by Cole_customs »

Thanks for that.

I think I have a problem with this reader I am using. But any way.

When the ms2 is broadcasting would it be safe to assume the messages get sent out in can id order? So if I was listening in at the ms2 broadcasting at 10Hz I should see id's 1520->1535 broadcast in that order ten times a second? Or are they sent out randomly?

Thanks
ol boy
Super MS/Extra'er
Posts: 1532
Joined: Mon Sep 10, 2007 3:06 am
Location: Tucson, Az

Re: MS2 extra CAN

Post by ol boy »

If the ecu gets a acknowledge from the outside device it will send the next ID. Yes they transmit in order. If there is no acknowledgement then the ECU will keep blasting the same ID. I measured 5k hz chasing a simular problem as you last month.

Sent from my SM-G920V using Tapatalk
306 SBFord, Torquer II EFI intake, 60 lbs injectors, 8 LS2 coils, VS Racing 7668 turbo, 4R70W, MS3x fw1.4 w/built in trans controller.
Cole_customs
MS/Extra Newbie
Posts: 4
Joined: Tue Apr 18, 2017 3:25 am

Re: MS2 extra CAN

Post by Cole_customs »

I see. Yes this sounds like something I should look into. I will read through the documentation and attempt to send back an acknowledgment for each message. I was getting in my head that broadcasting just lets rip on the bus one id after another and it wouldn't care if they were acknowledged or not. Thanks for that.
racingmini_mtl
Super MS/Extra'er
Posts: 9130
Joined: Sun May 02, 2004 6:51 am
Location: Quebec, Canada
Contact:

Re: MS2 extra CAN

Post by racingmini_mtl »

The acknowledgement is at the CAN bus level and not something at a higher protocol level. What that means is that you need a CAN bus with at least 2 devices (the MS2 and a listening device) with the listening one not in a silent mode. The CAN hardware will then take care of it.

Jean
jbperf.com Main site . . . . . . . . . . . . . . . . . . . . . . jbperf.com Forum
Image
ol boy
Super MS/Extra'er
Posts: 1532
Joined: Mon Sep 10, 2007 3:06 am
Location: Tucson, Az

Re: MS2 extra CAN

Post by ol boy »

Yes, what Jean said. That's what I was trying to point out a few posts ago.

Sent from my SM-G920V using Tapatalk
306 SBFord, Torquer II EFI intake, 60 lbs injectors, 8 LS2 coils, VS Racing 7668 turbo, 4R70W, MS3x fw1.4 w/built in trans controller.
Post Reply