CH32V003F4P6 - I2C communication — Curious Scientist
In this article, I continue the lecture series with a new topic. I will cover some basics of i2c communication and I will demonstrate some code where I communicate with a sensor by sending instructions to it and reading values from it. The CH32 code examples don’t have any transmit and receive funct
In this article, I continue the lecture series with a new topic. I will cover some basics of i2c communication and I will demonstrate some code where I communicate with a sensor by sending instructions to it and reading values from it. The CH32 code examples don’t have any transmit and receive functions implemented that we can find in the Arduino IDE as Wire.read() and Wire.write(), so one of the first things to do will be to implement these. Then the rest is easy because we just need to use these two functions to send and receive data from an i2c device. The i2c communication consists of…
saved by
related reading
- Understanding Sensor Interfaces - UART, I2C, SPI and CANdev.blues.io
- Flipper Zero — Portable Multi-tool Device for Geeksflipperzero.one
- Layman's Guide to IC Reverse Engineeringsiliconzoo.org
- Serial Peripheral Interface (SPI) - SparkFun Learnlearn.sparkfun.com
- GitHub - Matthias-Wandel/Pico-femtofarad: Relative measurements of very low capacitances using timing on digital I/O lines using Pi Pico PIO state machinesgithub.com
- Air Powered Segment Display: 3D Printed Microfluidic RAM?youtube.com
- KiCad Circuit Boilerplate Generatorcircuitsnippets.com
- Beej's Guide to Network Programmingbeej.us
- GitHub - schlae/cm5-reveng: Reverse engineered Raspberry Pi Compute Module 5 · GitHubgithub.com
- Ben Eatereater.net
- Lab 3: State and Registers | Computer Architecturecomp.anu.edu.au
- GitHub - FundamentalFrequency/LMN-3-Build-Guide: Build guide for the LMN-3 projectgithub.com