diff --git a/pt2001/project/rusefi/Actuator/inj2.xml b/pt2001/project/rusefi/Actuator/inj2.xml
new file mode 100644
index 0000000..80e0a0c
--- /dev/null
+++ b/pt2001/project/rusefi/Actuator/inj2.xml
@@ -0,0 +1,23 @@
+
+ 1000
+ 500
+ 10
+ CurFbk1
+ Form
+
+
+
+
+
+
+ -66
+ -1
+ -1
+ 65
+ -1
+ -1
+ 13
+ 65
+
+ None
+
\ No newline at end of file
diff --git a/pt2001/project/rusefi/Actuator/inj3.xml b/pt2001/project/rusefi/Actuator/inj3.xml
new file mode 100644
index 0000000..320fcfd
--- /dev/null
+++ b/pt2001/project/rusefi/Actuator/inj3.xml
@@ -0,0 +1,23 @@
+
+ 1000
+ 500
+ 10
+ CurFbk2
+ Form
+
+
+
+
+
+
+ -66
+ -1
+ -1
+ 65
+ -1
+ -1
+ 13
+ 65
+
+ None
+
\ No newline at end of file
diff --git a/pt2001/project/rusefi/Actuator/inj4.xml b/pt2001/project/rusefi/Actuator/inj4.xml
new file mode 100644
index 0000000..130d449
--- /dev/null
+++ b/pt2001/project/rusefi/Actuator/inj4.xml
@@ -0,0 +1,23 @@
+
+ 1000
+ 500
+ 10
+ CurFbk2
+ Form
+
+
+
+
+
+
+ -66
+ -1
+ -1
+ 65
+ -1
+ -1
+ 13
+ 65
+
+ None
+
\ No newline at end of file
diff --git a/pt2001/project/rusefi/Feedbacks/dcdc_voltage.xml b/pt2001/project/rusefi/Feedbacks/dcdc_voltage.xml
index 8316e99..5167392 100644
--- a/pt2001/project/rusefi/Feedbacks/dcdc_voltage.xml
+++ b/pt2001/project/rusefi/Feedbacks/dcdc_voltage.xml
@@ -71,6 +71,78 @@
500 ns
+
+ FeedbackHs3Vds
+
+ Hs4Command
+
+ False
+ 500 ns
+
+
+ True
+ 500 ns
+
+
+
+ FeedbackHs3Vsrc
+
+ Hs4Command
+ -2
+ 0
+
+ True
+ 500 ns
+
+
+ False
+ 500 ns
+
+
+ True
+ 500 ns
+
+
+ True
+ 500 ns
+
+
+
+ FeedbackHs4Vds
+
+ Hs3Command
+
+ False
+ 500 ns
+
+
+ True
+ 500 ns
+
+
+
+ FeedbackHs4Vsrc
+
+ Hs3Command
+ -2
+ 0
+
+ True
+ 500 ns
+
+
+ False
+ 500 ns
+
+
+ True
+ 500 ns
+
+
+ True
+ 500 ns
+
+
FeedbackLs1Vds
@@ -83,6 +155,42 @@
500 ns
+
+ FeedbackLs2Vds
+
+
+ False
+ 500 ns
+
+
+ True
+ 500 ns
+
+
+
+ FeedbackLs3Vds
+
+
+ False
+ 500 ns
+
+
+ True
+ 500 ns
+
+
+
+ FeedbackLs4Vds
+
+
+ False
+ 500 ns
+
+
+ True
+ 500 ns
+
+
FeedbackHs2VdsVbat
@@ -96,4 +204,17 @@
500 ns
+
+ FeedbackHs4VdsVbat
+
+ Hs3Command
+
+ False
+ 500 ns
+
+
+ True
+ 500 ns
+
+
\ No newline at end of file
diff --git a/pt2001/project/rusefi/Logic_Wave/wave_list.do b/pt2001/project/rusefi/Logic_Wave/wave_list.do
index a22ebe8..d5e0c1d 100644
--- a/pt2001/project/rusefi/Logic_Wave/wave_list.do
+++ b/pt2001/project/rusefi/Logic_Wave/wave_list.do
@@ -71,6 +71,15 @@
Output
Decimal
+
+ CurrentFeedback1
+
+ PT2001
+
+ 0
+ Internal
+ Decimal
+
Cnt1
@@ -245,4 +254,232 @@
Output
Decimal
+
+ Start3
+
+ PT2001
+
+ 8
+ Input
+ Decimal
+
+
+ Dac2
+
+ PT2001
+
+ 44
+ Output
+ Decimal
+
+
+ Dac3
+
+ PT2001
+
+ 45
+ Output
+ Decimal
+
+
+ Hs3Command
+
+ PT2001
+
+ 6
+ Output
+ Decimal
+
+
+ Hs4Command
+
+ PT2001
+
+ 7
+ Output
+ Decimal
+
+
+ Ls3Command
+
+ PT2001
+
+ 11
+ Output
+ Decimal
+
+
+ CurrentFeedback2
+
+ PT2001
+
+ 1
+ Internal
+ Decimal
+
+
+ Oaout2FlagOut
+
+ PT2001
+
+ 17
+ Output
+ Decimal
+
+
+ Cnt1
+
+ PT2001
+ Injection Channel 1
+ ChSequencers
+ MicroMachineSeq1
+ Counters
+
+ 0
+ Output
+ Decimal
+
+
+ Cnt2
+
+ PT2001
+ Injection Channel 1
+ ChSequencers
+ MicroMachineSeq1
+ Counters
+
+ 1
+ Output
+ Decimal
+
+
+ Cnt3
+
+ PT2001
+ Injection Channel 1
+ ChSequencers
+ MicroMachineSeq1
+ Counters
+
+ 2
+ Output
+ Decimal
+
+
+ Cnt4
+
+ PT2001
+ Injection Channel 1
+ ChSequencers
+ MicroMachineSeq1
+ Counters
+
+ 3
+ Output
+ Decimal
+
+
+ Eoc1
+
+ PT2001
+ Injection Channel 1
+ ChSequencers
+ MicroMachineSeq1
+ Counters
+
+ 4
+ Output
+ Decimal
+
+
+ Eoc2
+
+ PT2001
+ Injection Channel 1
+ ChSequencers
+ MicroMachineSeq1
+ Counters
+
+ 5
+ Output
+ Decimal
+
+
+ Eoc3
+
+ PT2001
+ Injection Channel 1
+ ChSequencers
+ MicroMachineSeq1
+ Counters
+
+ 6
+ Output
+ Decimal
+
+
+ Eoc4
+
+ PT2001
+ Injection Channel 1
+ ChSequencers
+ MicroMachineSeq1
+ Counters
+
+ 7
+ Output
+ Decimal
+
+
+ TerminalCount1
+
+ PT2001
+ Injection Channel 1
+ ChSequencers
+ MicroMachineSeq1
+ Counters
+
+ 8
+ Output
+ Decimal
+
+
+ TerminalCount2
+
+ PT2001
+ Injection Channel 1
+ ChSequencers
+ MicroMachineSeq1
+ Counters
+
+ 9
+ Output
+ Decimal
+
+
+ TerminalCount3
+
+ PT2001
+ Injection Channel 1
+ ChSequencers
+ MicroMachineSeq1
+ Counters
+
+ 10
+ Output
+ Decimal
+
+
+ TerminalCount4
+
+ PT2001
+ Injection Channel 1
+ ChSequencers
+ MicroMachineSeq1
+ Counters
+
+ 11
+ Output
+ Decimal
+
\ No newline at end of file
diff --git a/pt2001/project/rusefi/Registers/ch1_config_reg.bin b/pt2001/project/rusefi/Registers/ch1_config_reg.bin
index 888c61f..b952598 100644
--- a/pt2001/project/rusefi/Registers/ch1_config_reg.bin
+++ b/pt2001/project/rusefi/Registers/ch1_config_reg.bin
@@ -9,7 +9,7 @@
0110101101011001
1100100010100101
0000000000000000
-0000000000101100
+0000000000110110
0000000000000000
0000000000000000
0000000000000000
diff --git a/pt2001/project/rusefi/Stimulus/stim.xml b/pt2001/project/rusefi/Stimulus/stim.xml
index 8d25a79..d4664a4 100644
--- a/pt2001/project/rusefi/Stimulus/stim.xml
+++ b/pt2001/project/rusefi/Stimulus/stim.xml
@@ -1,4 +1,10 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pt2001/project/rusefi/labels.xml b/pt2001/project/rusefi/labels.xml
index 8e2e2d4..0f0940f 100644
--- a/pt2001/project/rusefi/labels.xml
+++ b/pt2001/project/rusefi/labels.xml
@@ -1,29 +1,23 @@
+
-
-
- init0
- init0
- init0
- init0
-
-
- init0
- init0
- init0
-
-
-
-
- init0
- init0
- init0
- init0
-
-
- init1
- init0
- init0
- init0
-
-
+
+ init0
+
+
+
+ init1
+
+
+
+
+
+ init0
+
+
+
+ init1
+
+
+
+
\ No newline at end of file
diff --git a/pt2001/project/rusefi/project.xml b/pt2001/project/rusefi/project.xml
index 8b8084d..562b9ee 100644
--- a/pt2001/project/rusefi/project.xml
+++ b/pt2001/project/rusefi/project.xml
@@ -13,16 +13,19 @@
Registers\ch2_config_reg.hex
Registers\diag_config_reg.hex
Registers\io_config_reg.hex
- MicrocodeCh1\ch1.psc
- MicrocodeCh2\ch2.psc
- bin\ch1.bin
+ MicrocodeCh1\ch1.psc
+ MicrocodeCh2\ch2.psc
+ bin\ch1.bin
bin\ch2.bin
- bin\ch1.hex
+ bin\ch1.hex
bin\ch2.hex
Registers\dram1.hex
Registers\dram2.hex
labels.xml
Actuator\inj1.xml
+ Actuator\inj2.xml
+ Actuator\inj3.xml
+ Actuator\inj4.xml
Actuator\dcdc_current.xml
Actuator\dcdc_voltage.xml
Feedbacks\dcdc_voltage.xml
@@ -34,9 +37,9 @@
1 MHz
-
-
-
+
+
+
True
True
@@ -361,11 +364,11 @@
Hex
-
-
-
-
-
-
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pt2001/project/rusefi/sample_code/PT2001_LoadData.c b/pt2001/project/rusefi/sample_code/PT2001_LoadData.c
index c29aea1..8c9d9f6 100644
--- a/pt2001/project/rusefi/sample_code/PT2001_LoadData.c
+++ b/pt2001/project/rusefi/sample_code/PT2001_LoadData.c
@@ -1,7 +1,7 @@
/*******************************************************************************
* Example Code
*
-* Copyright(C) 2022 NXP Semiconductors
+* Copyright(C) 2023 NXP Semiconductors
* NXP Semiconductors Confidential and Proprietary
*
* Software that is described herein is for illustrative purposes only
@@ -103,7 +103,7 @@ unsigned short PT2001_main_config[29] =
unsigned short PT2001_ch1_config[19] =
{
0x0008, 0x0000, 0x0000, 0x0000, 0x0B13, 0x0000, 0x0000, 0x006C, 0x6B59, 0xC8A5,
- 0x0000, 0x002C, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000
+ 0x0000, 0x0036, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000
};
// Data to be loaded into the CH2 register memory space
diff --git a/pt2001/project/rusefi/sample_code/PT2001_LoadData.h b/pt2001/project/rusefi/sample_code/PT2001_LoadData.h
index bca5c04..6ea7df5 100644
--- a/pt2001/project/rusefi/sample_code/PT2001_LoadData.h
+++ b/pt2001/project/rusefi/sample_code/PT2001_LoadData.h
@@ -1,7 +1,7 @@
/*******************************************************************************
* Example Code
*
-* Copyright(C) 2022 NXP Semiconductors
+* Copyright(C) 2023 NXP Semiconductors
* NXP Semiconductors Confidential and Proprietary
*
* Software that is described herein is for illustrative purposes only
diff --git a/pt2001/project/rusefi/sample_code/PT2001_dram.h b/pt2001/project/rusefi/sample_code/PT2001_dram.h
index a8eacde..b37733d 100644
--- a/pt2001/project/rusefi/sample_code/PT2001_dram.h
+++ b/pt2001/project/rusefi/sample_code/PT2001_dram.h
@@ -1,7 +1,7 @@
/*******************************************************************************
* Example Code
*
-* Copyright(C) 2022 NXP Semiconductors
+* Copyright(C) 2023 NXP Semiconductors
* NXP Semiconductors Confidential and Proprietary
*
* Software that is described herein is for illustrative purposes only