DIY PROM Do It Yourself PROM chip burning help. No PROM begging. No PROMs for sale. No commercial exchange. Not a referral service.

Outputs! (and PWM!)

Thread Tools
 
Search this Thread
 
Old Feb 21, 2006 | 09:06 PM
  #1  
ryan.h's Avatar
Thread Starter
Member
iTrader: (2)
 
Joined: Jun 2002
Posts: 248
Likes: 0
Outputs! (and PWM!)

2 seperate related questions...

On the 7749 schematic, the processor has several outputs, labeled:

PWM3FD2
PWM3FD4
PWM3FD6
PWM3FD8
PWM3FDA
PWM3FCC
PWM3FEA

Now, I assume these are PWM outputs? F1 is used in the $8D code as a shift light output. The code used to turn on the shift light is this:

Code:
bset    *L0040,#0x80            ; SET b7, SHIFT LIGHT ON
This bit location, bit 7, follows no logic compared to the pin it's using (PWM3FD8), or at least that I can tell?? It's not the 8th pin in a group of 8...

Anyways, F5 is an unused input.

Q1) How would I find the "location" bit of this one, which presumably uses the same address, L0040?

Q2) Is there a subroutine/built in feature that allows me to send a 0-100% DC PWM signal through that pin, with minimal computational time?
Reply
Old Feb 21, 2006 | 09:38 PM
  #2  
JP86SS's Avatar
Supreme Member
20 Year Member
iTrader: (1)
 
Joined: Apr 2004
Posts: 3,180
Likes: 3
From: Browns Town
Car: 86 Monte SS (730,$8D,G3,AP,4K,S_V4)
Engine: 406 Hyd Roller 236/242
Transmission: 700R4 HomeBrew, 2.4K stall
Axle/Gears: 3:73 Posi, 7.5 Soon to break
There's a "bit" less to it
After doing a bunch of research on the 749/730 I/O, I have come to believe that "F5" is operated directly from the "duty cycle" register 3FCC.
Duty Cycle values found from code checking
$7000 = OFF
$D000 = 0% DC
$DFFF = 100% DC

We (Z69 & I) have been working on a knock indicator light that uses "F5" but the initial testing did not turn it off. I have rewritten a routine to make it fully adjustable for brightness and duration.

If you want to test out some "F5" code on an $8D setup to see if the new version works, that would be cool.
you'll need to rig up a powered LED on the output with a resistor so as not to flow more than 400-500 mA (or less). The "F5" is a path to ground, not a powered output.
I can't make the "patch method" work with the additional "EQU" statements that are needed so it will need to be done in code and assembled. My car is all in pieces and I don't even have a battery to confirm it.
That will prove the operation of "F5" for sure anyway.
Once the routine is checked out, I'll go after the patch again and try to figure out how to make it go into bins correctly.
I know Vern is still anxious to try it again too once it works
Reply
Old Feb 21, 2006 | 09:47 PM
  #3  
ryan.h's Avatar
Thread Starter
Member
iTrader: (2)
 
Joined: Jun 2002
Posts: 248
Likes: 0
Send me a binary, and I'll test it tomorrow

As long as it does something noticeable, like sweeps through the duty cycle... I won't go so far as wiring a light, but I can scope it.
Reply
Old Feb 21, 2006 | 10:31 PM
  #4  
JP86SS's Avatar
Supreme Member
20 Year Member
iTrader: (1)
 
Joined: Apr 2004
Posts: 3,180
Likes: 3
From: Browns Town
Car: 86 Monte SS (730,$8D,G3,AP,4K,S_V4)
Engine: 406 Hyd Roller 236/242
Transmission: 700R4 HomeBrew, 2.4K stall
Axle/Gears: 3:73 Posi, 7.5 Soon to break
Its not a binary, its source code only.
Needs to be run to indicate from the knock flag that is set.
I didn't put any other test routines in there.
Do you have AUJP?
Send me your current bin and I'll try to make one in the next day or so with all of your settings intact.

Last edited by JP86SS; Feb 21, 2006 at 10:35 PM.
Reply
Old Feb 21, 2006 | 10:35 PM
  #5  
ryan.h's Avatar
Thread Starter
Member
iTrader: (2)
 
Joined: Jun 2002
Posts: 248
Likes: 0
Originally posted by JP86SS
Its not a binary, source code only.
Well I can't test it without it being compiled...

read your edit - ahh, okay... probably won't work with my stuff then... I can't run the engine. Although, I could trick it into thinking it's running by sending a 60hz signal to the reference...

Last edited by ryan.h; Feb 21, 2006 at 10:37 PM.
Reply
Old Feb 21, 2006 | 10:36 PM
  #6  
JP86SS's Avatar
Supreme Member
20 Year Member
iTrader: (1)
 
Joined: Apr 2004
Posts: 3,180
Likes: 3
From: Browns Town
Car: 86 Monte SS (730,$8D,G3,AP,4K,S_V4)
Engine: 406 Hyd Roller 236/242
Transmission: 700R4 HomeBrew, 2.4K stall
Axle/Gears: 3:73 Posi, 7.5 Soon to break
I was editing when you replied... see above
Jp
Reply
Old Feb 22, 2006 | 11:30 AM
  #7  
