From 927bc420c177a9ad672bdecd429a8d178531a5db Mon Sep 17 00:00:00 2001 From: SeekFree <1325536866@qq.com> Date: Thu, 24 Mar 2022 17:54:42 +0800 Subject: [PATCH] =?UTF-8?q?V1.2.8=20=20=20=20=20=20=20=20=20=E6=80=BB?= =?UTF-8?q?=E9=92=BB=E9=A3=8E=E5=BA=95=E5=B1=82=E5=A2=9E=E5=8A=A0PCLK=5FMO?= =?UTF-8?q?DE=E8=8E=B7=E5=8F=96=E5=8F=82=E6=95=B0=E4=BD=8D=20=20=20=20=20?= =?UTF-8?q?=20=20=20=20=E4=BE=8B=E7=A8=8B=E5=A2=9E=E5=8A=A0=E7=AD=89?= =?UTF-8?q?=E5=BE=85=E7=9A=84=E4=BF=A1=E5=8F=B7=E9=87=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Example/ADC_Demo/Libraries/doc/version.txt | 3 +++ .../ADC_Demo/Libraries/seekfree_peripheral/SEEKFREE_MT9V03X.c | 3 ++- Example/ADC_Demo/USER/Cpu0_Main.c | 2 ++ Example/ADC_Demo/USER/Cpu1_Main.c | 2 ++ .../Cpu1_Handles_Interrupts_Demo/Libraries/doc/version.txt | 3 +++ .../Libraries/seekfree_peripheral/SEEKFREE_MT9V03X.c | 3 ++- Example/Cpu1_Handles_Interrupts_Demo/USER/Cpu0_Main.c | 2 ++ Example/Cpu1_Handles_Interrupts_Demo/USER/Cpu1_Main.c | 2 ++ Example/Dual_Core_Demo/Libraries/doc/version.txt | 3 +++ .../Libraries/seekfree_peripheral/SEEKFREE_MT9V03X.c | 3 ++- Example/Dual_Core_Demo/USER/Cpu0_Main.c | 4 +++- Example/Dual_Core_Demo/USER/Cpu1_Main.c | 2 ++ Example/EEPROM_Demo/Libraries/doc/version.txt | 3 +++ .../Libraries/seekfree_peripheral/SEEKFREE_MT9V03X.c | 3 ++- Example/EEPROM_Demo/USER/Cpu0_Main.c | 2 ++ Example/EEPROM_Demo/USER/Cpu1_Main.c | 2 ++ Example/Encoder_Demo/Libraries/doc/version.txt | 3 +++ .../Libraries/seekfree_peripheral/SEEKFREE_MT9V03X.c | 3 ++- Example/Encoder_Demo/USER/Cpu0_Main.c | 4 +++- Example/Encoder_Demo/USER/Cpu1_Main.c | 2 ++ Example/FFT_Demo/Libraries/doc/version.txt | 3 +++ .../FFT_Demo/Libraries/seekfree_peripheral/SEEKFREE_MT9V03X.c | 3 ++- Example/FFT_Demo/USER/Cpu0_Main.c | 2 ++ Example/FFT_Demo/USER/Cpu1_Main.c | 2 ++ Example/GPIO_Interrupt_Demo/Libraries/doc/version.txt | 3 +++ .../Libraries/seekfree_peripheral/SEEKFREE_MT9V03X.c | 3 ++- Example/GPIO_Interrupt_Demo/USER/Cpu0_Main.c | 2 ++ Example/GPIO_Interrupt_Demo/USER/Cpu1_Main.c | 2 ++ Example/Interrupt_Priority_Set_Demo/Libraries/doc/version.txt | 3 +++ .../Libraries/seekfree_peripheral/SEEKFREE_MT9V03X.c | 3 ++- Example/Interrupt_Priority_Set_Demo/USER/Cpu0_Main.c | 2 ++ Example/Interrupt_Priority_Set_Demo/USER/Cpu1_Main.c | 2 ++ Example/LED_Blink_Demo/Libraries/doc/version.txt | 3 +++ .../Libraries/seekfree_peripheral/SEEKFREE_MT9V03X.c | 3 ++- Example/LED_Blink_Demo/USER/Cpu0_Main.c | 2 ++ Example/LED_Blink_Demo/USER/Cpu1_Main.c | 2 ++ Example/PIT_Demo/Libraries/doc/version.txt | 3 +++ .../PIT_Demo/Libraries/seekfree_peripheral/SEEKFREE_MT9V03X.c | 3 ++- Example/PIT_Demo/USER/Cpu0_Main.c | 4 +++- Example/PIT_Demo/USER/Cpu1_Main.c | 2 ++ Example/PWM_Demo/Libraries/doc/version.txt | 3 +++ .../PWM_Demo/Libraries/seekfree_peripheral/SEEKFREE_MT9V03X.c | 3 ++- Example/PWM_Demo/USER/Cpu0_Main.c | 2 ++ Example/PWM_Demo/USER/Cpu1_Main.c | 2 ++ Example/Printf_Demo/Libraries/doc/version.txt | 3 +++ .../Libraries/seekfree_peripheral/SEEKFREE_MT9V03X.c | 3 ++- Example/Printf_Demo/USER/Cpu0_Main.c | 2 ++ Example/Printf_Demo/USER/Cpu1_Main.c | 2 ++ .../Libraries/doc/version.txt | 3 +++ .../Libraries/seekfree_peripheral/SEEKFREE_MT9V03X.c | 3 ++- .../Specifies_Variable_Or_Code_Location_Demo/USER/Cpu0_Main.c | 2 ++ .../Specifies_Variable_Or_Code_Location_Demo/USER/Cpu1_Main.c | 2 ++ Example/Systick_Demo/Libraries/doc/version.txt | 3 +++ .../Libraries/seekfree_peripheral/SEEKFREE_MT9V03X.c | 3 ++- Example/Systick_Demo/USER/Cpu0_Main.c | 4 +++- Example/Systick_Demo/USER/Cpu1_Main.c | 2 ++ Example/UART_Demo/Libraries/doc/version.txt | 3 +++ .../Libraries/seekfree_peripheral/SEEKFREE_MT9V03X.c | 3 ++- Example/UART_Demo/USER/Cpu0_Main.c | 2 ++ Example/UART_Demo/USER/Cpu1_Main.c | 2 ++ Seekfree_TC264_Opensource_Library/Libraries/doc/version.txt | 3 +++ .../Libraries/seekfree_peripheral/SEEKFREE_MT9V03X.c | 3 ++- 62 files changed, 144 insertions(+), 20 deletions(-) diff --git a/Example/ADC_Demo/Libraries/doc/version.txt b/Example/ADC_Demo/Libraries/doc/version.txt index 10dde1a..c32b710 100644 --- a/Example/ADC_Demo/Libraries/doc/version.txt +++ b/Example/ADC_Demo/Libraries/doc/version.txt @@ -1,3 +1,6 @@ +V1.2.8 + 总钻风底层增加PCLK_MODE获取参数位 + V1.2.7 修复之前推送的总钻风底层错误的问题,会导致容易出现采集错位。 由于偶尔接触不良导致图像错位,程序对此增加检测程序并尝试进行自修复。 diff --git a/Example/ADC_Demo/Libraries/seekfree_peripheral/SEEKFREE_MT9V03X.c b/Example/ADC_Demo/Libraries/seekfree_peripheral/SEEKFREE_MT9V03X.c index a5c4ffa..b94bbf9 100644 --- a/Example/ADC_Demo/Libraries/seekfree_peripheral/SEEKFREE_MT9V03X.c +++ b/Example/ADC_Demo/Libraries/seekfree_peripheral/SEEKFREE_MT9V03X.c @@ -79,7 +79,8 @@ int16 GET_CFG[CONFIG_FINISH-1][2]= {SET_ROW, 0}, //图像行数量 {LR_OFFSET, 0}, //图像左右偏移量 {UD_OFFSET, 0}, //图像上下偏移量 - {GAIN, 0}, //图像增益 + {GAIN, 0}, //图像增益 + {PCLK_MODE, 0}, //消隐信号 }; diff --git a/Example/ADC_Demo/USER/Cpu0_Main.c b/Example/ADC_Demo/USER/Cpu0_Main.c index 29297e5..713ffef 100644 --- a/Example/ADC_Demo/USER/Cpu0_Main.c +++ b/Example/ADC_Demo/USER/Cpu0_Main.c @@ -31,6 +31,8 @@ int core0_main(void) //用户在此处调用各种初始化函数等 adc_init(ADC_0, ADC0_CH0_A0);//初始化ADC0 通道0 使用A0引脚 + IfxCpu_emitEvent(&g_cpuSyncEvent); + IfxCpu_waitEvent(&g_cpuSyncEvent, 0xFFFF); enableInterrupts(); while (TRUE) diff --git a/Example/ADC_Demo/USER/Cpu1_Main.c b/Example/ADC_Demo/USER/Cpu1_Main.c index c9abdfa..d1a3849 100644 --- a/Example/ADC_Demo/USER/Cpu1_Main.c +++ b/Example/ADC_Demo/USER/Cpu1_Main.c @@ -30,6 +30,8 @@ void core1_main(void) //用户在此处调用各种初始化函数等 + IfxCpu_emitEvent(&g_cpuSyncEvent); + IfxCpu_waitEvent(&g_cpuSyncEvent, 0xFFFF); enableInterrupts(); while (TRUE) { diff --git a/Example/Cpu1_Handles_Interrupts_Demo/Libraries/doc/version.txt b/Example/Cpu1_Handles_Interrupts_Demo/Libraries/doc/version.txt index 10dde1a..c32b710 100644 --- a/Example/Cpu1_Handles_Interrupts_Demo/Libraries/doc/version.txt +++ b/Example/Cpu1_Handles_Interrupts_Demo/Libraries/doc/version.txt @@ -1,3 +1,6 @@ +V1.2.8 + 总钻风底层增加PCLK_MODE获取参数位 + V1.2.7 修复之前推送的总钻风底层错误的问题,会导致容易出现采集错位。 由于偶尔接触不良导致图像错位,程序对此增加检测程序并尝试进行自修复。 diff --git a/Example/Cpu1_Handles_Interrupts_Demo/Libraries/seekfree_peripheral/SEEKFREE_MT9V03X.c b/Example/Cpu1_Handles_Interrupts_Demo/Libraries/seekfree_peripheral/SEEKFREE_MT9V03X.c index a5c4ffa..b94bbf9 100644 --- a/Example/Cpu1_Handles_Interrupts_Demo/Libraries/seekfree_peripheral/SEEKFREE_MT9V03X.c +++ b/Example/Cpu1_Handles_Interrupts_Demo/Libraries/seekfree_peripheral/SEEKFREE_MT9V03X.c @@ -79,7 +79,8 @@ int16 GET_CFG[CONFIG_FINISH-1][2]= {SET_ROW, 0}, //图像行数量 {LR_OFFSET, 0}, //图像左右偏移量 {UD_OFFSET, 0}, //图像上下偏移量 - {GAIN, 0}, //图像增益 + {GAIN, 0}, //图像增益 + {PCLK_MODE, 0}, //消隐信号 }; diff --git a/Example/Cpu1_Handles_Interrupts_Demo/USER/Cpu0_Main.c b/Example/Cpu1_Handles_Interrupts_Demo/USER/Cpu0_Main.c index 613c36f..bd52e93 100644 --- a/Example/Cpu1_Handles_Interrupts_Demo/USER/Cpu0_Main.c +++ b/Example/Cpu1_Handles_Interrupts_Demo/USER/Cpu0_Main.c @@ -58,6 +58,8 @@ int core0_main(void) //需要特备注意的是 不可以有优先级相同的中断函数 每个中断的优先级都必须是不一样的 + IfxCpu_emitEvent(&g_cpuSyncEvent); + IfxCpu_waitEvent(&g_cpuSyncEvent, 0xFFFF); enableInterrupts(); while (TRUE) diff --git a/Example/Cpu1_Handles_Interrupts_Demo/USER/Cpu1_Main.c b/Example/Cpu1_Handles_Interrupts_Demo/USER/Cpu1_Main.c index 809581c..dc5b1d3 100644 --- a/Example/Cpu1_Handles_Interrupts_Demo/USER/Cpu1_Main.c +++ b/Example/Cpu1_Handles_Interrupts_Demo/USER/Cpu1_Main.c @@ -29,6 +29,8 @@ void core1_main(void) IfxScuWdt_disableCpuWatchdog(IfxScuWdt_getCpuWatchdogPassword()); //用户在此处调用各种初始化函数等 + IfxCpu_emitEvent(&g_cpuSyncEvent); + IfxCpu_waitEvent(&g_cpuSyncEvent, 0xFFFF); enableInterrupts(); while (TRUE) { diff --git a/Example/Dual_Core_Demo/Libraries/doc/version.txt b/Example/Dual_Core_Demo/Libraries/doc/version.txt index 10dde1a..c32b710 100644 --- a/Example/Dual_Core_Demo/Libraries/doc/version.txt +++ b/Example/Dual_Core_Demo/Libraries/doc/version.txt @@ -1,3 +1,6 @@ +V1.2.8 + 总钻风底层增加PCLK_MODE获取参数位 + V1.2.7 修复之前推送的总钻风底层错误的问题,会导致容易出现采集错位。 由于偶尔接触不良导致图像错位,程序对此增加检测程序并尝试进行自修复。 diff --git a/Example/Dual_Core_Demo/Libraries/seekfree_peripheral/SEEKFREE_MT9V03X.c b/Example/Dual_Core_Demo/Libraries/seekfree_peripheral/SEEKFREE_MT9V03X.c index a5c4ffa..b94bbf9 100644 --- a/Example/Dual_Core_Demo/Libraries/seekfree_peripheral/SEEKFREE_MT9V03X.c +++ b/Example/Dual_Core_Demo/Libraries/seekfree_peripheral/SEEKFREE_MT9V03X.c @@ -79,7 +79,8 @@ int16 GET_CFG[CONFIG_FINISH-1][2]= {SET_ROW, 0}, //图像行数量 {LR_OFFSET, 0}, //图像左右偏移量 {UD_OFFSET, 0}, //图像上下偏移量 - {GAIN, 0}, //图像增益 + {GAIN, 0}, //图像增益 + {PCLK_MODE, 0}, //消隐信号 }; diff --git a/Example/Dual_Core_Demo/USER/Cpu0_Main.c b/Example/Dual_Core_Demo/USER/Cpu0_Main.c index 5bbfefb..8a75df2 100644 --- a/Example/Dual_Core_Demo/USER/Cpu0_Main.c +++ b/Example/Dual_Core_Demo/USER/Cpu0_Main.c @@ -34,6 +34,8 @@ int core0_main(void) gpio_init(P20_8, GPO, 0, PUSHPULL); + IfxCpu_emitEvent(&g_cpuSyncEvent); + IfxCpu_waitEvent(&g_cpuSyncEvent, 0xFFFF); enableInterrupts(); while (TRUE) @@ -43,4 +45,4 @@ int core0_main(void) } } -#pragma section all restore \ No newline at end of file +#pragma section all restore diff --git a/Example/Dual_Core_Demo/USER/Cpu1_Main.c b/Example/Dual_Core_Demo/USER/Cpu1_Main.c index 2ec4de8..57437b3 100644 --- a/Example/Dual_Core_Demo/USER/Cpu1_Main.c +++ b/Example/Dual_Core_Demo/USER/Cpu1_Main.c @@ -33,6 +33,8 @@ void core1_main(void) //本例程使用核心0 闪烁P20_8的LED 核心1闪烁P20_9的LED gpio_init(P20_9, GPO, 0, PUSHPULL); + IfxCpu_emitEvent(&g_cpuSyncEvent); + IfxCpu_waitEvent(&g_cpuSyncEvent, 0xFFFF); enableInterrupts(); while (TRUE) { diff --git a/Example/EEPROM_Demo/Libraries/doc/version.txt b/Example/EEPROM_Demo/Libraries/doc/version.txt index 10dde1a..c32b710 100644 --- a/Example/EEPROM_Demo/Libraries/doc/version.txt +++ b/Example/EEPROM_Demo/Libraries/doc/version.txt @@ -1,3 +1,6 @@ +V1.2.8 + 总钻风底层增加PCLK_MODE获取参数位 + V1.2.7 修复之前推送的总钻风底层错误的问题,会导致容易出现采集错位。 由于偶尔接触不良导致图像错位,程序对此增加检测程序并尝试进行自修复。 diff --git a/Example/EEPROM_Demo/Libraries/seekfree_peripheral/SEEKFREE_MT9V03X.c b/Example/EEPROM_Demo/Libraries/seekfree_peripheral/SEEKFREE_MT9V03X.c index a5c4ffa..b94bbf9 100644 --- a/Example/EEPROM_Demo/Libraries/seekfree_peripheral/SEEKFREE_MT9V03X.c +++ b/Example/EEPROM_Demo/Libraries/seekfree_peripheral/SEEKFREE_MT9V03X.c @@ -79,7 +79,8 @@ int16 GET_CFG[CONFIG_FINISH-1][2]= {SET_ROW, 0}, //图像行数量 {LR_OFFSET, 0}, //图像左右偏移量 {UD_OFFSET, 0}, //图像上下偏移量 - {GAIN, 0}, //图像增益 + {GAIN, 0}, //图像增益 + {PCLK_MODE, 0}, //消隐信号 }; diff --git a/Example/EEPROM_Demo/USER/Cpu0_Main.c b/Example/EEPROM_Demo/USER/Cpu0_Main.c index 7e22617..af76c32 100644 --- a/Example/EEPROM_Demo/USER/Cpu0_Main.c +++ b/Example/EEPROM_Demo/USER/Cpu0_Main.c @@ -72,6 +72,8 @@ int core0_main(void) read_data3 = flash_read(EXAMPLE_EEPROM_SECTOR, 2, uint32); read_data4 = flash_read(EXAMPLE_EEPROM_SECTOR, 3, float); + IfxCpu_emitEvent(&g_cpuSyncEvent); + IfxCpu_waitEvent(&g_cpuSyncEvent, 0xFFFF); enableInterrupts(); printf("read_data1: %d\n", read_data1); diff --git a/Example/EEPROM_Demo/USER/Cpu1_Main.c b/Example/EEPROM_Demo/USER/Cpu1_Main.c index c9abdfa..d1a3849 100644 --- a/Example/EEPROM_Demo/USER/Cpu1_Main.c +++ b/Example/EEPROM_Demo/USER/Cpu1_Main.c @@ -30,6 +30,8 @@ void core1_main(void) //用户在此处调用各种初始化函数等 + IfxCpu_emitEvent(&g_cpuSyncEvent); + IfxCpu_waitEvent(&g_cpuSyncEvent, 0xFFFF); enableInterrupts(); while (TRUE) { diff --git a/Example/Encoder_Demo/Libraries/doc/version.txt b/Example/Encoder_Demo/Libraries/doc/version.txt index 10dde1a..c32b710 100644 --- a/Example/Encoder_Demo/Libraries/doc/version.txt +++ b/Example/Encoder_Demo/Libraries/doc/version.txt @@ -1,3 +1,6 @@ +V1.2.8 + 总钻风底层增加PCLK_MODE获取参数位 + V1.2.7 修复之前推送的总钻风底层错误的问题,会导致容易出现采集错位。 由于偶尔接触不良导致图像错位,程序对此增加检测程序并尝试进行自修复。 diff --git a/Example/Encoder_Demo/Libraries/seekfree_peripheral/SEEKFREE_MT9V03X.c b/Example/Encoder_Demo/Libraries/seekfree_peripheral/SEEKFREE_MT9V03X.c index a5c4ffa..b94bbf9 100644 --- a/Example/Encoder_Demo/Libraries/seekfree_peripheral/SEEKFREE_MT9V03X.c +++ b/Example/Encoder_Demo/Libraries/seekfree_peripheral/SEEKFREE_MT9V03X.c @@ -79,7 +79,8 @@ int16 GET_CFG[CONFIG_FINISH-1][2]= {SET_ROW, 0}, //图像行数量 {LR_OFFSET, 0}, //图像左右偏移量 {UD_OFFSET, 0}, //图像上下偏移量 - {GAIN, 0}, //图像增益 + {GAIN, 0}, //图像增益 + {PCLK_MODE, 0}, //消隐信号 }; diff --git a/Example/Encoder_Demo/USER/Cpu0_Main.c b/Example/Encoder_Demo/USER/Cpu0_Main.c index 5b8898c..b941b6f 100644 --- a/Example/Encoder_Demo/USER/Cpu0_Main.c +++ b/Example/Encoder_Demo/USER/Cpu0_Main.c @@ -33,6 +33,8 @@ int core0_main(void) //第二个参数 表示选择的计数引脚 计数引脚与方向引脚不可交换 //第三个参数 表示选择的方向引脚 gpt12_init(GPT12_T2, GPT12_T2INB_P33_7, GPT12_T2EUDB_P33_6); + IfxCpu_emitEvent(&g_cpuSyncEvent); + IfxCpu_waitEvent(&g_cpuSyncEvent, 0xFFFF); enableInterrupts(); while (TRUE) @@ -47,4 +49,4 @@ int core0_main(void) } } -#pragma section all restore \ No newline at end of file +#pragma section all restore diff --git a/Example/Encoder_Demo/USER/Cpu1_Main.c b/Example/Encoder_Demo/USER/Cpu1_Main.c index c9abdfa..d1a3849 100644 --- a/Example/Encoder_Demo/USER/Cpu1_Main.c +++ b/Example/Encoder_Demo/USER/Cpu1_Main.c @@ -30,6 +30,8 @@ void core1_main(void) //用户在此处调用各种初始化函数等 + IfxCpu_emitEvent(&g_cpuSyncEvent); + IfxCpu_waitEvent(&g_cpuSyncEvent, 0xFFFF); enableInterrupts(); while (TRUE) { diff --git a/Example/FFT_Demo/Libraries/doc/version.txt b/Example/FFT_Demo/Libraries/doc/version.txt index 10dde1a..c32b710 100644 --- a/Example/FFT_Demo/Libraries/doc/version.txt +++ b/Example/FFT_Demo/Libraries/doc/version.txt @@ -1,3 +1,6 @@ +V1.2.8 + 总钻风底层增加PCLK_MODE获取参数位 + V1.2.7 修复之前推送的总钻风底层错误的问题,会导致容易出现采集错位。 由于偶尔接触不良导致图像错位,程序对此增加检测程序并尝试进行自修复。 diff --git a/Example/FFT_Demo/Libraries/seekfree_peripheral/SEEKFREE_MT9V03X.c b/Example/FFT_Demo/Libraries/seekfree_peripheral/SEEKFREE_MT9V03X.c index a5c4ffa..b94bbf9 100644 --- a/Example/FFT_Demo/Libraries/seekfree_peripheral/SEEKFREE_MT9V03X.c +++ b/Example/FFT_Demo/Libraries/seekfree_peripheral/SEEKFREE_MT9V03X.c @@ -79,7 +79,8 @@ int16 GET_CFG[CONFIG_FINISH-1][2]= {SET_ROW, 0}, //图像行数量 {LR_OFFSET, 0}, //图像左右偏移量 {UD_OFFSET, 0}, //图像上下偏移量 - {GAIN, 0}, //图像增益 + {GAIN, 0}, //图像增益 + {PCLK_MODE, 0}, //消隐信号 }; diff --git a/Example/FFT_Demo/USER/Cpu0_Main.c b/Example/FFT_Demo/USER/Cpu0_Main.c index 7921fdd..6eb32d3 100644 --- a/Example/FFT_Demo/USER/Cpu0_Main.c +++ b/Example/FFT_Demo/USER/Cpu0_Main.c @@ -44,6 +44,8 @@ int core0_main(void) get_clk();//获取时钟频率 务必保留 //用户在此处调用各种初始化函数等 + IfxCpu_emitEvent(&g_cpuSyncEvent); + IfxCpu_waitEvent(&g_cpuSyncEvent, 0xFFFF); enableInterrupts(); for (i=0; i