Abstract
To date, I2C is a protocol that has a lot of use on microcontroller applications. Implementing the hardware for a I2C controller affects directly chip size, cost and time development in VLSI projects. To save on these aspects, we have used hardware emulation by software to recreate the I2C behavior through GPIO ports in a RISC-V microcontroller of our own. This paper proposes a flexible and practical low-level algorithm that replaces a physical I2C controller, to be able connect an I2C peripheral device to its driver code inside the microcontroller using GPIO ports as channels. An explanation of the application is described, along with the code structure and the logic behind the algorithm. At the end, this paper presents results with a brief analysis of its benefits and future improvements.
| Original language | English |
|---|---|
| Title of host publication | 2021 IEEE URUCON, URUCON 2021 |
| Publisher | Institute of Electrical and Electronics Engineers Inc. |
| Pages | 90-94 |
| Number of pages | 5 |
| ISBN (Electronic) | 9781665424431 |
| ISBN (Print) | 9781665424431 |
| DOIs | |
| State | Published - 2021 |
| Event | 2021 IEEE URUCON, URUCON 2021 - Montevideo, Uruguay Duration: 24 Nov 2021 → 26 Nov 2021 |
Publication series
| Name | 2021 IEEE URUCON, URUCON 2021 |
|---|
Conference
| Conference | 2021 IEEE URUCON, URUCON 2021 |
|---|---|
| Country/Territory | Uruguay |
| City | Montevideo |
| Period | 24/11/21 → 26/11/21 |
UN SDGs
This output contributes to the following UN Sustainable Development Goals (SDGs)
-
SDG 7 Affordable and Clean Energy
Keywords
- I/O protocols
- IC bus protocol
- RISC-V
- algorithms
- architecture
- hardware emulation
- hardware-software applications
- microcontroller
Fingerprint
Dive into the research topics of 'Low-level algorithm for a software-emulated I2C I/O module in general purpose RISC-V based microcontrollers'. Together they form a unique fingerprint.Cite this
- APA
- Author
- BIBTEX
- Harvard
- Standard
- RIS
- Vancouver