JP86SS's Avatar
Supreme Member
20 Year Member
iTrader: (1)
 
Joined: Apr 2004
Posts: 3,180
Likes: 3
From: Browns Town
Car: 86 Monte SS (730,$8D,G3,AP,4K,S_V4)
Engine: 406 Hyd Roller 236/242
Transmission: 700R4 HomeBrew, 2.4K stall
Axle/Gears: 3:73 Posi, 7.5 Soon to break
You have mail If you didn't know yet. Its just a stock AUJP with the code in it. I don't think you'll need any input like that. Maybe just run a ground from the knock sensor threads to the chassis and tap the sensor on the block or something.
Try hitting it with a hammer...
That sounds like knocking
Reply
Old Feb 22, 2006 | 11:42 AM
  #8  
ryan.h's Avatar
Thread Starter
Member
iTrader: (2)
 
Joined: Jun 2002
Posts: 248
Likes: 0
Haven't received anything yet, but my email has been slow lately... Although I did receive the reply notification email to this thread..........

How possible would it be to just change one of the first few initialization subroutine calls to the address of your little blinky light routine? There's no guarantee that my old knock sensor even works

I'd rather have it start blinking when I power it up vs hitting things with hammers while trying to see if my meter changes...
Reply
Old Feb 22, 2006 | 08:19 PM
  #9  
JP86SS's Avatar
Supreme Member
20 Year Member
iTrader: (1)
 
Joined: Apr 2004
Posts: 3,180
Likes: 3
From: Browns Town
Car: 86 Monte SS (730,$8D,G3,AP,4K,S_V4)
Engine: 406 Hyd Roller 236/242
Transmission: 700R4 HomeBrew, 2.4K stall
Axle/Gears: 3:73 Posi, 7.5 Soon to break
Is your e-mail address on this site correct?

Made simulated knock signal connection for you to try it with.

Last edited by JP86SS; Feb 22, 2006 at 08:26 PM.
Reply
Old Feb 22, 2006 | 09:51 PM
  #10  
ryan.h's Avatar
Thread Starter
Member
iTrader: (2)
 
Joined: Jun 2002
Posts: 248
Likes: 0
yep got it, or one of the FW's... don't know why it kicked it back so many times?
Reply
Old Feb 22, 2006 | 09:56 PM
  #11  
vernw's Avatar
Supreme Member
iTrader: (2)
 
Joined: Jul 2003
Posts: 3,205
Likes: 0
From: Dallas, TX area
Car: 91 Formula WS6 (Black, T-Tops)
Engine: 383 MiniRam (529 HP, 519 TQ - DD2K)
Transmission: Built '97 T56, Pro 5.0, CF-DF
Axle/Gears: 4.11 posi Ford 9"
Hey Jon - want a copy of my BIN to insert it into?
Reply
Old Feb 22, 2006 | 10:13 PM
  #12  
JP86SS's Avatar
Supreme Member
20 Year Member
iTrader: (1)
 
Joined: Apr 2004
Posts: 3,180
Likes: 3
From: Browns Town
Car: 86 Monte SS (730,$8D,G3,AP,4K,S_V4)
Engine: 406 Hyd Roller 236/242
Transmission: 700R4 HomeBrew, 2.4K stall
Axle/Gears: 3:73 Posi, 7.5 Soon to break
Your cal changes are alot of work from what Scott said. Don't know if he's already put the new KL in his fixed code yet. He was still tinkering with the original light code to see why it wasn't working last message I got.
Might be easier for you to test with instead of the base assembled version. Could give it a try, I know where it all goes now.
Kinda risky in that I can't tell if the code will execute right because I will need to add a bunch of new code.
Assembling from a base file at least would tell me that the file "assembled" properly. Hex editing can't give any indication until you try to run it.
I'll see if SL can send me over the base file and I can go at it both ways.
Reply
Old Feb 22, 2006 | 10:39 PM
  #13  
vernw's Avatar
Supreme Member
iTrader: (2)
 
Joined: Jul 2003
Posts: 3,205
Likes: 0
From: Dallas, TX area
Car: 91 Formula WS6 (Black, T-Tops)
Engine: 383 MiniRam (529 HP, 519 TQ - DD2K)
Transmission: Built '97 T56, Pro 5.0, CF-DF
Axle/Gears: 4.11 posi Ford 9"
Hey, whatever you guys think is best. I'm fine with what I've got for a while if necessary (now that I can data log my WB)
Reply
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
InfernalVortex
Electronics
10
Apr 20, 2021 11:31 AM
TMZIrocZ350
Engine/Drivetrain/Suspension Parts for Sale
1
Oct 7, 2015 12:09 PM
RS Reaper
Electronics
2
Sep 27, 2015 07:04 PM
6998poncho
Engine/Drivetrain/Suspension Parts for Sale
0
Sep 25, 2015 02:56 PM
83 Crossfire TA
Suspension and Chassis
6
Sep 18, 2015 12:01 PM




All times are GMT -5. The time now is 06:06 AM.