SMBus (System Management Bus) provides a control bus for the system to pass the messages to/from devices instead of using an individual control lines, this control helps to reduce pin count and system wires.
Questions tagged [smbus]
88 questions
0
votes
0 answers
smbus on processing python mode
Hello is it possible to use smbus module on processing python mode?
When I try to import smbus processing puts me an error message:
ImportError: No module named smbus
processing.app.SketchException: ImportError: No module named smbus
at…

Maxime Rahier
- 1
- 3
0
votes
1 answer
Silabs efm8bb3 is very slow on smbus/i2c master transfers
While working with Simplicity Studio and Silabs EFM8BB3 (8051 based SoC), I'm observing a very slow transfer rate with a huge pause (up-to 60 ms) in between each byte transfer, as well as (up-to 160 ms) between complete messages on i2c protocol over…

Oleg Kokorin
- 2,288
- 2
- 16
- 28
0
votes
1 answer
I2C in Raspbery Pi 3 using smbus
I'm trying to interface my accelerometer ADXL3458 to my Raspberry Pi 3 running in ubuntu mate. I have install all the necessary package require for the I2C communication. When I perform this command i2cdetect -y 1 I get this results.
Now I run this…

Vishnu Prasad P
- 69
- 2
- 9
0
votes
0 answers
Reading I2C in realtime using SMBus
I'm using SMBus (https://www.kernel.org/doc/Documentation/i2c/dev-interface) in Linux to retrieve data from i2c device. I'm reading fixed length from specific address on the device, for some reason I'm still able to read the data even after I've…

Konk Wory
- 83
- 7
0
votes
0 answers
IS it possible to reprogram a smart battery?
I've replaced the cells of a nimh battery pack, just to discover that now the charger signal an error and doesn't recharge it. Most probably some data was erased in the battery pack IC when I disconnected the old cells and now the smart battery IC…

oppure
- 11
- 2
0
votes
1 answer
Raspberry pi camera and opencv and python
I have the code below and I want to modify it in many parts :
how can I use Raspbery Pi camera instead USB camera?
I will be grateful for anyone who gives me a hint or write the right code.
The code is :
import cv2.cv as cv
import smbus
import…

ITLover
- 31
- 8
0
votes
1 answer
How do you adjust an I2C driver to handle smbus specs?
A the title says, I would just like to know how to adjust an I2C driver to handle smbus specs in general.

Tyler Fontaine
- 131
- 2
- 12
0
votes
0 answers
Unidirectional I2C and linux driver
I'm currently trying to setup a unidirectional I2C bus (only for the SDA, master talking to slave only, the ACK bit would be ignored) between a BeagleBone Black (running debian) and a slave. I know there are other buses available where it would be…

JB430
- 21
- 2
0
votes
1 answer
send 2Dimensional Listarray From Raspberry pi to the Arduino with I2c protocol
im working on Computer vision (opencv )python and i had a result from the image , so this results is 2D List-arrays that should go to the Arduino by i2c buffer , so i realized that there is a library called smbus that interfacing the Raspberry pi…

Mohamed
- 45
- 1
- 11
0
votes
2 answers
Talking SMBus between RaspberryPi and ATMEGA 324PA - AVR not clock stretching
I'm trying to get an ATMEGA 324PA to run as an SMBus slave.
I'm using the following code on the Pi:
import smbus as smbus
i2c = smbus.SMBus(1)
i2c_addr = 0x30
result = i2c.read_block_data( i2c_addr, reg )
On the AVR, I'm using:
#include…

fadedbee
- 42,671
- 44
- 178
- 308
-1
votes
1 answer
Error installing smbus module with Python 3.10
I have Ubuntu running on Raspberry Pi and Python 3.10 installed on it.
In my attempt to add smbus library I get next error:
pi@raspberrypi:~$ python3 -m pip install smbus
Defaulting to user installation because normal site-packages is not…

BaruchLi
- 1,021
- 2
- 11
- 18
-1
votes
0 answers
SMBus messages from macOS kext
I am using ZDNet Clock utility to overclock my Mac from Mac OS X Leopard every day and boot macOS Big Sur after that. I want to port the 32bit only overclock.kext of the utility to macOS Big Sur or at least add a support for any macOS with 64-bit…

user3421105
- 41
- 5
-1
votes
0 answers
Code to access the SMBUS on the motherboard, and then control the fan controller chips
I need to learn how to access at the SMBUS on the motherboard using the C or C++ or Python programming languages, in windows.
Could you help me?
Thanks a lot
for your help
Fabio

Fabio D.
- 7
- 3