iabdalkader
311d401cc5
sensors/OV7670: Fix VGA window.
2023-10-01 14:19:30 +02:00
Kwabena W. Agyeman
e46776795b
drivers: Upgrade SPI driver to support py drivers on all boards.
2023-09-16 13:21:33 -07:00
luzpaz
971f14daab
misc: Fix typos in src/omw subdirectory
...
Found via `codespell -q 3 -S "*.pgm,*.ppm,./src/hal,./src/drivers" -L als,dout,erro,extint,hsi,inout,ois,paeth,re-use,ser,serie`
2023-09-16 17:01:42 +00:00
Kwabena W. Agyeman
2ee188c41b
sensors/mt9v0xx: Fix exposure calculation.
2023-09-07 18:19:05 -07:00
iabdalkader
26bd27bdbb
misc: Rename common header.
2023-07-04 12:53:23 +02:00
iabdalkader
35ed56310d
misc: Format code.
2023-07-02 21:49:23 +02:00
iabdalkader
f68f6d70e4
sensors/lepton: Use new VOSPI/SPI HAL.
...
* This change makes lepton sensor driver completely generic,
by moving all of the VOSPI code to vospi.c, which in turn
uses the new OMV SPI HAL.
2023-06-17 19:21:34 +02:00
iabdalkader
67cd9727db
ports/stm32: Add DMA utils.
2023-06-17 13:25:29 +02:00
iabdalkader
e7b5a3f7e0
ports/all: Refactor cambus code.
...
* Rename cambus to omv_i2c for consistency with other HALs.
* Rename sensor I2C handle from bus to i2c_bus to allow adding
another handle (ex spi_bus).
2023-06-10 22:00:56 +02:00
iabdalkader
a1724d90dd
ports/stm32: Refactor all GPIO pin definitions.
2023-06-10 17:19:12 +02:00
iabdalkader
de7f161acd
sensors/ov7670: Fix CLKRC bypass/pre-scaler.
2023-05-25 15:39:11 +02:00
iabdalkader
df49751244
sensors/MT9M114: Optimize patch loading.
...
* Optimize and simplify patch loading by converting firmware patches
to byte arrays and stashing patch address at the start of the array.
This allows loading patches with just one call to cambus_write_bytes,
vs the old 1K short REVs and 1K calls to cambus_write_bytes. Since
patch loading is done on every reset at 100KHz, this saves a lot
of overhead on script run.
2023-03-11 20:03:22 +01:00
Kwabena W. Agyeman
c64e564943
boards/NICLAV: Add readout control to driver and fix image orientation.
2023-02-12 13:49:36 -08:00
iabdalkader
a996ead28f
sensors/MT9V0XX: Allow overriding external clock frequency.
2023-02-06 17:39:36 +02:00
iabdalkader
50a3d3efd5
sensors/OV767x: Update registers.
2022-11-27 18:34:58 +01:00
iabdalkader
26c6099443
misc: Fix debug_printf.
...
* Fixes #1707 .
2022-09-26 18:23:17 +02:00
iabdalkader
dbb6f9eafe
sensors/gc2145: Add functions to disable AWB/AEC.
...
* Note these functions currently have no support for
setting exposure_us or gain.
2022-09-20 12:08:20 +02:00
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