Commit Graph

2541 Commits

Author SHA1 Message Date
iabdalkader
5f152403fb Update LED module to use systick task 2014-01-24 13:36:55 +02:00
iabdalkader
b3ebe766f4 Add Systick Task Scheduling
* Add periodic task scheduling to systick module.
2014-01-23 12:28:11 +02:00
iabdalkader
41c5fb117f Move linker script to src/ 2014-01-21 16:34:30 +02:00
iabdalkader
5ec44f4fb5 Add libfatfs to Makefile 2014-01-15 16:03:21 +02:00
iabdalkader
29e8b1161a Update gitignore
* Update gitignore to track libraries (*.a)
2014-01-15 16:02:32 +02:00
iabdalkader
8bb57a94a8 Use SYSCLK frequency to derive sensor extclk
* Use current SYSCLK frequency to derive sensor's extclk.
2014-01-15 15:59:53 +02:00
iabdalkader
b581e244cc Use I2C instead of SW SCCB
* Change SCCB to use I2C instead of soft SCCB
2014-01-15 14:54:50 +02:00
iabdalkader
3b5c554dd9 Set core frequency in main
* Set core frequency using rcc_ctrl
2014-01-15 14:29:23 +02:00
iabdalkader
1062c5b8cb Add FatFS library
* Add Chan FatFS library
2014-01-15 13:56:32 +02:00
iabdalkader
bf253c22c3 Add RCC Control module
* Add RCC (Reset and Clock Control) module
2014-01-15 13:29:15 +02:00
iabdalkader
d778e82300 Update for the new hardware revision
* Fix PCLK1 divider to default value.
* Disable USB OTG ID and SOF pins used for sensors PWDN and RESET.
* Add PWDN and RESET pin configuration.
2014-01-07 13:32:37 +02:00
iabdalkader
d45395eb38 Add 3rd hardware revision
* Replace single resistors with resistor networks.
* Add pull-ups to the uSD SPI signals and unused pins.
* Add a 2mm pitch debugging header.
* Breakout I2C3, SPI3 and USART3 using the main header.
* Fix silk screen component names.
* Connect the sensor's PWDWN and RESET to GPIO.
* Add a MOSFET load switch to enable/disable power to the uSD.
* Add a bulk cap to STM micro.
* Add a switch to enter the DFU mode.
2014-01-02 11:17:01 +02:00
iabdalkader
3bd030d0a2 Disable OV965x Internal Regulator 2013-12-24 13:09:50 +02:00
iabdalkader
93a551e0c5 Change userspace code to use varargs
Change userspace tool to use var args when sending a command to the
camera.
2013-12-13 19:03:55 +02:00
iabdalkader
c6e4c29223 Change default gain ceiling to 4x 2013-12-13 18:46:21 +02:00
iabdalkader
7b11205d53 Add gain ceiling function
Add gain ceiling function to the HAL
Implement set gain ceiling function in ov9650
Change the main loop to accept gain ceiling command
2013-12-13 18:33:02 +02:00
iabdalkader
d34209ced0 Remove unused variable
Remove unused GROUP_EPS variable, a simpler merging algorithm is used.
2013-12-13 03:09:41 +02:00
iabdalkader
409d682f6e Fix userspace code to work with the new HAL
Fix libusb userspace code to work with the new HAL,
use new header, commands and sensor struct.
2013-12-13 03:01:29 +02:00
iabdalkader
9ef9899041 Add test points to breakout SPI3 2013-12-13 02:56:42 +02:00
iabdalkader
2965e2e82b Update binary 2013-12-13 02:53:16 +02:00
iabdalkader
1967e7aef5 Remove calls to delay function 2013-12-13 02:49:54 +02:00
iabdalkader
b21069a435 Add a HAL to support more OV sensors.
* Move DMA and DCMI to new HAL
* Change OV9650 driver to sensor specific tasks only.
2013-12-13 01:31:32 +02:00
iabdalkader
2fb3980249 Merge branch 'master' of github.com:iabdalkader/openmv 2013-12-10 19:46:37 +02:00
iabdalkader
3d8ef04a27 added gitignore 2013-12-10 19:41:18 +02:00
Ibrahim Abd Elkader
2e8b2b8771 Update README.md 2013-12-06 06:43:27 +02:00
Ibrahim Abd Elkader
a56901a1ed Update README.md 2013-12-06 06:21:54 +02:00
iabdalkader
0d8c75e0b4 Added the new hardware revision
Added missing DSP library
Fixed SysTick timer IRQ priority
userspace fixes
2013-12-06 03:40:57 +02:00
iabdalkader
5a259bbcf1 Fixed linker script to load haar cascade into CCM
Fixed issue with SCCB delay and optimization
Recompiled all libraries with optimization enabled (-O2)
Some more tweaks to the Sensor's registers
Added function to load CCM data into .ccm section in runtime
2013-12-02 22:17:45 +02:00
iabdalkader
b3de021627 removed old files 2013-11-30 04:34:03 +02:00
iabdalkader
b0c4f8e844 Added USB OTG FS support
Added userspace libusb driver
Fixed some registers now QCIF/QQCIF resoultions are working
Updated CMSIS and STM32F4xx standard peripheral libraries
2013-11-30 04:23:22 +02:00
iabdalkader
e7871c1d04 initial viola-jones face detection code 2013-11-25 14:24:06 +02:00
iabdalkader
773e24e566 added stm32f4xx_std compiled library and header 2013-11-25 10:30:55 +02:00
iabdalkader
9a4d181583 added linker script 2013-11-23 05:23:17 +02:00
iabdalkader
38d83381e6 Moved all registers defintions to a separate file.
Added new enums for all resoultions and framerates.
Sensor configuration can be set via serial commands.
2013-11-21 00:19:18 +02:00
iabdalkader
8463773e63 some register fixes. 2013-11-19 23:11:00 +02:00
iabdalkader
125fbdf77a Seperated the camera configuration into pixel, frame size and frame rate functions 2013-11-19 19:56:08 +02:00
iabdalkader
75b069345a cleaned up the rgb_led code 2013-11-19 04:37:36 +02:00
iabdalkader
c6f7ed40d1 systick timer module 2013-11-19 04:34:41 +02:00
iabdalkader
8968c08392 Removed almost all hard-coded values.
Memory for the frame buffer is now allocated dynamically based on image format.
DMA stream will be configured based on image format.
New ov9650 struct to keep track of current config and frame_buffer.
New bin directory to hold a known working binary.
New imlib function for erosion.
New motion detection code.
2013-11-18 23:26:40 +02:00
iabdalkader
24a6572364 fixed some registers 2013-11-15 19:07:29 +02:00
iabdalkader
b439bdae91 Initial commit 2013-11-13 12:24:56 +02:00