From c0acfba85fa9530daecf1c41052e2d05491aaeb8 Mon Sep 17 00:00:00 2001 From: Antonin Kaplan Date: Mon, 23 Feb 2026 23:39:10 +0100 Subject: [PATCH] added init procedure --- lens_init.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 lens_init.md diff --git a/lens_init.md b/lens_init.md new file mode 100644 index 0000000..cd554fd --- /dev/null +++ b/lens_init.md @@ -0,0 +1,28 @@ +# Lens initialization sequence +| Step | Pin | State | Duration | +| ---- | --- | ----- | -------- | +| 0 | VD_LENS | 1 | 100ms | +| | BODY_CS | 0 | | +| | TX | 0 | | +| 1 | VD_LENS | 0 | 6ms | +| | TX | 1 | | +| 2 | TX | 0 | 106ms | +| 3 | TX | 1 | 64ms | +| 4 | TX | 0 | 80ms | +| 5 | VD_LENS | 1 | 20ms | +| 6 | VD_LENS | 0 | 30us | +| 7 | VD_LENS | 1 | 4ms | +| | BODY_CS | 1 | | +| 8 | UART_INIT @ 750kBaud | | 15 | +| | BODY_CS | 0 | | +| 9 | VD_LENS | 0 | 30us | +| 10 | VD_LENS | 1 | 20ms | +| 11 | VD_LENS | 0 | 30us | +| 12 | VD_LENS | 1 | 20ms | +| | UART_TX | f00b0002000b6000780055 | | +| | UART_TX | f00d0002000900000000180055 | | +| | UART_TX | f00a0002000d011a0055 | | +| | UART_TX | f00a000200101f3b0055 | | +| 13-35 | VD_LENS | 0 | 30us | +| | VD_LENS | 1 | 20ms | +| 36 | UART_TX | f0190002000affff0300000000003f00000000000000650255 | 20ms |