MS3 CAN Broadcast
Moderators: jsmcortina, muythaibxr
MS3 CAN Broadcast
This is my first experience with MS3 Pro.
I unboxed it, put it on my bench desk, connected one connector that has Power and Ground wires, powered it up using an AC/DC, connected the Serial and successfully uploaded my project. No problems so far.
Now that I connected my Arduino with MCP2515 and wired the CANH and CANL and enabled the CAN Realtime Data Broadcasting to run the example sketch on Arduino, I didn't receive any data from MS3. I have wired everything up as per instructions and rechecked them many times. Is there anything else that I need to turn on before MS3 starts broadcasting CAN? I placed an LED on CANH and CANL and it remained solid ON regardless of the frequencies that I selected.
I left the other connector disconnected because it only has power grounds that I'm assuming are for injectors and solenoids. Besides I have a steady connection with Tunerstudio and battery reads around 11.5V
I unboxed it, put it on my bench desk, connected one connector that has Power and Ground wires, powered it up using an AC/DC, connected the Serial and successfully uploaded my project. No problems so far.
Now that I connected my Arduino with MCP2515 and wired the CANH and CANL and enabled the CAN Realtime Data Broadcasting to run the example sketch on Arduino, I didn't receive any data from MS3. I have wired everything up as per instructions and rechecked them many times. Is there anything else that I need to turn on before MS3 starts broadcasting CAN? I placed an LED on CANH and CANL and it remained solid ON regardless of the frequencies that I selected.
I left the other connector disconnected because it only has power grounds that I'm assuming are for injectors and solenoids. Besides I have a steady connection with Tunerstudio and battery reads around 11.5V
-
- Site Admin
- Posts: 39621
- Joined: Mon May 03, 2004 1:34 am
- Location: Birmingham, UK
- Contact:
Re: MS3 CAN Broadcast
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".
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".
Re: MS3 CAN Broadcast
Sorry... here it is
Re: MS3 CAN Broadcast
I used 2 Arduinos with 2 CAN bus devices and was successful in having them cross-talk. So now I'm sure that the communication from the Arduino side is working perfect. My code right now is waiting to listen for any data coming in regardless of the ID just to make sure that I'm receiving something from the MS3. I've been struggling with this since yesterday and I'm quite positive that it is the MS3 that is not outputting any CAN data.
Like I mentioned earlier, I've powered the MS3 using an AC/DC and it's reading 11.5V with solid connection. There are only 4 wires from the MS3 that are currently in use 12V on white connector, Ground on white connector, CANH and CANL. I used almost everything other option on the CAN section but no success. Does MS3 have to see an RPM before it starts transmitting CAN data? I even tried a common ground between the Arduino and MS3. Is there anything else that needs to be enabled on the MS3 in order to send CAN data? Is there anyway to see in TunerStudio if MS3 is actually transmitting CAN data or not?
Please help, this is driving me nuts!
Like I mentioned earlier, I've powered the MS3 using an AC/DC and it's reading 11.5V with solid connection. There are only 4 wires from the MS3 that are currently in use 12V on white connector, Ground on white connector, CANH and CANL. I used almost everything other option on the CAN section but no success. Does MS3 have to see an RPM before it starts transmitting CAN data? I even tried a common ground between the Arduino and MS3. Is there anything else that needs to be enabled on the MS3 in order to send CAN data? Is there anyway to see in TunerStudio if MS3 is actually transmitting CAN data or not?
Please help, this is driving me nuts!
-
- Site Admin
- Posts: 39621
- Joined: Mon May 03, 2004 1:34 am
- Location: Birmingham, UK
- Contact:
Re: MS3 CAN Broadcast
Is your Arduino set to the matching baud rate? I seem to recall some users finding that the crystal on the boards doesn't match up with the libraries or something like that, so the baud rate was half or double the expected?
James
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".
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".
Re: MS3 CAN Broadcast
Yes it's set at 500kbps
-
- Site Admin
- Posts: 39621
- Joined: Mon May 03, 2004 1:34 am
- Location: Birmingham, UK
- Contact:
Re: MS3 CAN Broadcast
Yes, but is it actually 500kbps ??xgrapher wrote:Yes it's set at 500kbps
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".
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".
Re: MS3 CAN Broadcast
I had 1 one adruino as a sender and another as a reciever and both were set at 500kbps and didn't have a problem having them talk to each other.
MS3 CAN is 500kbps right?
MS3 CAN is 500kbps right?
-
- Site Admin
- Posts: 39621
- Joined: Mon May 03, 2004 1:34 am
- Location: Birmingham, UK
- Contact:
Re: MS3 CAN Broadcast
Please read my earlier reply! Two wrongs don't make a right.
James
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".
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".
Re: MS3 CAN Broadcast
oh i found this one i brought a china special mcp2515 it had a 8mhz crystal installed and the arduino library was coded for a 16mhz crystal. have a look and if it is 8mhz either swap the crystal out or set the arduino bus speed to 1000kbps
1990 bmw 320i daily driver with m20b25 ms3 sequential fuel, 380cc injectors, d585 coil near plug, home made cam sync, launch control, fan control, vss, homebrew egt logging what's next????
Re: MS3 CAN Broadcast
I love you man!grom_e30 wrote:oh i found this one i brought a china special mcp2515 it had a 8mhz crystal installed and the arduino library was coded for a 16mhz crystal. have a look and if it is 8mhz either swap the crystal out or set the arduino bus speed to 1000kbps
I changed the baud to 1000kbps and it's working now!
I'll order a 16MHz MCP2515 altogether.
Sorry jsmcortina, you had pointed it out but i didn't understand it ealier. Only now when I reread it I could comprehend.
Thank you guys - Megasquirt is the best. Your support is unbeatable - I mean it! I've been indulged with AEM, Haltech, Link, Motec but their support is not even close
Re: MS3 CAN Broadcast
For the records, I replaced the 8MHz crystal with a16MHz one and reverted back to 500kbs and it's working perfect.