惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

P
Proofpoint News Feed
V
V2EX
WordPress大学
WordPress大学
Google DeepMind News
Google DeepMind News
Martin Fowler
Martin Fowler
小众软件
小众软件
Blog — PlanetScale
Blog — PlanetScale
月光博客
月光博客
The Cloudflare Blog
T
Tailwind CSS Blog
H
Help Net Security
腾讯CDC
爱范儿
爱范儿
人人都是产品经理
人人都是产品经理
H
Hackread – Cybersecurity News, Data Breaches, AI and More
The GitHub Blog
The GitHub Blog
Microsoft Security Blog
Microsoft Security Blog
Stack Overflow Blog
Stack Overflow Blog
D
DataBreaches.Net
C
Check Point Blog
量子位
酷 壳 – CoolShell
酷 壳 – CoolShell
美团技术团队
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com

博客园 - sudochen

linux kernel format nand for ubifs ipq95xx rdp433 烧写运行openwrt25 git多用户管理 以太网EthernetII,LLC,SNAP判断 命令行获取公网IP地址 免密SSH登录Openwrt 研发管理的一般流程 haserl repo error with python3.10 on ubuntu22.04 京东AX3000后裔刷机 UTF-8 ebtables Ubuntu建立samba共享目录 linux文件的时间 IP优先级TOSDSCP SFP光模块定义 linux内核Makefile和busybox编译 I2C协议 SPI协议 免费ARP FEM介绍 notepad++每两个字符添加一个空格
i2ctools工具使用
sudochen · 2024-05-22 · via 博客园 - sudochen

用i2cdetect检测有几组i2c总线在系统上,输入:./i2cdetect -l

用i2cdetect检测挂载在i2c总线上器件,输入 ./i2cdetect -r -y 0

我们可以看到有0x50,0x51,0x56三个地址可以用

用i2cdump查看器件所有寄存器的值,这个很有用,输入 ./i2cdump -f -y 0 0x56

用i2cget读取单个寄存器值

用i2cset设置单个寄存器值,