Skip to content

Instantly share code, notes, and snippets.

@a2f0
Created September 20, 2018 05:21
Show Gist options
  • Save a2f0/075a49971ed3317e43b5353380282c57 to your computer and use it in GitHub Desktop.
Save a2f0/075a49971ed3317e43b5353380282c57 to your computer and use it in GitHub Desktop.
pi@raspberrypi:~ $ /home/pi/libssp/1.30/sample/stillsample/stillsample '/home/pi/libssp/1.30/sample/profiles/IMX378_3840x2160.xml' ~/whatever.raw
Setting summary: 3840 x 2160 @ 15 fps 10 bits
Running on Pi 3 Model B
Warning; camera_settings.CameraNo does not support >1 unless Compute module 3. Corrected to 0.
PowerOn Reset...Done.
Write i2c: reg:e000 val:00
Write i2c: reg:4ae9 val:18
Write i2c: reg:4aea val:08
Write i2c: reg:f61c val:04
Write i2c: reg:f61e val:04
Write i2c: reg:4ae9 val:21
Write i2c: reg:4aea val:80
Write i2c: reg:38a8 val:1f
Write i2c: reg:38a9 val:ff
Write i2c: reg:38aa val:1f
Write i2c: reg:38ab val:ff
Write i2c: reg:55d4 val:00
Write i2c: reg:55d5 val:00
Write i2c: reg:55d6 val:07
Write i2c: reg:55d7 val:ff
Write i2c: reg:55e8 val:07
Write i2c: reg:55e9 val:ff
Write i2c: reg:55ea val:00
Write i2c: reg:55eb val:00
Write i2c: reg:574c val:07
Write i2c: reg:574d val:ff
Write i2c: reg:574e val:00
Write i2c: reg:574f val:00
Write i2c: reg:5754 val:00
Write i2c: reg:5755 val:00
Write i2c: reg:5756 val:07
Write i2c: reg:5757 val:ff
Write i2c: reg:5973 val:04
Write i2c: reg:5974 val:01
Write i2c: reg:5d13 val:c3
Write i2c: reg:5d14 val:58
Write i2c: reg:5d15 val:a3
Write i2c: reg:5d16 val:1d
Write i2c: reg:5d17 val:65
Write i2c: reg:5d18 val:8c
Write i2c: reg:5d1a val:06
Write i2c: reg:5d1b val:a9
Write i2c: reg:5d1c val:45
Write i2c: reg:5d1d val:3a
Write i2c: reg:5d1e val:ab
Write i2c: reg:5d1f val:15
Write i2c: reg:5d21 val:0e
Write i2c: reg:5d22 val:52
Write i2c: reg:5d23 val:aa
Write i2c: reg:5d24 val:7d
Write i2c: reg:5d25 val:57
Write i2c: reg:5d26 val:a8
Write i2c: reg:5d37 val:5a
Write i2c: reg:5d38 val:5a
Write i2c: reg:5d77 val:7f
Write i2c: reg:7b75 val:0e
Write i2c: reg:7b76 val:0b
Write i2c: reg:7b77 val:08
Write i2c: reg:7b78 val:0a
Write i2c: reg:7b79 val:47
Write i2c: reg:7b7c val:00
Write i2c: reg:7b7d val:00
Write i2c: reg:8d1f val:00
Write i2c: reg:8d27 val:00
Write i2c: reg:9004 val:03
Write i2c: reg:9200 val:50
Write i2c: reg:9201 val:6c
Write i2c: reg:9202 val:71
Write i2c: reg:9203 val:00
Write i2c: reg:9204 val:71
Write i2c: reg:9205 val:01
Write i2c: reg:9371 val:6a
Write i2c: reg:9373 val:6a
Write i2c: reg:9375 val:64
Write i2c: reg:991a val:00
Write i2c: reg:996b val:8c
Write i2c: reg:996c val:64
Write i2c: reg:996d val:50
Write i2c: reg:9a4c val:0d
Write i2c: reg:9a4d val:0d
Write i2c: reg:a001 val:0a
Write i2c: reg:a003 val:0a
Write i2c: reg:a005 val:0a
Write i2c: reg:a006 val:01
Write i2c: reg:a007 val:c0
Write i2c: reg:a009 val:c0
Write i2c: reg:0112 val:0a
Write i2c: reg:0113 val:0a
Write i2c: reg:0114 val:01
Write i2c: reg:0342 val:40
Write i2c: reg:0343 val:d8
Write i2c: reg:0340 val:09
Write i2c: reg:0341 val:9c
Write i2c: reg:0344 val:00
Write i2c: reg:0345 val:00
Write i2c: reg:0346 val:01
Write i2c: reg:0347 val:78
Write i2c: reg:0348 val:0f
Write i2c: reg:0349 val:d7
Write i2c: reg:034a val:0a
Write i2c: reg:034b val:67
Write i2c: reg:0220 val:00
Write i2c: reg:0221 val:11
Write i2c: reg:0381 val:01
Write i2c: reg:0383 val:01
Write i2c: reg:0385 val:01
Write i2c: reg:0387 val:01
Write i2c: reg:0900 val:00
Write i2c: reg:0901 val:11
Write i2c: reg:0902 val:02
Write i2c: reg:3140 val:02
Write i2c: reg:3c00 val:00
Write i2c: reg:3c01 val:03
Write i2c: reg:3c02 val:dc
Write i2c: reg:3f0d val:00
Write i2c: reg:5748 val:07
Write i2c: reg:5749 val:ff
Write i2c: reg:574a val:00
Write i2c: reg:574b val:00
Write i2c: reg:7b53 val:01
Write i2c: reg:9369 val:5a
Write i2c: reg:936b val:55
Write i2c: reg:936d val:28
Write i2c: reg:9304 val:00
Write i2c: reg:9305 val:00
Write i2c: reg:9e9a val:2f
Write i2c: reg:9e9b val:2f
Write i2c: reg:9e9c val:2f
Write i2c: reg:9e9d val:00
Write i2c: reg:9e9e val:00
Write i2c: reg:9e9f val:00
Write i2c: reg:a2a9 val:60
Write i2c: reg:a2b7 val:00
Write i2c: reg:0401 val:00
Write i2c: reg:0404 val:00
Write i2c: reg:0405 val:10
Write i2c: reg:0408 val:00
Write i2c: reg:0409 val:6c
Write i2c: reg:040a val:00
Write i2c: reg:040b val:40
Write i2c: reg:040c val:0f
Write i2c: reg:040d val:00
Write i2c: reg:040e val:08
Write i2c: reg:040f val:70
Write i2c: reg:034c val:0f
Write i2c: reg:034d val:00
Write i2c: reg:034e val:08
Write i2c: reg:034f val:70
Write i2c: reg:0301 val:05
Write i2c: reg:0303 val:02
Write i2c: reg:0305 val:03
Write i2c: reg:0306 val:01
Write i2c: reg:0307 val:5e
Write i2c: reg:0309 val:0a
Write i2c: reg:030b val:02
Write i2c: reg:030d val:02
Write i2c: reg:030e val:00
Write i2c: reg:030f val:de
Write i2c: reg:0310 val:01
Write i2c: reg:0820 val:07
Write i2c: reg:0821 val:ce
Write i2c: reg:0822 val:00
Write i2c: reg:0823 val:00
Write i2c: reg:3e20 val:01
Write i2c: reg:3e37 val:01
Write i2c: reg:3f50 val:00
Write i2c: reg:3f56 val:01
Write i2c: reg:3f57 val:64
Write i2c: reg:0202 val:10
Write i2c: reg:0203 val:00
Write i2c: reg:0204 val:00
Write i2c: reg:0205 val:ff
Write i2c: reg:0136 val:0c
Write i2c: reg:0137 val:00
Write i2c: reg:f61c val:04
Write i2c: reg:f61e val:04
Write i2c: reg:4ae9 val:18
Write i2c: reg:4aea val:08
Write i2c: reg:4ae9 val:21
Write i2c: reg:4aea val:80
Bayer bits: 10 bits.
data_lanes = 2
Width: 3840 (3840), Height: 2160 (2160)
Initialize done.
start streaming
Write i2c: reg:0100 val:01
^CTerminated.
FrameRate = 0.000000
FrameCount = 0
stop streaming
Write i2c: reg:0100 val:00
Sync Wait.
Sync Done.
Write i2c: reg:0100 val:00
Finalize done.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment