Originally posted by ericjon262
View Post
Announcement
Collapse
No announcement yet.
nAst1: Progress and Concepts Thread
Collapse
X
-
neat thing i found out while troubleshooting my existing testbench(which i'm going to have to rebuild to continue testing stuff):
the 8-bit MPH value reported over the datastream? if you run up to 255MPH, it wraps back around to 0MPH and climbs again......
i think i counted 5 full "wraps" of 255MPH before things started looking really weird(couldn't tell if counting up or down). that is over 1,275MPH. i believe this was with me running 4,004 pulses/mile as a road speed constant. going off of some rough math, that is a frequency of 1.42KHz. i don't know the value of the cap used in the low-pass filter for the magnetic VSS signal, but if it is 1nF like i suspect it might be, the filter is setup to allow frequencies up to 3.12Khz. so i was at roughly half of what the filter allows? as far as i could tell, it looked like speed was still incrementing at 1MPH intervals too, so reasonable accuracy could be expected?
also, believe i may have figured out why i couldn't get the high speed comms working.... from what i can tell, the SXR IC(the one responsible for creating the ALDL stream) doesn't support anything other than 8192 baud..... while if you were to add in your own flavor of UART transciever, you could run the ridiculous speed stuff.
Comment
-
when i have bench v2.0 built, pretty quick to test stuff at that point.
as-is, i have some partially open circuits somewhere in my bench harness that are causing interesting operation, probably due to some rough use of it. i'll have to account for that better with the next version, which is going in a larger, easier to service container.
i'm also using voltage controlled oscillators instead of 555s for pulsed signals, since while the 555 give good resolution at lower frequencies, the upper ~1/3 of the knob is crazy sensitive. the VCOs should be MUCH more linear.
Comment
-
What settings would you recommend for running an engine without a VSS? Stock settings seem like they have a tendency to stall when you're coming a stop and you put the trans in neutral.'89 Firebird, 3500 Turbo, T56, 9-bolt/4.11
'86 Fiero, 3500, 4-speed
Comment
-
no VSS is always going to be tricky since so much of the stock throttle follower code is dependant upon a good VSS signal.... if i couldn't run a VSS for whatever reason, i would probably look at modifying a few things. idle spark correction(have it skewed to add noticably more advance when underspeed than what gets pulled during overspeed), the IAC PID settings(similar to idle spark correction, let the ECM open the IAC a lot faster than it would close it), F16 table might be useful? the first two require the ECM to recognize an idle condition to work as well, if it doesn't consider the engine to be at an idle, it will let it stall without doing much if anything at all.
if it's happening right as the clutch pedal goes in, then that might require something else.
Comment
-
interesting thought: on a 9396 there already exists on the board an address decoder that breaks the addresses down into 2KB blocks.... the one occupying 1800-1FFF is used by the SRAM though.
but the 800-FFF, 1000-17FF, 2000-27FF, 2800-2FFF and 3000-37FF blocks are free..... that's 10KB of space without adding in additional address decoders. that would solve quite a few space problems, but not everyone is running a 9396, nor is everyone comfortable with soldering wires to a PLCC package.
Comment
-
Originally posted by robertisaar View Postinteresting thought: on a 9396 there already exists on the board an address decoder that breaks the addresses down into 2KB blocks.... the one occupying 1800-1FFF is used by the SRAM though.
but the 800-FFF, 1000-17FF, 2000-27FF, 2800-2FFF and 3000-37FF blocks are free..... that's 10KB of space without adding in additional address decoders. that would solve quite a few space problems, but not everyone is running a 9396, nor is everyone comfortable with soldering wires to a PLCC package.
Comment
-
i can honestly say i've never encountered a CPLD that i know of... what kind of cost/complexity issues are there to deal with?
i got A15 up to the MEMCAL via the edge-card connector, i removed that pin from the PCM's board, mounted it back into the connector and run a jumper over to the pin on the edge-card that is responsible for A15.... there is probably a better way, but that was good enough for the time.
Comment
-
Less then $5 and probably closer to $1. It is pretty much a very fast programmable 7400 array..... I toyed around for a couple hours in Verilog with a very messy if/then tree (if address x then enable CS, over and over) and deemed it possible before I got distracted by other shiny things.
I was thinking there was a way to program them with a model based on 7400 logic gates instead of Verilog/VDHL if you preferred programming on the hardware level.
The Xilinx part in the Moates F3 Ford adapter is a CPLD, I am guessing to do chip select decoding since what else would it be there for.
Comment
-
Doesn't run a program, it isn't a CPU. Its a chip that you can program thousands of 7400 series chips (boolean logic) into. The attached image is a (mostly) correct chip select to be able to use some of the additional address ranges, instead of using the seven 7400 chips you could program a CPLD with the same logic gate arrangement to do the same thing in the same way.Last edited by brian89gp; 10-24-2014, 09:05 AM.
Comment
Comment