Low-level algorithm for a software-emulated I2C I/O module in general purpose RISC-V based microcontrollers

Roberto Molina-Robles, Ronny Garcia-Ramirez, Alfonso Chacon-Rodriguez, Renato Rimolo-Donadio, Alfredo Arnaud

Producción científica: Capítulo del libro/informe/acta de congresoContribución a la conferenciarevisión exhaustiva

1 Cita (Scopus)

Resumen

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.

Idioma originalInglés
Título de la publicación alojada2021 IEEE URUCON, URUCON 2021
EditorialInstitute of Electrical and Electronics Engineers Inc.
Páginas90-94
Número de páginas5
ISBN (versión digital)9781665424431
DOI
EstadoPublicada - 2021
Evento2021 IEEE URUCON, URUCON 2021 - Montevideo
Duración: 24 nov. 202126 nov. 2021

Serie de la publicación

Nombre2021 IEEE URUCON, URUCON 2021

Conferencia

Conferencia2021 IEEE URUCON, URUCON 2021
País/TerritorioUruguay
CiudadMontevideo
Período24/11/2126/11/21

Huella

Profundice en los temas de investigación de 'Low-level algorithm for a software-emulated I2C I/O module in general purpose RISC-V based microcontrollers'. En conjunto forman una huella única.

Citar esto