#!/bin/sh
echo "--------------------------------------------------------------------------------"
i2cset -f -y 2 0x39 0xc7 0x00 b
i2cset -f -y 2 0x39 0xbc 0x01 b
i2cset -f -y 2 0x39 0xbd 0x82 b
i2cset -f -y 2 0x39 0xbe 0x25 b
i2cset -f -y 2 0x39 0x1e 0x00 b
i2cset -f -y 2 0x39 0x00 0xa0 b
i2cset -f -y 2 0x39 0x01 0x0f b
i2cset -f -y 2 0x39 0x02 0x70 b
i2cset -f -y 2 0x39 0x03 0x17 b
i2cset -f -y 2 0x39 0x04 0x20 b
i2cset -f -y 2 0x39 0x05 0x04 b
i2cset -f -y 2 0x39 0x06 0x74 b
i2cset -f -y 2 0x39 0x07 0x02 b
i2cset -f -y 2 0x39 0x08 0x70 b
i2cset -f -y 2 0x39 0x09 0x00 b
i2cset -f -y 2 0x39 0x0a 0x00 b
i2cset -f -y 2 0x39 0x0b 0x00 b
# The DE Generator registers are accessible only when TPI 0x60[7] = 0
i2cset -f -y 2 0x39 0x60 0x00 b
# DE_DLY : H d8
i2cset -f -y 2 0x39 0x62 0x28 b
i2cset -f -y 2 0x39 0x63 0x40 b
# DE_TOP : V 18
i2cset -f -y 2 0x39 0x64 0x03 b
#---------------------------------------
i2cset -f -y 2 0x39 0x66 0x80 b
i2cset -f -y 2 0x39 0x67 0x04 b
#---------------------------------------
i2cset -f -y 2 0x39 0x68 0x40 b
i2cset -f -y 2 0x39 0x69 0x02 b
#---------------------------------------
i2cset -f -y 2 0x39 0x0c 0xc6 b
i2cset -f -y 2 0x39 0x0d 0x12 b
i2cset -f -y 2 0x39 0x0e 0x18 b
i2cset -f -y 2 0x39 0x0f 0x00 b
i2cset -f -y 2 0x39 0x10 0x00 b
i2cset -f -y 2 0x39 0x11 0x00 b
i2cset -f -y 2 0x39 0x12 0x00 b
i2cset -f -y 2 0x39 0x13 0x00 b
i2cset -f -y 2 0x39 0x14 0x59 b
i2cset -f -y 2 0x39 0x15 0x02 b
i2cset -f -y 2 0x39 0x16 0x00 b
i2cset -f -y 2 0x39 0x17 0x00 b
i2cset -f -y 2 0x39 0x18 0x21 b
i2cset -f -y 2 0x39 0x19 0x03 b
i2cset -f -y 2 0x39 0x1a 0x01 b
#等待IIC读操作完成, 完成i状态变为2
#9022A 读 addr 1b的数据
#0x1B Device ID
sync
date
#i2cset -f -y 0 0x39 0x60 0x10 b
# HWIDTH sets the width of the HSYNC pulses. Set the register to the desired HSYNC pulse width. Unit of measure is pixels. Valid 1 - 1023
#i2cset -f -y 0 0x39 0x66
#i2cset -f -y 0 0x39 0x67
#VWIDTH sets the width of the VSYNC pulse. Unit of measure is lines. Valid 1 - 63
#i2cset -f -y 0 0x39 0x69
#i2cset -f -y 0 0x39 0x62 0xfa b
# i2cget -y -f 0 0x3d 0x10
# i2cget -y -f 1 0x39 0x10
# i2cget -y -f 2 0x39 0x10
# root@dra7xx-evm:~# i2cget -y -f 0 0x39 0x10
# 0xff
# root@dra7xx-evm:~#
# root@dra7xx-evm:~#
# root@dra7xx-evm:~# i2cget -y -f 0 0x3d 0x10
# 0x00
# root@dra7xx-evm:~#
# root@dra7xx-evm:~#
sii9022-init.tar.gz_si9022_si9022 初始化脚本_sii9022
版权申诉
5星 · 超过95%的资源 181 浏览量
2022-09-23
20:36:38
上传
评论
收藏 2KB GZ 举报
alvarocfc
- 粉丝: 105
- 资源: 1万+
最新资源
- Flume进阶-自定义拦截器jar包
- Dubins曲线算法讲解和在运动规划中的使用.pdf
- 上市公司-股票性质数据-工具变量(民企、国企、央企)2003-2022年.dta
- 上市公司-股票性质数据-工具变量(民企、国企、央企)2003-2022年.xlsx
- Reeds+Shepp曲线算法讲解和实现.pdf
- 毕业设计基于SpringBoot+MyBatisPlus+MySQL+Vue的外卖配送信息系统源代码+数据库
- 词向量(Word Embeddings)是自然语言处理(NLP)领域的一种重要技术.txt
- Surfer,线性函数
- MyBatis 的动态 SQL 是其核心特性之一.txt
- 时代的sdddsddsddsd
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
评论4