Be sure that you only have one function enabled for the light.
A good way to test the function of the light is to enable the "PE" light function. If you get it to light that way it will work when knock is indicated.
Sometimes you do get retard without knock and could be what you are seeing.
Do you get many knock counts but no light?
Recommended settings for Knock light, swap setting b0 & b6 to test with PE activation. Will confirm F5 is working internally to ground.
Code:
; b7, 1 =
; b6, 1 = DO PE LIGHT (on F5 pin) Test with this
; b5, 1 = DO MAP AE LIGHT (on F5 pin)
; b4 ,1 = DO TPS AE LIGHT (on F5 pin)
;
; b3, 1 = LED/Light ON for 1 second when engine knock present
; 0 = LED/Light ON for 3 seconds when engine knock present
;
; b2, 1 = LED/Light Blink when engine knock is present
; 0 = LED/Light Full ON when engine knock is present
;
; b1, 1 = enable LED/Light when knock sensor failure
; (LED/Light is FULL ON if knock sesnor is failing)
; 0 = DO NOT turn on LED/Light when knock sensor fails
;
; b0, 1 = enable LED/Light when engine knock present
; 0 = DO NOT turn on LED/Light when engine knock is present
;---------------------------------------------------------------
; SELECT ONLY ONE "LIGHT CONTROL BIT"
; b0, b6, b5, b4 IS THE PRIORITY, First one set, wins!
;---------------------------------------------------------------