Skip to contentSkip to conversation

HDQ/1-wire module

DISCUSSION Madhusudhan Chikkature Rajashekar 2 participants 2 messages Nov 7, 2007 – Nov 8, 2007

lore
Share & tools
lore
#0 lore raw

Hi All,

This is regarding the HDQ/1-wire support for omap24xx/34xx.

The controller on the above OMAP platforms supports both HDQ and 1-wire protocol.The difference between HDQ and 1-wire protocol is very minimal as explained below.

HDQ Mode:
In HDQ mode, the firmware does not require the host to create an initialization pulse to the slave. However, the slave can be reset by using an initialization pulse (also referred to as a break pulse). The slave does not respond with a presence pulse.

1-Wire Mode:
In 1-Wire protocol, the host first sends an initialization pulse (by pulling the line to a logic-low state) and then waits for the slave to respond with a presence pulse before enabling any communication sequence.

A typical application of the HDQ/1-Wire module is the communication with battery monitor (gas gauge) integrated circuits.

Has anyone in the past worked on the above module or has written a driver for the same? I can not recollect of having read any mails on the above module
in the list. Please correct me if I am wrong.

There is no support for HDQ devices as of today in Linux. Whereas there is a W1 subsystem for 1-wire devices. Right now, I only have a device
that is complaint to HDQ protocol only.I guess we can still write a driver to support this which can be integrated to the 1-wire subsystem. If anyone has a different opinion, please do share the views.

Regards,
Madhu

#1 lore raw

Madhu,

Madhusudhan Chikkature Rajashekar stated on 11/7/2007 2:42 AM:

Quoted 4 lines

There is no support for HDQ devices as of today in Linux. Whereas there is a W1 subsystem for 1-wire devices. Right now, I only have a device
that is complaint to HDQ protocol only.I guess we can still write a driver to support this which can be integrated to the 1-wire subsystem. If anyone has a different opinion, please do share the views.

searching the net, I see the Mathew Percival's document
(http://www.capgo.com/Resources/SoftwareDev/omap-owire.pdf), however, this seems cached here:
http://209.85.165.104/search?q=cache:iM7chIfhm4wJ:www.capgo.com/Resources/SoftwareDev/omap-owire.pdf+HDQ/1-Wire+module+linux+driver&hl=en&ct=clnk&cd=1&gl=us
Maybe of use/ you could collaborate with Mathew?

Regards,
Nishanth Menon