Moderators: daxtojeiro, muythaibxr, jsmcortina
jsmcortina wrote:The GPIO version has only just appeared and is in beta test. I don't know how that testing is going or whether you can buy one.
The code used here (info in the MSEXTRA manual) is working on a number of 4L80E installs for sure and can be used on a MS2/V3, Microsquirt or likely GPIO board.
James
else if ((flash4.setting1 & 0x3) == 3) {
// GPIO - these pins aren't yet verified, copied Microsquirt for now
TIOS |= 0x0E; // Timer ch 0,2 = IC, ch 1-4 = OC & PWM,
// ch 6,7 = I/O output
DDRT = 0x0E;// PT1,PT2,PT3 are outputs, others are inputs or unused
TCTL3 = 0x00; // no captures on these timers
TCTL4 = 0x01; // TC0 capture on rising edge
TIE = 0x01; // enable IC interrupts on TC0
TSCR1 = 0x80; // turn timer on
ATD0DIEN = 0x8b; // digi inputs on PTAD7,3,1,0 for brake SW, SWA,B,C
DDRAD = 0; // all inputs
PERAD = 0x0b; // enable pull devices
PPSAD = 0; // all pullup
// Set up EPC and TCC PWM outputs - PWM2, 3
// 3-2 solenoid PWM1
MODRR = 0x0e; // Make Port T pins 1,3,4 be PWMUnaClocker wrote:hehehe, I was wondering if you'd find this project, I saw your posts in the GPIO forum.. I can't post there because I mentioned the IO-Extender too many times.. Ha! heh.. Anyways, there's a link a couple pages back, but I'll just link you right there: http://www.msextra.com/doc/trans/index.html That'll link you to the official version, the versions past that have experimental support for the Chrysler trans and GPIO, I'm not sure if James is ready to release that out to everyone yet.
We need a JimTrans section on the MSExtra forum, seems to be the summer of the electronic automatic.
UnaClocker wrote:The great thing about James's code is that it's written for GCC rather than Codewarrior, so there's twice as much flash memory available to the program, which means you can do more with the firmware. I know Lance said in several threads on his forum that his code is out of flash space as it is. (The free version of codewarrior is limitted to half the flash available on the MS2 CPU)
jsmcortina wrote:Gurov,
take a look at the current source, but before you start hacking away, grab the latest version from me. I've been working on it somewhat for the 41TE and made a number of changes that could be useful. e.g. more abstraction on the output ports and pins.
James
Users browsing this forum: No registered users and 1 guest