Commit Graph

69 Commits

Author SHA1 Message Date
iabdalkader
3d2216c715 sensors/LEPTON: Use dma_alloc for packet buffer.
* Sharing the VOSPI packet DMA buffer with line buffer does not
work for OpenMV 4 PRO, because the packet buffer needs to be in D3.
* This will automatically allocate a DMA buffer for VOSPI packet
in the same domain as the DMA peripheral.
2022-09-08 19:57:25 +02:00
Ibrahim Abdelkader
383ee4028f
Merge pull request #1674 from openmv/gc2145_sleep
sensors/GC2145: Implement sleep/low-power function.
2022-06-30 08:56:17 +02:00
iabdalkader
b5046e8b69 sensors/HM0360: Update PLL config to match the internal oscillator. 2022-06-28 12:21:40 +02:00
iabdalkader
e4d113513b sensors/HM0360: Ignore OSC_ENABLE ioctl. 2022-06-27 16:17:29 +02:00
iabdalkader
c51a0e00f2 sensors/GC2145: Implement sleep/low-power function.
* Fixes #1673.
2022-06-25 22:47:30 +02:00
iabdalkader
cc9ed3a477 sensors: Add support for HIMAX HM0360. 2022-06-02 21:30:40 +02:00
Kwabena W. Agyeman
87c3ac5d95 sensors/mt9v0xx: Add support for color MT9V0xx sensors. 2022-05-29 18:26:58 -07:00
Kwabena W. Agyeman
859d8139db Lepton: Update to support version number in IDE. 2022-03-10 08:27:30 -08:00
iabdalkader
56a06250ac sensors: Fix GC2145 window subsampling ratio.
* Fixes #1570
2022-03-06 05:07:52 +02:00
Lincoln Lorenz
bc07e01312 Lepton: Fix default temperature range. 2022-02-18 12:43:55 -05:00
Lincoln Lorenz
6b2cd10088 Lepton: Add high temperature measurement mode support. 2022-02-18 01:49:09 +02:00
Kwabena W. Agyeman
b57db1d8e8 Add support for the Portenta for the OV5640 2022-01-16 15:37:08 -08:00
Kwabena W. Agyeman
84f53d01bb Update MT driver to support the 22/24/32/34 2022-01-02 13:54:17 -08:00
iabdalkader
a86369477b Portenta: Set default sensor clock to 12MHz.
* Support detecting MT9V034.
* Add Himax specific clock.
2021-10-28 20:38:03 +02:00
Kwabena W. Agyeman
7f84ce5010 Add frogeye sensor driver 2021-10-16 12:10:00 -07:00
Kwabena W. Agyeman
bf447e5599 Add yuv image processing support 2021-09-19 09:42:28 -07:00
Ibrahim Abd Elkader
d5ad043c30
Advanced pixel formats. (#1448)
* Advanced pixel formats.

* Use a new pixel format that encodes flags, id and bpp in the pixel format itself.

* Fixes for review comments.
2021-09-09 13:34:31 +02:00
iabdalkader
c28958e04e Replace sensor flags with bit fields.
* Much easier to manipulate and saves some memory.
2021-09-04 22:04:31 +02:00
iabdalkader
0ccd97a29f GC2145: Fix pll. 2021-08-08 20:30:12 +02:00
iabdalkader
e1876886c4 GC2145 driver updates. 2021-08-08 19:31:48 +02:00
iabdalkader
b7afb29ed9 Fix HM01B0 reset function. 2021-07-31 21:38:29 +02:00
iabdalkader
3069426ea9 Use mp_hal_delay_ms instead of systick_sleep. 2021-06-29 17:04:31 +02:00
iabdalkader
0da5002b79 Rename sensor functions for consistency across ports. 2021-06-29 14:36:19 +02:00
Kwabena W. Agyeman
f06fce870d Finish MT9M114 driver 2021-06-19 12:08:49 -07:00
Lake Fu
15264b7dac
Support PixArt image sensor PAJ6100 (#1365)
* Support PixArt image sensor PAJ6100
2021-06-16 22:45:14 +02:00
Ibrahim Abd Elkader
05a307e0b2
Merge pull request #1363 from kwagyeman/kwabena/mt9m114_driver_update
Update MT9M114 driver to work
2021-06-14 14:22:16 +02:00
Kwabena W. Agyeman
b3d2d5484c Update MT9M114 driver to work 2021-06-13 19:32:34 -07:00
Lake Fu
5f4250e74e
Reorganize the ISC SPI related handles/macros. (#1360)
* Reorganize the ISC SPI related handles/macros.

The SPI bus on image sensor connector is not design for Lepton sensor only.
Thereforce, change the related functions and macros name from LEPTON_SPI_*
to ISC_SPI_* and move interrupt callback to sensor.c.
2021-06-12 15:56:08 +02:00
Ibrahim Abd Elkader
a7f2a6fcab
Merge pull request #1356 from kwagyeman/kwabena/make_frame_rate_control_work
Add working frame rate control for all sensors to STM32
2021-06-09 19:41:00 +02:00
Kwabena W. Agyeman
9124d765a9 set_frame_rate now works for any FPS 2021-06-08 21:16:53 -07:00
Kwabena W. Agyeman
5669011efc Fix RGB565 byte reversal flag name 2021-06-07 11:57:14 -07:00
iabdalkader
b4eef0c5b6 Make OV7670 CLKRC configurable. 2021-05-26 21:24:16 +02:00
iabdalkader
30d124d786 GC2145 updates. 2021-05-21 23:21:19 +02:00
iabdalkader
29e2c0918b GC2145 driver fixes. 2021-05-17 16:01:46 +02:00
iabdalkader
e52f0eceba Update OV767x driver. 2021-05-16 23:46:48 +02:00
iabdalkader
5810304023 Add basic GC2145 driver 2021-05-14 01:30:47 +02:00
Jeff Epler
36fb0226db
Fix build errors encountered with GNU Arm Embedded Toolchain 10-2020-q4-major (#1285)
* stm32: Fix gcc10 array-bounds diagnostics.
* nm_common.h: Fix "multiple definition of `at_sb_printf'".
* py_clock.h: Fix "multiple definition of `py_clock_type'".
* lepton.c: Fix gcc10 array-bounds diagnostics.
* py_fir_lepton.c: Fix gcc10 array-bounds diagnostics.
* winc1500: Fix possible string truncation of 32-byte SSIDs
* travis.yml: Use 10-2020q4, presently the newest arm toolchain
2021-05-01 19:39:59 +02:00
Kwabena W. Agyeman
9dd90ae55f Add support for double buffer, triple buffering, and video fifo 2021-04-15 18:13:40 -07:00
iabdalkader
5c6937bd14 Remove update_jpeg_buffer arg. 2021-04-05 02:59:30 +02:00
iabdalkader
ffdbca8cc4 Change update_jpeg_buffer arg to bool.
* Will be used to swap buffers later.
2021-04-05 02:10:20 +02:00
iabdalkader
d28b14e175 Make JPEG buffer update use image source arg. 2021-04-03 21:06:19 +02:00
iabdalkader
a42f3a6474 Remove streaming mode.
* Will be replaced by double buffering soon.
2021-04-02 21:46:58 +02:00
iabdalkader
5b9cb0710a Fix HM01B0 vflip/hmirror settings. 2021-03-30 19:15:52 +02:00
iabdalkader
9e9009bad2 Add initial MT9M114 driver. 2021-03-30 03:09:33 +02:00
iabdalkader
c729ed9f33 Add 320x320 resolution for HM01B0 2021-03-25 23:07:41 +02:00
Kwabena W. Agyeman
4420536c45 Fix clock speed and gain/exposure math 2021-03-14 14:57:09 -07:00
Kwabena W. Agyeman
dc7b378a9f Fix issues with agc/aec logic 2021-03-14 14:57:09 -07:00
Kwabena W. Agyeman
51ac032cad Add sensor readout control to the mt9v034 2021-03-14 14:57:09 -07:00
iabdalkader
265018c7e7 Update HM01B0 driver.
* Fix set_auto_exposure.
* Implement get_exposure_us.
* Implement set_gainceiling.
* Implement set_colorbar.
* Implement set_auto_gain.
* Implement get_gain_db.
* Remove unimplemented functions.
2021-03-06 19:51:43 +02:00
iabdalkader
9d2b4cf91e HM01B0: Tune AE target and max gain. 2021-03-04 23:42:13 +02:00