Programmable output - settings for a "out of sync" LED
Moderators: jsmcortina, muythaibxr
Programmable output - settings for a "out of sync" LED
Guys,
What would put in the programmable on/off inputs to have an LED turned on when the ECU is not in sync?
Thanks!
What would put in the programmable on/off inputs to have an LED turned on when the ECU is not in sync?
Thanks!
VW Turbo Buggy 2276cc MS3X sequential
Re: Programmable output - settings for a "out of sync" LED
You'll be using Status1; Half-Sync is bit3, Full-Sync is bit7.
To indicate no Half-Sync:
"Power On Value" [OFF], "Active Value" [ON]
[Status1] [AND], "Threshold" [8], "Hysteresis" [0]
To indicate no Full-Sync:
"Power On Value" [OFF], "Active Value" [ON]
[Status1] [AND], "Threshold" [128], "Hysteresis" [0]
To indicate no Half-Sync:
"Power On Value" [OFF], "Active Value" [ON]
[Status1] [AND], "Threshold" [8], "Hysteresis" [0]
To indicate no Full-Sync:
"Power On Value" [OFF], "Active Value" [ON]
[Status1] [AND], "Threshold" [128], "Hysteresis" [0]
Temporarily shut down - back soon!
QuadraMAP Sensor Module -- PWM-to-Stepper Controller -- Dual Coil Driver
Coming soon: OctoMAP Sensor Module
TTR Ignition Systems
QuadraMAP Sensor Module -- PWM-to-Stepper Controller -- Dual Coil Driver
Coming soon: OctoMAP Sensor Module
TTR Ignition Systems
Re: Programmable output - settings for a "out of sync" LED
perfect, thanks!
Are all the bits posted somewhere, I don't see them in the manual.
Thanks again!
Are all the bits posted somewhere, I don't see them in the manual.
Thanks again!
VW Turbo Buggy 2276cc MS3X sequential
Re: Programmable output - settings for a "out of sync" LED
MegaView logging fields in the TS manual.
Temporarily shut down - back soon!
QuadraMAP Sensor Module -- PWM-to-Stepper Controller -- Dual Coil Driver
Coming soon: OctoMAP Sensor Module
TTR Ignition Systems
QuadraMAP Sensor Module -- PWM-to-Stepper Controller -- Dual Coil Driver
Coming soon: OctoMAP Sensor Module
TTR Ignition Systems
-
- Super MS/Extra'er
- Posts: 9130
- Joined: Sun May 02, 2004 6:51 am
- Location: Quebec, Canada
- Contact:
Re: Programmable output - settings for a "out of sync" LED
Actually, in this case you want the hysteresis to be the same value as the threshold. As the manual says:
result = ((value & THRESHOLD) == HYST)
So to activate the output when one bit is set, you need both values to be the same. When using the bitwise AND mode, the threshold is the mask and the hysteresis is the match value.
Jean
result = ((value & THRESHOLD) == HYST)
So to activate the output when one bit is set, you need both values to be the same. When using the bitwise AND mode, the threshold is the mask and the hysteresis is the match value.
Jean
Re: Programmable output - settings for a "out of sync" LED
Yes, but he wants the LED(s) to come on when sync is NOT achieved. Would that not be a '0' value?
Temporarily shut down - back soon!
QuadraMAP Sensor Module -- PWM-to-Stepper Controller -- Dual Coil Driver
Coming soon: OctoMAP Sensor Module
TTR Ignition Systems
QuadraMAP Sensor Module -- PWM-to-Stepper Controller -- Dual Coil Driver
Coming soon: OctoMAP Sensor Module
TTR Ignition Systems
-
- Super MS/Extra'er
- Posts: 9130
- Joined: Sun May 02, 2004 6:51 am
- Location: Quebec, Canada
- Contact:
Re: Programmable output - settings for a "out of sync" LED
My mistake. You're correct.dontz125 wrote:Yes, but he wants the LED(s) to come on when sync is NOT achieved. Would that not be a '0' value?
Jean
Re: Programmable output - settings for a "out of sync" LED
Heh - only I can be correct and incorrect about the same statement in the same posting. I had it in my head that an 'ON' response to the bit being '1' was "Hysteresis" [1] for bit3 and bit7, vs [8] and [128] ...
Temporarily shut down - back soon!
QuadraMAP Sensor Module -- PWM-to-Stepper Controller -- Dual Coil Driver
Coming soon: OctoMAP Sensor Module
TTR Ignition Systems
QuadraMAP Sensor Module -- PWM-to-Stepper Controller -- Dual Coil Driver
Coming soon: OctoMAP Sensor Module
TTR Ignition Systems