Pages: 1 [2]
Author Topic: Custom C167 Boost PID  (Read 23410 times)
IamwhoIam
Hero Member
*****

Karma: +51/-111
Offline Offline

Posts: 1063


« Reply #15 on: April 02, 2023, 04:49:25 AM »

pjr=PyJamaRama
Logged

I have no logs because I have a boost gauge (makes things easier)
fknbrkn
Hero Member
*****

Karma: +183/-21
Offline Offline

Posts: 1424


mk4 1.8T AUM


« Reply #16 on: July 08, 2024, 05:57:58 AM »

Quick question
Im in my way into R32T w 022906032DR
And pw1 used here for exhaust cam / pw0 for intake one
So maybe someone wants to save me a day of digging into code / logs  Wink
Logged
prj
Hero Member
*****

Karma: +1056/-461
Offline Offline

Posts: 5942


« Reply #17 on: July 08, 2024, 06:51:01 AM »

There is usually PWM output for intake flap changeover. Or is it solved with an on/off on it?
Logged

PM's will not be answered, so don't even try.
Log your car properly.
Blazius
Hero Member
*****

Karma: +89/-40
Offline Offline

Posts: 1280



« Reply #18 on: July 08, 2024, 11:46:05 AM »

Quick question
Im in my way into R32T w 022906032DR
And pw1 used here for exhaust cam / pw0 for intake one
So maybe someone wants to save me a day of digging into code / logs  Wink


Yes. Use pw3 its free.

Thats what i did both on st10 and c167

Be aware you need configure the period register aswell.
Logged
fknbrkn
Hero Member
*****

Karma: +183/-21
Offline Offline

Posts: 1424


mk4 1.8T AUM


« Reply #19 on: July 08, 2024, 01:55:16 PM »

There is usually PWM output for intake flap changeover. Or is it solved with an on/off on it?

Seems that its only binary condition in this ECU

Quote
Yes. Use pw3 its free.

Thats what i did both on st10 and c167

Be aware you need configure the period register aswell.

Yep its free
At the 1.8t it seems that PW3 used for TEV with output to pin 64, can you confirm its the same pin?
Logged
Blazius
Hero Member
*****

Karma: +89/-40
Offline Offline

Posts: 1280



« Reply #20 on: July 09, 2024, 05:29:46 PM »

Seems that its only binary condition in this ECU

Yep its free
At the 1.8t it seems that PW3 used for TEV with output to pin 64, can you confirm its the same pin?

No its on pin 116 if I remember correctly. Positive is on 121 usually.
Logged
fknbrkn
Hero Member
*****

Karma: +183/-21
Offline Offline

Posts: 1424


mk4 1.8T AUM


« Reply #21 on: July 19, 2024, 05:00:47 AM »

No its on pin 116 if I remember correctly. Positive is on 121 usually.

Finally had a chance to test it and seems that pw3 on pin116 works like a charm
Thank you and also prj for this project  Smiley
Logged
fknbrkn
Hero Member
*****

Karma: +183/-21
Offline Offline

Posts: 1424


mk4 1.8T AUM


« Reply #22 on: September 10, 2024, 10:49:08 AM »

Just my 2c:

022906032DR file equipped with DSG

we had misfires at cyl1 and constant pwm even after shutoff after transfering routine from example file, all variables was fine, mono lambda patch also here, there is no load limit in this file

- all ram variables redefined to 387* instead of 384* this eliminate misfires, even if IDA shows empty space here, probably some ram-mirroring was there, ive faced this before so just swap it with 387xxx*

- changed turbo routine instead of feeding pwm it manages new ldtvm_w to be able to log wgdc and move pwm to its raster
- new code (below) with port writing hooks up with other pwm operations, i believe its 1ms raster, correctly operating pwm even with !b_kl

Code:
exts	#38h, #1
mov r4, ldtvm_w
movbz   r5, rl4
shl     r5, #8
mov     r4, PP3
mulu    r5, r4
mov     PW3, MDH
mov     r2, MDH

DPUPVDK calculates pvdkds_w based on ml_w in stock its subtracted map values from pu_w and i replaced it with addition due to map is not signed, this gives positive pvdkds_w and msdk_w now looking nice but i still thinking to replace it with native map sensor

RLVMXN/RLVSMXN maxed out to eliminate IOP limit and gives adequate misol_w, now its misol > miist, no torque intervention and car runs smoothly, ps_w, msdk_w, pvdks_w finally sorted out

asm patch for b_mdee (redsol) when shifting, basically some kind of 'jb b_zwget, loc_enable' so it gets selective fuel cut at shifts but unfortunately without noticeable sound

this knowledge costs me 2 days so enjoy it for free  Smiley


probably i want to emulate KFVPDKDS / KFPLGU stuff but im not sure for now // any hints?
« Last Edit: September 10, 2024, 04:00:22 PM by fknbrkn » Logged
Pages: 1 [2]
  Print  
 
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Page created in 0.018 seconds with 18 queries. (Pretty URLs adds 0.001s, 0q)