Quick question: What sets the rate at which the CAN ADC's poll for data in MS2 3.4? I've looked all over but can't find it anywhere. Is it hard coded?
I'm making good progress on my Arduino CAN-relay for my VFR400. Its main function is to send lambda and temp from my two 14point7 SLC controllers to my Microsquirt over CAN, but it also drives the IAC stepper (since a Microsquirt can't), the RPM gauge (protocol not compatible with MS), and the coolant temp gauge (since the sensor goes to the MS now), plus a few other little niceties. I'll probably also add a tipover kill function by adding an accelerometer. If anyone's interested, the code is on bitbucket. It uses a custom boards that I'll publish too, but right now it's in "prototype" stage with components deadbug soldered all over...
CAN ADC poll rate?
Moderators: jsmcortina, muythaibxr
-
- Helpful MS/Extra'er
- Posts: 146
- Joined: Sat Apr 11, 2015 2:53 pm
- Location: The island of Hawaii
Re: CAN ADC poll rate?
Anyone?
-
- Super MS/Extra'er
- Posts: 4122
- Joined: Fri May 07, 2004 3:33 am
- Location: Australia
Re: CAN ADC poll rate?
Not really sure where or what the rate is but the microsquirt IO box manual says to expect a 10mS to 20mS delay between host and slave. So time critical functions should not be reliant on can.
Find the Manuals up top under Quick links: Manuals.
Cheers Luke
Cheers Luke
-
- Site Admin
- Posts: 39619
- Joined: Mon May 03, 2004 1:34 am
- Location: Birmingham, UK
- Contact:
Re: CAN ADC poll rate?
Looks like the update rate is 10ms
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".
-
- Helpful MS/Extra'er
- Posts: 146
- Joined: Sat Apr 11, 2015 2:53 pm
- Location: The island of Hawaii
Re: CAN ADC poll rate?
Cool thanks!
Just want to make sure I read lambda from the wideband controllers at that rate, too, so I don't introduce a bunch of lag there.
Just want to make sure I read lambda from the wideband controllers at that rate, too, so I don't introduce a bunch of lag there.