How does PWMPal work
jbalat
Posts: 96
I need to be able to change the frequency all the time. Sometimes I am getting 2 lows, 2 highs stuck together
What happens when you send a new command to the PWM PAL, does it just stop everything and start with the new wave or does it complete the old one first ?
What happens when you send a new command to the PWM PAL, does it just stop everything and start with the new wave or does it complete the old one first ?
Comments
Is it possible to contact the designer and ask if there is a workaround ?
I have tried reading the pwmpal output pin with IN12 command and looping until high, then looping again until low, and then issuing the next command, however either the bs2 is too slow or the pwmpal takes a little too long to respond once the new command is issued.
Having said that the wave produced is a lot better than it was during ramping...
I get a problem when I cut the ecu wire to the sensor since the supply voltage from the ecu to the sensor and input signal from the sensor to the ecu are using the same wire.. When I insert my stamp inbetween the ecu and sensor the input signal dies and my board just locks up, needless to say the engine dies also.
If you get a chance can you pls have a quick look ?
www.fuel-saver.org/Thread-ECU-behaviour?pid=29476#pid29476
I have uploaded all the relevant information to my project.
Not sure but we think we have a way forward now connecting the stamp inbetween the MAF and the ECU (see pic stampinstall.jpg).
As I mentioned the code has been stripped down to try and eliminate re-triggering issues from the pwmpal as the frequency changes. If you can think of a better way then pls let me know
Thanks again
JB
It is still causing an erratic frequency output due to the pwmpal re-triggering at the wrong time. Just need to get the timing right and it should work
My board is now in the car and no engine warning light. The car jumps around now and then as I drive. This is likely because of the re-triggering issue....
Any help appreciated
Thanks,
JB