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
- “Hello, world” from scratch on a 6502 — Part 1youtube.com
- Serial Peripheral Interface (SPI) - SparkFun Learnlearn.sparkfun.com
- The "Basics" | Putting the "You" in CPUcpu.land
- Layman's Guide to IC Reverse Engineeringsiliconzoo.org
- Cameras and Lenses – Bartosz Ciechanowskiciechanow.ski
- DIY Ph Meter using PH Sensor & Arduino with OLED Displayhow2electronics.com
- async/await on embedded Rust - Ferrous Systemsferrous-systems.com
- Write your Own Virtual Machinejmeiners.com
- GitHub - schlae/cm5-reveng: Reverse engineered Raspberry Pi Compute Module 5 · GitHubgithub.com
- Fundamentals — Pretty Wired Buildsbuilds.prettywiredlabs.com
- Booting a microcontroller - Rust Embedded Coursericeman2000.github.io