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