diff --git a/Example/ADC_Demo/Libraries/doc/version.txt b/Example/ADC_Demo/Libraries/doc/version.txt index e09b8d6..3a356d1 100644 --- a/Example/ADC_Demo/Libraries/doc/version.txt +++ b/Example/ADC_Demo/Libraries/doc/version.txt @@ -1,3 +1,6 @@ +V1.2.3 + 总钻风摄像头初始化函数中将PCLK修改为上升沿触发 + V1.2.2 当摄像头图像出现偶发性错位的情况,会重新初始化DMA使得下次采集图像自动恢复正常。 总钻风摄像头像素时钟修改为上升沿触发 diff --git a/Example/ADC_Demo/Libraries/seekfree_libraries/zf_stm_systick.c b/Example/ADC_Demo/Libraries/seekfree_libraries/zf_stm_systick.c index 130d607..21fd880 100644 --- a/Example/ADC_Demo/Libraries/seekfree_libraries/zf_stm_systick.c +++ b/Example/ADC_Demo/Libraries/seekfree_libraries/zf_stm_systick.c @@ -35,7 +35,7 @@ void systick_delay(STMN_enum stmn, uint32 time) uint32 stm_clk; stm_clk = IfxStm_getFrequency(IfxStm_getAddress((IfxStm_Index)stmn)); - IfxStm_waitTicks(IfxStm_getAddress((IfxStm_Index)stmn), (uint32)((uint64)stm_clk*time/1000000000)); + IfxStm_waitTicks(IfxStm_getAddress((IfxStm_Index)stmn), (uint32)(stm_clk/1000000*time/1000)); } diff --git a/Example/ADC_Demo/Libraries/seekfree_peripheral/SEEKFREE_MT9V03X.c b/Example/ADC_Demo/Libraries/seekfree_peripheral/SEEKFREE_MT9V03X.c index f468206..0260bab 100644 --- a/Example/ADC_Demo/Libraries/seekfree_peripheral/SEEKFREE_MT9V03X.c +++ b/Example/ADC_Demo/Libraries/seekfree_peripheral/SEEKFREE_MT9V03X.c @@ -332,7 +332,7 @@ void mt9v03x_vsync(void) { mt9v03x_dma_init_flag = 0; IfxDma_resetChannel(&MODULE_DMA, MT9V03X_DMA_CH); - link_list_num = eru_dma_init(MT9V03X_DMA_CH, GET_PORT_IN_ADDR(MT9V03X_DATA_PIN), camera_buffer_addr, MT9V03X_PCLK_PIN, FALLING, MT9V03X_W*MT9V03X_H); + link_list_num = eru_dma_init(MT9V03X_DMA_CH, GET_PORT_IN_ADDR(MT9V03X_DATA_PIN), camera_buffer_addr, MT9V03X_PCLK_PIN, RISING, MT9V03X_W*MT9V03X_H); dma_start(MT9V03X_DMA_CH); } else diff --git a/Example/Cpu1_Handles_Interrupts_Demo/Libraries/doc/version.txt b/Example/Cpu1_Handles_Interrupts_Demo/Libraries/doc/version.txt index e09b8d6..3a356d1 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.3 + 总钻风摄像头初始化函数中将PCLK修改为上升沿触发 + V1.2.2 当摄像头图像出现偶发性错位的情况,会重新初始化DMA使得下次采集图像自动恢复正常。 总钻风摄像头像素时钟修改为上升沿触发 diff --git a/Example/Cpu1_Handles_Interrupts_Demo/Libraries/seekfree_libraries/zf_stm_systick.c b/Example/Cpu1_Handles_Interrupts_Demo/Libraries/seekfree_libraries/zf_stm_systick.c index 130d607..21fd880 100644 --- a/Example/Cpu1_Handles_Interrupts_Demo/Libraries/seekfree_libraries/zf_stm_systick.c +++ b/Example/Cpu1_Handles_Interrupts_Demo/Libraries/seekfree_libraries/zf_stm_systick.c @@ -35,7 +35,7 @@ void systick_delay(STMN_enum stmn, uint32 time) uint32 stm_clk; stm_clk = IfxStm_getFrequency(IfxStm_getAddress((IfxStm_Index)stmn)); - IfxStm_waitTicks(IfxStm_getAddress((IfxStm_Index)stmn), (uint32)((uint64)stm_clk*time/1000000000)); + IfxStm_waitTicks(IfxStm_getAddress((IfxStm_Index)stmn), (uint32)(stm_clk/1000000*time/1000)); } 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 f468206..0260bab 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 @@ -332,7 +332,7 @@ void mt9v03x_vsync(void) { mt9v03x_dma_init_flag = 0; IfxDma_resetChannel(&MODULE_DMA, MT9V03X_DMA_CH); - link_list_num = eru_dma_init(MT9V03X_DMA_CH, GET_PORT_IN_ADDR(MT9V03X_DATA_PIN), camera_buffer_addr, MT9V03X_PCLK_PIN, FALLING, MT9V03X_W*MT9V03X_H); + link_list_num = eru_dma_init(MT9V03X_DMA_CH, GET_PORT_IN_ADDR(MT9V03X_DATA_PIN), camera_buffer_addr, MT9V03X_PCLK_PIN, RISING, MT9V03X_W*MT9V03X_H); dma_start(MT9V03X_DMA_CH); } else diff --git a/Example/Dual_Core_Demo/Libraries/doc/version.txt b/Example/Dual_Core_Demo/Libraries/doc/version.txt index e09b8d6..3a356d1 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.3 + 总钻风摄像头初始化函数中将PCLK修改为上升沿触发 + V1.2.2 当摄像头图像出现偶发性错位的情况,会重新初始化DMA使得下次采集图像自动恢复正常。 总钻风摄像头像素时钟修改为上升沿触发 diff --git a/Example/Dual_Core_Demo/Libraries/seekfree_libraries/zf_stm_systick.c b/Example/Dual_Core_Demo/Libraries/seekfree_libraries/zf_stm_systick.c index 130d607..21fd880 100644 --- a/Example/Dual_Core_Demo/Libraries/seekfree_libraries/zf_stm_systick.c +++ b/Example/Dual_Core_Demo/Libraries/seekfree_libraries/zf_stm_systick.c @@ -35,7 +35,7 @@ void systick_delay(STMN_enum stmn, uint32 time) uint32 stm_clk; stm_clk = IfxStm_getFrequency(IfxStm_getAddress((IfxStm_Index)stmn)); - IfxStm_waitTicks(IfxStm_getAddress((IfxStm_Index)stmn), (uint32)((uint64)stm_clk*time/1000000000)); + IfxStm_waitTicks(IfxStm_getAddress((IfxStm_Index)stmn), (uint32)(stm_clk/1000000*time/1000)); } 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 f468206..0260bab 100644 --- a/Example/Dual_Core_Demo/Libraries/seekfree_peripheral/SEEKFREE_MT9V03X.c +++ b/Example/Dual_Core_Demo/Libraries/seekfree_peripheral/SEEKFREE_MT9V03X.c @@ -332,7 +332,7 @@ void mt9v03x_vsync(void) { mt9v03x_dma_init_flag = 0; IfxDma_resetChannel(&MODULE_DMA, MT9V03X_DMA_CH); - link_list_num = eru_dma_init(MT9V03X_DMA_CH, GET_PORT_IN_ADDR(MT9V03X_DATA_PIN), camera_buffer_addr, MT9V03X_PCLK_PIN, FALLING, MT9V03X_W*MT9V03X_H); + link_list_num = eru_dma_init(MT9V03X_DMA_CH, GET_PORT_IN_ADDR(MT9V03X_DATA_PIN), camera_buffer_addr, MT9V03X_PCLK_PIN, RISING, MT9V03X_W*MT9V03X_H); dma_start(MT9V03X_DMA_CH); } else diff --git a/Example/EEPROM_Demo/Libraries/doc/version.txt b/Example/EEPROM_Demo/Libraries/doc/version.txt index e09b8d6..3a356d1 100644 --- a/Example/EEPROM_Demo/Libraries/doc/version.txt +++ b/Example/EEPROM_Demo/Libraries/doc/version.txt @@ -1,3 +1,6 @@ +V1.2.3 + 总钻风摄像头初始化函数中将PCLK修改为上升沿触发 + V1.2.2 当摄像头图像出现偶发性错位的情况,会重新初始化DMA使得下次采集图像自动恢复正常。 总钻风摄像头像素时钟修改为上升沿触发 diff --git a/Example/EEPROM_Demo/Libraries/seekfree_libraries/zf_stm_systick.c b/Example/EEPROM_Demo/Libraries/seekfree_libraries/zf_stm_systick.c index 130d607..21fd880 100644 --- a/Example/EEPROM_Demo/Libraries/seekfree_libraries/zf_stm_systick.c +++ b/Example/EEPROM_Demo/Libraries/seekfree_libraries/zf_stm_systick.c @@ -35,7 +35,7 @@ void systick_delay(STMN_enum stmn, uint32 time) uint32 stm_clk; stm_clk = IfxStm_getFrequency(IfxStm_getAddress((IfxStm_Index)stmn)); - IfxStm_waitTicks(IfxStm_getAddress((IfxStm_Index)stmn), (uint32)((uint64)stm_clk*time/1000000000)); + IfxStm_waitTicks(IfxStm_getAddress((IfxStm_Index)stmn), (uint32)(stm_clk/1000000*time/1000)); } diff --git a/Example/EEPROM_Demo/Libraries/seekfree_peripheral/SEEKFREE_MT9V03X.c b/Example/EEPROM_Demo/Libraries/seekfree_peripheral/SEEKFREE_MT9V03X.c index f468206..0260bab 100644 --- a/Example/EEPROM_Demo/Libraries/seekfree_peripheral/SEEKFREE_MT9V03X.c +++ b/Example/EEPROM_Demo/Libraries/seekfree_peripheral/SEEKFREE_MT9V03X.c @@ -332,7 +332,7 @@ void mt9v03x_vsync(void) { mt9v03x_dma_init_flag = 0; IfxDma_resetChannel(&MODULE_DMA, MT9V03X_DMA_CH); - link_list_num = eru_dma_init(MT9V03X_DMA_CH, GET_PORT_IN_ADDR(MT9V03X_DATA_PIN), camera_buffer_addr, MT9V03X_PCLK_PIN, FALLING, MT9V03X_W*MT9V03X_H); + link_list_num = eru_dma_init(MT9V03X_DMA_CH, GET_PORT_IN_ADDR(MT9V03X_DATA_PIN), camera_buffer_addr, MT9V03X_PCLK_PIN, RISING, MT9V03X_W*MT9V03X_H); dma_start(MT9V03X_DMA_CH); } else diff --git a/Example/Encoder_Demo/Libraries/doc/version.txt b/Example/Encoder_Demo/Libraries/doc/version.txt index e09b8d6..3a356d1 100644 --- a/Example/Encoder_Demo/Libraries/doc/version.txt +++ b/Example/Encoder_Demo/Libraries/doc/version.txt @@ -1,3 +1,6 @@ +V1.2.3 + 总钻风摄像头初始化函数中将PCLK修改为上升沿触发 + V1.2.2 当摄像头图像出现偶发性错位的情况,会重新初始化DMA使得下次采集图像自动恢复正常。 总钻风摄像头像素时钟修改为上升沿触发 diff --git a/Example/Encoder_Demo/Libraries/seekfree_libraries/zf_stm_systick.c b/Example/Encoder_Demo/Libraries/seekfree_libraries/zf_stm_systick.c index 130d607..21fd880 100644 --- a/Example/Encoder_Demo/Libraries/seekfree_libraries/zf_stm_systick.c +++ b/Example/Encoder_Demo/Libraries/seekfree_libraries/zf_stm_systick.c @@ -35,7 +35,7 @@ void systick_delay(STMN_enum stmn, uint32 time) uint32 stm_clk; stm_clk = IfxStm_getFrequency(IfxStm_getAddress((IfxStm_Index)stmn)); - IfxStm_waitTicks(IfxStm_getAddress((IfxStm_Index)stmn), (uint32)((uint64)stm_clk*time/1000000000)); + IfxStm_waitTicks(IfxStm_getAddress((IfxStm_Index)stmn), (uint32)(stm_clk/1000000*time/1000)); } diff --git a/Example/Encoder_Demo/Libraries/seekfree_peripheral/SEEKFREE_MT9V03X.c b/Example/Encoder_Demo/Libraries/seekfree_peripheral/SEEKFREE_MT9V03X.c index f468206..0260bab 100644 --- a/Example/Encoder_Demo/Libraries/seekfree_peripheral/SEEKFREE_MT9V03X.c +++ b/Example/Encoder_Demo/Libraries/seekfree_peripheral/SEEKFREE_MT9V03X.c @@ -332,7 +332,7 @@ void mt9v03x_vsync(void) { mt9v03x_dma_init_flag = 0; IfxDma_resetChannel(&MODULE_DMA, MT9V03X_DMA_CH); - link_list_num = eru_dma_init(MT9V03X_DMA_CH, GET_PORT_IN_ADDR(MT9V03X_DATA_PIN), camera_buffer_addr, MT9V03X_PCLK_PIN, FALLING, MT9V03X_W*MT9V03X_H); + link_list_num = eru_dma_init(MT9V03X_DMA_CH, GET_PORT_IN_ADDR(MT9V03X_DATA_PIN), camera_buffer_addr, MT9V03X_PCLK_PIN, RISING, MT9V03X_W*MT9V03X_H); dma_start(MT9V03X_DMA_CH); } else diff --git a/Example/FFT_Demo/Libraries/doc/version.txt b/Example/FFT_Demo/Libraries/doc/version.txt index e09b8d6..3a356d1 100644 --- a/Example/FFT_Demo/Libraries/doc/version.txt +++ b/Example/FFT_Demo/Libraries/doc/version.txt @@ -1,3 +1,6 @@ +V1.2.3 + 总钻风摄像头初始化函数中将PCLK修改为上升沿触发 + V1.2.2 当摄像头图像出现偶发性错位的情况,会重新初始化DMA使得下次采集图像自动恢复正常。 总钻风摄像头像素时钟修改为上升沿触发 diff --git a/Example/FFT_Demo/Libraries/seekfree_libraries/zf_stm_systick.c b/Example/FFT_Demo/Libraries/seekfree_libraries/zf_stm_systick.c index 130d607..21fd880 100644 --- a/Example/FFT_Demo/Libraries/seekfree_libraries/zf_stm_systick.c +++ b/Example/FFT_Demo/Libraries/seekfree_libraries/zf_stm_systick.c @@ -35,7 +35,7 @@ void systick_delay(STMN_enum stmn, uint32 time) uint32 stm_clk; stm_clk = IfxStm_getFrequency(IfxStm_getAddress((IfxStm_Index)stmn)); - IfxStm_waitTicks(IfxStm_getAddress((IfxStm_Index)stmn), (uint32)((uint64)stm_clk*time/1000000000)); + IfxStm_waitTicks(IfxStm_getAddress((IfxStm_Index)stmn), (uint32)(stm_clk/1000000*time/1000)); } diff --git a/Example/FFT_Demo/Libraries/seekfree_peripheral/SEEKFREE_MT9V03X.c b/Example/FFT_Demo/Libraries/seekfree_peripheral/SEEKFREE_MT9V03X.c index f468206..0260bab 100644 --- a/Example/FFT_Demo/Libraries/seekfree_peripheral/SEEKFREE_MT9V03X.c +++ b/Example/FFT_Demo/Libraries/seekfree_peripheral/SEEKFREE_MT9V03X.c @@ -332,7 +332,7 @@ void mt9v03x_vsync(void) { mt9v03x_dma_init_flag = 0; IfxDma_resetChannel(&MODULE_DMA, MT9V03X_DMA_CH); - link_list_num = eru_dma_init(MT9V03X_DMA_CH, GET_PORT_IN_ADDR(MT9V03X_DATA_PIN), camera_buffer_addr, MT9V03X_PCLK_PIN, FALLING, MT9V03X_W*MT9V03X_H); + link_list_num = eru_dma_init(MT9V03X_DMA_CH, GET_PORT_IN_ADDR(MT9V03X_DATA_PIN), camera_buffer_addr, MT9V03X_PCLK_PIN, RISING, MT9V03X_W*MT9V03X_H); dma_start(MT9V03X_DMA_CH); } else diff --git a/Example/GPIO_Interrupt_Demo/Libraries/doc/version.txt b/Example/GPIO_Interrupt_Demo/Libraries/doc/version.txt index e09b8d6..3a356d1 100644 --- a/Example/GPIO_Interrupt_Demo/Libraries/doc/version.txt +++ b/Example/GPIO_Interrupt_Demo/Libraries/doc/version.txt @@ -1,3 +1,6 @@ +V1.2.3 + 总钻风摄像头初始化函数中将PCLK修改为上升沿触发 + V1.2.2 当摄像头图像出现偶发性错位的情况,会重新初始化DMA使得下次采集图像自动恢复正常。 总钻风摄像头像素时钟修改为上升沿触发 diff --git a/Example/GPIO_Interrupt_Demo/Libraries/seekfree_libraries/zf_stm_systick.c b/Example/GPIO_Interrupt_Demo/Libraries/seekfree_libraries/zf_stm_systick.c index 130d607..21fd880 100644 --- a/Example/GPIO_Interrupt_Demo/Libraries/seekfree_libraries/zf_stm_systick.c +++ b/Example/GPIO_Interrupt_Demo/Libraries/seekfree_libraries/zf_stm_systick.c @@ -35,7 +35,7 @@ void systick_delay(STMN_enum stmn, uint32 time) uint32 stm_clk; stm_clk = IfxStm_getFrequency(IfxStm_getAddress((IfxStm_Index)stmn)); - IfxStm_waitTicks(IfxStm_getAddress((IfxStm_Index)stmn), (uint32)((uint64)stm_clk*time/1000000000)); + IfxStm_waitTicks(IfxStm_getAddress((IfxStm_Index)stmn), (uint32)(stm_clk/1000000*time/1000)); } diff --git a/Example/GPIO_Interrupt_Demo/Libraries/seekfree_peripheral/SEEKFREE_MT9V03X.c b/Example/GPIO_Interrupt_Demo/Libraries/seekfree_peripheral/SEEKFREE_MT9V03X.c index f468206..0260bab 100644 --- a/Example/GPIO_Interrupt_Demo/Libraries/seekfree_peripheral/SEEKFREE_MT9V03X.c +++ b/Example/GPIO_Interrupt_Demo/Libraries/seekfree_peripheral/SEEKFREE_MT9V03X.c @@ -332,7 +332,7 @@ void mt9v03x_vsync(void) { mt9v03x_dma_init_flag = 0; IfxDma_resetChannel(&MODULE_DMA, MT9V03X_DMA_CH); - link_list_num = eru_dma_init(MT9V03X_DMA_CH, GET_PORT_IN_ADDR(MT9V03X_DATA_PIN), camera_buffer_addr, MT9V03X_PCLK_PIN, FALLING, MT9V03X_W*MT9V03X_H); + link_list_num = eru_dma_init(MT9V03X_DMA_CH, GET_PORT_IN_ADDR(MT9V03X_DATA_PIN), camera_buffer_addr, MT9V03X_PCLK_PIN, RISING, MT9V03X_W*MT9V03X_H); dma_start(MT9V03X_DMA_CH); } else diff --git a/Example/Interrupt_Priority_Set_Demo/Libraries/doc/version.txt b/Example/Interrupt_Priority_Set_Demo/Libraries/doc/version.txt index e09b8d6..3a356d1 100644 --- a/Example/Interrupt_Priority_Set_Demo/Libraries/doc/version.txt +++ b/Example/Interrupt_Priority_Set_Demo/Libraries/doc/version.txt @@ -1,3 +1,6 @@ +V1.2.3 + 总钻风摄像头初始化函数中将PCLK修改为上升沿触发 + V1.2.2 当摄像头图像出现偶发性错位的情况,会重新初始化DMA使得下次采集图像自动恢复正常。 总钻风摄像头像素时钟修改为上升沿触发 diff --git a/Example/Interrupt_Priority_Set_Demo/Libraries/seekfree_libraries/zf_stm_systick.c b/Example/Interrupt_Priority_Set_Demo/Libraries/seekfree_libraries/zf_stm_systick.c index 130d607..21fd880 100644 --- a/Example/Interrupt_Priority_Set_Demo/Libraries/seekfree_libraries/zf_stm_systick.c +++ b/Example/Interrupt_Priority_Set_Demo/Libraries/seekfree_libraries/zf_stm_systick.c @@ -35,7 +35,7 @@ void systick_delay(STMN_enum stmn, uint32 time) uint32 stm_clk; stm_clk = IfxStm_getFrequency(IfxStm_getAddress((IfxStm_Index)stmn)); - IfxStm_waitTicks(IfxStm_getAddress((IfxStm_Index)stmn), (uint32)((uint64)stm_clk*time/1000000000)); + IfxStm_waitTicks(IfxStm_getAddress((IfxStm_Index)stmn), (uint32)(stm_clk/1000000*time/1000)); } diff --git a/Example/Interrupt_Priority_Set_Demo/Libraries/seekfree_peripheral/SEEKFREE_MT9V03X.c b/Example/Interrupt_Priority_Set_Demo/Libraries/seekfree_peripheral/SEEKFREE_MT9V03X.c index f468206..0260bab 100644 --- a/Example/Interrupt_Priority_Set_Demo/Libraries/seekfree_peripheral/SEEKFREE_MT9V03X.c +++ b/Example/Interrupt_Priority_Set_Demo/Libraries/seekfree_peripheral/SEEKFREE_MT9V03X.c @@ -332,7 +332,7 @@ void mt9v03x_vsync(void) { mt9v03x_dma_init_flag = 0; IfxDma_resetChannel(&MODULE_DMA, MT9V03X_DMA_CH); - link_list_num = eru_dma_init(MT9V03X_DMA_CH, GET_PORT_IN_ADDR(MT9V03X_DATA_PIN), camera_buffer_addr, MT9V03X_PCLK_PIN, FALLING, MT9V03X_W*MT9V03X_H); + link_list_num = eru_dma_init(MT9V03X_DMA_CH, GET_PORT_IN_ADDR(MT9V03X_DATA_PIN), camera_buffer_addr, MT9V03X_PCLK_PIN, RISING, MT9V03X_W*MT9V03X_H); dma_start(MT9V03X_DMA_CH); } else diff --git a/Example/LED_Blink_Demo/Libraries/doc/version.txt b/Example/LED_Blink_Demo/Libraries/doc/version.txt index e09b8d6..3a356d1 100644 --- a/Example/LED_Blink_Demo/Libraries/doc/version.txt +++ b/Example/LED_Blink_Demo/Libraries/doc/version.txt @@ -1,3 +1,6 @@ +V1.2.3 + 总钻风摄像头初始化函数中将PCLK修改为上升沿触发 + V1.2.2 当摄像头图像出现偶发性错位的情况,会重新初始化DMA使得下次采集图像自动恢复正常。 总钻风摄像头像素时钟修改为上升沿触发 diff --git a/Example/LED_Blink_Demo/Libraries/seekfree_libraries/zf_stm_systick.c b/Example/LED_Blink_Demo/Libraries/seekfree_libraries/zf_stm_systick.c index 130d607..21fd880 100644 --- a/Example/LED_Blink_Demo/Libraries/seekfree_libraries/zf_stm_systick.c +++ b/Example/LED_Blink_Demo/Libraries/seekfree_libraries/zf_stm_systick.c @@ -35,7 +35,7 @@ void systick_delay(STMN_enum stmn, uint32 time) uint32 stm_clk; stm_clk = IfxStm_getFrequency(IfxStm_getAddress((IfxStm_Index)stmn)); - IfxStm_waitTicks(IfxStm_getAddress((IfxStm_Index)stmn), (uint32)((uint64)stm_clk*time/1000000000)); + IfxStm_waitTicks(IfxStm_getAddress((IfxStm_Index)stmn), (uint32)(stm_clk/1000000*time/1000)); } diff --git a/Example/LED_Blink_Demo/Libraries/seekfree_peripheral/SEEKFREE_MT9V03X.c b/Example/LED_Blink_Demo/Libraries/seekfree_peripheral/SEEKFREE_MT9V03X.c index f468206..0260bab 100644 --- a/Example/LED_Blink_Demo/Libraries/seekfree_peripheral/SEEKFREE_MT9V03X.c +++ b/Example/LED_Blink_Demo/Libraries/seekfree_peripheral/SEEKFREE_MT9V03X.c @@ -332,7 +332,7 @@ void mt9v03x_vsync(void) { mt9v03x_dma_init_flag = 0; IfxDma_resetChannel(&MODULE_DMA, MT9V03X_DMA_CH); - link_list_num = eru_dma_init(MT9V03X_DMA_CH, GET_PORT_IN_ADDR(MT9V03X_DATA_PIN), camera_buffer_addr, MT9V03X_PCLK_PIN, FALLING, MT9V03X_W*MT9V03X_H); + link_list_num = eru_dma_init(MT9V03X_DMA_CH, GET_PORT_IN_ADDR(MT9V03X_DATA_PIN), camera_buffer_addr, MT9V03X_PCLK_PIN, RISING, MT9V03X_W*MT9V03X_H); dma_start(MT9V03X_DMA_CH); } else diff --git a/Example/PIT_Demo/Libraries/doc/version.txt b/Example/PIT_Demo/Libraries/doc/version.txt index e09b8d6..3a356d1 100644 --- a/Example/PIT_Demo/Libraries/doc/version.txt +++ b/Example/PIT_Demo/Libraries/doc/version.txt @@ -1,3 +1,6 @@ +V1.2.3 + 总钻风摄像头初始化函数中将PCLK修改为上升沿触发 + V1.2.2 当摄像头图像出现偶发性错位的情况,会重新初始化DMA使得下次采集图像自动恢复正常。 总钻风摄像头像素时钟修改为上升沿触发 diff --git a/Example/PIT_Demo/Libraries/seekfree_libraries/zf_stm_systick.c b/Example/PIT_Demo/Libraries/seekfree_libraries/zf_stm_systick.c index 130d607..21fd880 100644 --- a/Example/PIT_Demo/Libraries/seekfree_libraries/zf_stm_systick.c +++ b/Example/PIT_Demo/Libraries/seekfree_libraries/zf_stm_systick.c @@ -35,7 +35,7 @@ void systick_delay(STMN_enum stmn, uint32 time) uint32 stm_clk; stm_clk = IfxStm_getFrequency(IfxStm_getAddress((IfxStm_Index)stmn)); - IfxStm_waitTicks(IfxStm_getAddress((IfxStm_Index)stmn), (uint32)((uint64)stm_clk*time/1000000000)); + IfxStm_waitTicks(IfxStm_getAddress((IfxStm_Index)stmn), (uint32)(stm_clk/1000000*time/1000)); } diff --git a/Example/PIT_Demo/Libraries/seekfree_peripheral/SEEKFREE_MT9V03X.c b/Example/PIT_Demo/Libraries/seekfree_peripheral/SEEKFREE_MT9V03X.c index f468206..0260bab 100644 --- a/Example/PIT_Demo/Libraries/seekfree_peripheral/SEEKFREE_MT9V03X.c +++ b/Example/PIT_Demo/Libraries/seekfree_peripheral/SEEKFREE_MT9V03X.c @@ -332,7 +332,7 @@ void mt9v03x_vsync(void) { mt9v03x_dma_init_flag = 0; IfxDma_resetChannel(&MODULE_DMA, MT9V03X_DMA_CH); - link_list_num = eru_dma_init(MT9V03X_DMA_CH, GET_PORT_IN_ADDR(MT9V03X_DATA_PIN), camera_buffer_addr, MT9V03X_PCLK_PIN, FALLING, MT9V03X_W*MT9V03X_H); + link_list_num = eru_dma_init(MT9V03X_DMA_CH, GET_PORT_IN_ADDR(MT9V03X_DATA_PIN), camera_buffer_addr, MT9V03X_PCLK_PIN, RISING, MT9V03X_W*MT9V03X_H); dma_start(MT9V03X_DMA_CH); } else diff --git a/Example/PWM_Demo/Libraries/doc/version.txt b/Example/PWM_Demo/Libraries/doc/version.txt index e09b8d6..3a356d1 100644 --- a/Example/PWM_Demo/Libraries/doc/version.txt +++ b/Example/PWM_Demo/Libraries/doc/version.txt @@ -1,3 +1,6 @@ +V1.2.3 + 总钻风摄像头初始化函数中将PCLK修改为上升沿触发 + V1.2.2 当摄像头图像出现偶发性错位的情况,会重新初始化DMA使得下次采集图像自动恢复正常。 总钻风摄像头像素时钟修改为上升沿触发 diff --git a/Example/PWM_Demo/Libraries/seekfree_libraries/zf_stm_systick.c b/Example/PWM_Demo/Libraries/seekfree_libraries/zf_stm_systick.c index 130d607..21fd880 100644 --- a/Example/PWM_Demo/Libraries/seekfree_libraries/zf_stm_systick.c +++ b/Example/PWM_Demo/Libraries/seekfree_libraries/zf_stm_systick.c @@ -35,7 +35,7 @@ void systick_delay(STMN_enum stmn, uint32 time) uint32 stm_clk; stm_clk = IfxStm_getFrequency(IfxStm_getAddress((IfxStm_Index)stmn)); - IfxStm_waitTicks(IfxStm_getAddress((IfxStm_Index)stmn), (uint32)((uint64)stm_clk*time/1000000000)); + IfxStm_waitTicks(IfxStm_getAddress((IfxStm_Index)stmn), (uint32)(stm_clk/1000000*time/1000)); } diff --git a/Example/PWM_Demo/Libraries/seekfree_peripheral/SEEKFREE_MT9V03X.c b/Example/PWM_Demo/Libraries/seekfree_peripheral/SEEKFREE_MT9V03X.c index f468206..0260bab 100644 --- a/Example/PWM_Demo/Libraries/seekfree_peripheral/SEEKFREE_MT9V03X.c +++ b/Example/PWM_Demo/Libraries/seekfree_peripheral/SEEKFREE_MT9V03X.c @@ -332,7 +332,7 @@ void mt9v03x_vsync(void) { mt9v03x_dma_init_flag = 0; IfxDma_resetChannel(&MODULE_DMA, MT9V03X_DMA_CH); - link_list_num = eru_dma_init(MT9V03X_DMA_CH, GET_PORT_IN_ADDR(MT9V03X_DATA_PIN), camera_buffer_addr, MT9V03X_PCLK_PIN, FALLING, MT9V03X_W*MT9V03X_H); + link_list_num = eru_dma_init(MT9V03X_DMA_CH, GET_PORT_IN_ADDR(MT9V03X_DATA_PIN), camera_buffer_addr, MT9V03X_PCLK_PIN, RISING, MT9V03X_W*MT9V03X_H); dma_start(MT9V03X_DMA_CH); } else diff --git a/Example/Printf_Demo/Libraries/doc/version.txt b/Example/Printf_Demo/Libraries/doc/version.txt index e09b8d6..3a356d1 100644 --- a/Example/Printf_Demo/Libraries/doc/version.txt +++ b/Example/Printf_Demo/Libraries/doc/version.txt @@ -1,3 +1,6 @@ +V1.2.3 + 总钻风摄像头初始化函数中将PCLK修改为上升沿触发 + V1.2.2 当摄像头图像出现偶发性错位的情况,会重新初始化DMA使得下次采集图像自动恢复正常。 总钻风摄像头像素时钟修改为上升沿触发 diff --git a/Example/Printf_Demo/Libraries/seekfree_libraries/zf_stm_systick.c b/Example/Printf_Demo/Libraries/seekfree_libraries/zf_stm_systick.c index 130d607..21fd880 100644 --- a/Example/Printf_Demo/Libraries/seekfree_libraries/zf_stm_systick.c +++ b/Example/Printf_Demo/Libraries/seekfree_libraries/zf_stm_systick.c @@ -35,7 +35,7 @@ void systick_delay(STMN_enum stmn, uint32 time) uint32 stm_clk; stm_clk = IfxStm_getFrequency(IfxStm_getAddress((IfxStm_Index)stmn)); - IfxStm_waitTicks(IfxStm_getAddress((IfxStm_Index)stmn), (uint32)((uint64)stm_clk*time/1000000000)); + IfxStm_waitTicks(IfxStm_getAddress((IfxStm_Index)stmn), (uint32)(stm_clk/1000000*time/1000)); } diff --git a/Example/Printf_Demo/Libraries/seekfree_peripheral/SEEKFREE_MT9V03X.c b/Example/Printf_Demo/Libraries/seekfree_peripheral/SEEKFREE_MT9V03X.c index f468206..0260bab 100644 --- a/Example/Printf_Demo/Libraries/seekfree_peripheral/SEEKFREE_MT9V03X.c +++ b/Example/Printf_Demo/Libraries/seekfree_peripheral/SEEKFREE_MT9V03X.c @@ -332,7 +332,7 @@ void mt9v03x_vsync(void) { mt9v03x_dma_init_flag = 0; IfxDma_resetChannel(&MODULE_DMA, MT9V03X_DMA_CH); - link_list_num = eru_dma_init(MT9V03X_DMA_CH, GET_PORT_IN_ADDR(MT9V03X_DATA_PIN), camera_buffer_addr, MT9V03X_PCLK_PIN, FALLING, MT9V03X_W*MT9V03X_H); + link_list_num = eru_dma_init(MT9V03X_DMA_CH, GET_PORT_IN_ADDR(MT9V03X_DATA_PIN), camera_buffer_addr, MT9V03X_PCLK_PIN, RISING, MT9V03X_W*MT9V03X_H); dma_start(MT9V03X_DMA_CH); } else diff --git a/Example/Specifies_Variable_Or_Code_Location_Demo/Libraries/doc/version.txt b/Example/Specifies_Variable_Or_Code_Location_Demo/Libraries/doc/version.txt index e09b8d6..3a356d1 100644 --- a/Example/Specifies_Variable_Or_Code_Location_Demo/Libraries/doc/version.txt +++ b/Example/Specifies_Variable_Or_Code_Location_Demo/Libraries/doc/version.txt @@ -1,3 +1,6 @@ +V1.2.3 + 总钻风摄像头初始化函数中将PCLK修改为上升沿触发 + V1.2.2 当摄像头图像出现偶发性错位的情况,会重新初始化DMA使得下次采集图像自动恢复正常。 总钻风摄像头像素时钟修改为上升沿触发 diff --git a/Example/Specifies_Variable_Or_Code_Location_Demo/Libraries/seekfree_libraries/zf_stm_systick.c b/Example/Specifies_Variable_Or_Code_Location_Demo/Libraries/seekfree_libraries/zf_stm_systick.c index 130d607..21fd880 100644 --- a/Example/Specifies_Variable_Or_Code_Location_Demo/Libraries/seekfree_libraries/zf_stm_systick.c +++ b/Example/Specifies_Variable_Or_Code_Location_Demo/Libraries/seekfree_libraries/zf_stm_systick.c @@ -35,7 +35,7 @@ void systick_delay(STMN_enum stmn, uint32 time) uint32 stm_clk; stm_clk = IfxStm_getFrequency(IfxStm_getAddress((IfxStm_Index)stmn)); - IfxStm_waitTicks(IfxStm_getAddress((IfxStm_Index)stmn), (uint32)((uint64)stm_clk*time/1000000000)); + IfxStm_waitTicks(IfxStm_getAddress((IfxStm_Index)stmn), (uint32)(stm_clk/1000000*time/1000)); } diff --git a/Example/Specifies_Variable_Or_Code_Location_Demo/Libraries/seekfree_peripheral/SEEKFREE_MT9V03X.c b/Example/Specifies_Variable_Or_Code_Location_Demo/Libraries/seekfree_peripheral/SEEKFREE_MT9V03X.c index f468206..0260bab 100644 --- a/Example/Specifies_Variable_Or_Code_Location_Demo/Libraries/seekfree_peripheral/SEEKFREE_MT9V03X.c +++ b/Example/Specifies_Variable_Or_Code_Location_Demo/Libraries/seekfree_peripheral/SEEKFREE_MT9V03X.c @@ -332,7 +332,7 @@ void mt9v03x_vsync(void) { mt9v03x_dma_init_flag = 0; IfxDma_resetChannel(&MODULE_DMA, MT9V03X_DMA_CH); - link_list_num = eru_dma_init(MT9V03X_DMA_CH, GET_PORT_IN_ADDR(MT9V03X_DATA_PIN), camera_buffer_addr, MT9V03X_PCLK_PIN, FALLING, MT9V03X_W*MT9V03X_H); + link_list_num = eru_dma_init(MT9V03X_DMA_CH, GET_PORT_IN_ADDR(MT9V03X_DATA_PIN), camera_buffer_addr, MT9V03X_PCLK_PIN, RISING, MT9V03X_W*MT9V03X_H); dma_start(MT9V03X_DMA_CH); } else diff --git a/Example/Systick_Demo/Libraries/doc/version.txt b/Example/Systick_Demo/Libraries/doc/version.txt index e09b8d6..3a356d1 100644 --- a/Example/Systick_Demo/Libraries/doc/version.txt +++ b/Example/Systick_Demo/Libraries/doc/version.txt @@ -1,3 +1,6 @@ +V1.2.3 + 总钻风摄像头初始化函数中将PCLK修改为上升沿触发 + V1.2.2 当摄像头图像出现偶发性错位的情况,会重新初始化DMA使得下次采集图像自动恢复正常。 总钻风摄像头像素时钟修改为上升沿触发 diff --git a/Example/Systick_Demo/Libraries/seekfree_libraries/zf_stm_systick.c b/Example/Systick_Demo/Libraries/seekfree_libraries/zf_stm_systick.c index 130d607..21fd880 100644 --- a/Example/Systick_Demo/Libraries/seekfree_libraries/zf_stm_systick.c +++ b/Example/Systick_Demo/Libraries/seekfree_libraries/zf_stm_systick.c @@ -35,7 +35,7 @@ void systick_delay(STMN_enum stmn, uint32 time) uint32 stm_clk; stm_clk = IfxStm_getFrequency(IfxStm_getAddress((IfxStm_Index)stmn)); - IfxStm_waitTicks(IfxStm_getAddress((IfxStm_Index)stmn), (uint32)((uint64)stm_clk*time/1000000000)); + IfxStm_waitTicks(IfxStm_getAddress((IfxStm_Index)stmn), (uint32)(stm_clk/1000000*time/1000)); } diff --git a/Example/Systick_Demo/Libraries/seekfree_peripheral/SEEKFREE_MT9V03X.c b/Example/Systick_Demo/Libraries/seekfree_peripheral/SEEKFREE_MT9V03X.c index f468206..0260bab 100644 --- a/Example/Systick_Demo/Libraries/seekfree_peripheral/SEEKFREE_MT9V03X.c +++ b/Example/Systick_Demo/Libraries/seekfree_peripheral/SEEKFREE_MT9V03X.c @@ -332,7 +332,7 @@ void mt9v03x_vsync(void) { mt9v03x_dma_init_flag = 0; IfxDma_resetChannel(&MODULE_DMA, MT9V03X_DMA_CH); - link_list_num = eru_dma_init(MT9V03X_DMA_CH, GET_PORT_IN_ADDR(MT9V03X_DATA_PIN), camera_buffer_addr, MT9V03X_PCLK_PIN, FALLING, MT9V03X_W*MT9V03X_H); + link_list_num = eru_dma_init(MT9V03X_DMA_CH, GET_PORT_IN_ADDR(MT9V03X_DATA_PIN), camera_buffer_addr, MT9V03X_PCLK_PIN, RISING, MT9V03X_W*MT9V03X_H); dma_start(MT9V03X_DMA_CH); } else diff --git a/Example/UART_Demo/Libraries/doc/version.txt b/Example/UART_Demo/Libraries/doc/version.txt index e09b8d6..3a356d1 100644 --- a/Example/UART_Demo/Libraries/doc/version.txt +++ b/Example/UART_Demo/Libraries/doc/version.txt @@ -1,3 +1,6 @@ +V1.2.3 + 总钻风摄像头初始化函数中将PCLK修改为上升沿触发 + V1.2.2 当摄像头图像出现偶发性错位的情况,会重新初始化DMA使得下次采集图像自动恢复正常。 总钻风摄像头像素时钟修改为上升沿触发 diff --git a/Example/UART_Demo/Libraries/seekfree_libraries/zf_stm_systick.c b/Example/UART_Demo/Libraries/seekfree_libraries/zf_stm_systick.c index 130d607..21fd880 100644 --- a/Example/UART_Demo/Libraries/seekfree_libraries/zf_stm_systick.c +++ b/Example/UART_Demo/Libraries/seekfree_libraries/zf_stm_systick.c @@ -35,7 +35,7 @@ void systick_delay(STMN_enum stmn, uint32 time) uint32 stm_clk; stm_clk = IfxStm_getFrequency(IfxStm_getAddress((IfxStm_Index)stmn)); - IfxStm_waitTicks(IfxStm_getAddress((IfxStm_Index)stmn), (uint32)((uint64)stm_clk*time/1000000000)); + IfxStm_waitTicks(IfxStm_getAddress((IfxStm_Index)stmn), (uint32)(stm_clk/1000000*time/1000)); } diff --git a/Example/UART_Demo/Libraries/seekfree_peripheral/SEEKFREE_MT9V03X.c b/Example/UART_Demo/Libraries/seekfree_peripheral/SEEKFREE_MT9V03X.c index f468206..0260bab 100644 --- a/Example/UART_Demo/Libraries/seekfree_peripheral/SEEKFREE_MT9V03X.c +++ b/Example/UART_Demo/Libraries/seekfree_peripheral/SEEKFREE_MT9V03X.c @@ -332,7 +332,7 @@ void mt9v03x_vsync(void) { mt9v03x_dma_init_flag = 0; IfxDma_resetChannel(&MODULE_DMA, MT9V03X_DMA_CH); - link_list_num = eru_dma_init(MT9V03X_DMA_CH, GET_PORT_IN_ADDR(MT9V03X_DATA_PIN), camera_buffer_addr, MT9V03X_PCLK_PIN, FALLING, MT9V03X_W*MT9V03X_H); + link_list_num = eru_dma_init(MT9V03X_DMA_CH, GET_PORT_IN_ADDR(MT9V03X_DATA_PIN), camera_buffer_addr, MT9V03X_PCLK_PIN, RISING, MT9V03X_W*MT9V03X_H); dma_start(MT9V03X_DMA_CH); } else diff --git a/Seekfree_TC264_Opensource_Library/.cproject b/Seekfree_TC264_Opensource_Library/.cproject index 69888ae..d145b37 100644 --- a/Seekfree_TC264_Opensource_Library/.cproject +++ b/Seekfree_TC264_Opensource_Library/.cproject @@ -43,291 +43,291 @@ diff --git a/Seekfree_TC264_Opensource_Library/Libraries/doc/version.txt b/Seekfree_TC264_Opensource_Library/Libraries/doc/version.txt index e09b8d6..be1cb62 100644 --- a/Seekfree_TC264_Opensource_Library/Libraries/doc/version.txt +++ b/Seekfree_TC264_Opensource_Library/Libraries/doc/version.txt @@ -1,3 +1,7 @@ +V1.2.3 + 总钻风摄像头初始化函数中将PCLK修改为上升沿触发 + 修改systick延时函数,提高us级延时精度 + V1.2.2 当摄像头图像出现偶发性错位的情况,会重新初始化DMA使得下次采集图像自动恢复正常。 总钻风摄像头像素时钟修改为上升沿触发 diff --git a/Seekfree_TC264_Opensource_Library/Libraries/seekfree_libraries/zf_stm_systick.c b/Seekfree_TC264_Opensource_Library/Libraries/seekfree_libraries/zf_stm_systick.c index 130d607..21fd880 100644 --- a/Seekfree_TC264_Opensource_Library/Libraries/seekfree_libraries/zf_stm_systick.c +++ b/Seekfree_TC264_Opensource_Library/Libraries/seekfree_libraries/zf_stm_systick.c @@ -35,7 +35,7 @@ void systick_delay(STMN_enum stmn, uint32 time) uint32 stm_clk; stm_clk = IfxStm_getFrequency(IfxStm_getAddress((IfxStm_Index)stmn)); - IfxStm_waitTicks(IfxStm_getAddress((IfxStm_Index)stmn), (uint32)((uint64)stm_clk*time/1000000000)); + IfxStm_waitTicks(IfxStm_getAddress((IfxStm_Index)stmn), (uint32)(stm_clk/1000000*time/1000)); } diff --git a/Seekfree_TC264_Opensource_Library/Libraries/seekfree_peripheral/SEEKFREE_MT9V03X.c b/Seekfree_TC264_Opensource_Library/Libraries/seekfree_peripheral/SEEKFREE_MT9V03X.c index f468206..0260bab 100644 --- a/Seekfree_TC264_Opensource_Library/Libraries/seekfree_peripheral/SEEKFREE_MT9V03X.c +++ b/Seekfree_TC264_Opensource_Library/Libraries/seekfree_peripheral/SEEKFREE_MT9V03X.c @@ -332,7 +332,7 @@ void mt9v03x_vsync(void) { mt9v03x_dma_init_flag = 0; IfxDma_resetChannel(&MODULE_DMA, MT9V03X_DMA_CH); - link_list_num = eru_dma_init(MT9V03X_DMA_CH, GET_PORT_IN_ADDR(MT9V03X_DATA_PIN), camera_buffer_addr, MT9V03X_PCLK_PIN, FALLING, MT9V03X_W*MT9V03X_H); + link_list_num = eru_dma_init(MT9V03X_DMA_CH, GET_PORT_IN_ADDR(MT9V03X_DATA_PIN), camera_buffer_addr, MT9V03X_PCLK_PIN, RISING, MT9V03X_W*MT9V03X_H); dma_start(MT9V03X_DMA_CH); } else diff --git a/銆愭枃妗c慉DS浣跨敤鏁欑▼ 鑺墖鎵嬪唽绛/TC264寮曡剼涓濆嵃鍥.png b/銆愭枃妗c慉DS浣跨敤鏁欑▼ 鑺墖鎵嬪唽绛/TC264寮曡剼涓濆嵃鍥.png new file mode 100644 index 0000000..92348d6 Binary files /dev/null and b/銆愭枃妗c慉DS浣跨敤鏁欑▼ 鑺墖鎵嬪唽绛/TC264寮曡剼涓濆嵃鍥.png differ