CAN gpio ADC rate?
Moderators: jsmcortina, muythaibxr
CAN gpio ADC rate?
At what rate does the ms2 unit request the adc count from the expansion board?
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.
-
- Site Admin
- Posts: 39615
- Joined: Mon May 03, 2004 1:34 am
- Location: Birmingham, UK
- Contact:
Re: CAN gpio ADC rate?
Every 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".
Re: CAN gpio ADC rate?
Im pulling baro data from an i2c sparkfun widget and then scaling to 10bit adc inside a teensy3.2. Is it possible to slow down the request rate to 1hz? Im planning to only sample the baro sensor once every 200 feet as i travel down the road. In ms2, what function would need adc over CAN at 100hz?
Thanks Ryan
Thanks Ryan
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.
-
- Site Admin
- Posts: 39615
- Joined: Mon May 03, 2004 1:34 am
- Location: Birmingham, UK
- Contact:
Re: CAN gpio ADC rate?
The CAN polling is called from main(). You can alter the code to slow it down.
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: CAN gpio ADC rate?
It took some bit of screwing around but i was able to get cygwin installed, loaded the tools and ran a "make release". I'll give it ago this weekend. How would one remove the lag factor for baro from using the same lag as clt,mat,battery? I cant seem to find where and how the lags are calculated.
Thanks Ryan
Thanks Ryan
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.