I2C General call from kernel driver/module on IMX6D

cancel
Showing results for 
Search instead for 
Did you mean: 

I2C General call from kernel driver/module on IMX6D

157 Views
Contributor II

Hello, 
would anyone know a 'standard' way how to do a general-call-address reset of a device from device driver ?

1) Short description of issue:

I am trying to write my own driver for TLV493D (magnetic sensor on i2c bus).

Datasheet of that IC in chapter 5.7.1 states:
"A general reset is trigged by calling the address 0x00 in the I2 C interface. This generates an internal reset..."

In my use the reset is needed for the device to function properly however i was unsuccessful in trying to write to the address 0x00. (7bit mode) - as it is the reserved general call address.

2) Question:
Is there a way to write to the 0x00 device address on i2c bus from kernel module ?
(I am using system with  imx6 dual core)

thank you for all inputs on this topic.


datasheet link:
https://www.infineon.com/dgdl/Infineon-TLV493D-A1B6_3DMagnetic-UM-v01_03-EN.pdf?fileId=5546d46261d5e... 

Labels (2)
0 Kudos
1 Reply

3 Views
NXP TechSupport
NXP TechSupport

You can access i2c bus with device like /dev/i2c-0

0 Kudos