2013-01-30 06:12 AM
Please can you tell me how to implement one wire slave in stm8s ?
Note: the one wire master is GPS TELTONIKA FM1100 #1-wire2013-02-01 04:47 PM
I presume you're talking specifically about the Maxim (formerly Dallas) 1-Wire™ interface?
The protocol is very well documented on the Maxim site - you should work from there. Or, if you don't want to or can't be bothered to do that, you can use a DS2408 to create a parallel interface - see Figure 17 on p28 of the Datasheet for an example:2013-02-04 12:57 AM
thnx Neil for reply,
I've understood one wire protocol, time slots, communication procedures etc. , but I'm not able to implement slave into stm8s. If anyone have an example of implementing one wire slave into stm8s, please post it. In attachment is an arduino one wire slave example : ________________ Attachments : OneWireSlave__1_.zip : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006Hyzo&d=%2Fa%2F0X0000000bKt%2FCqhLTytqOdgeNYKnvT_OTf0ZfBOltiAIEGsm1r08Fd8&asPdf=false2013-02-04 08:39 AM
If you really have understood the one wire protocol, time slots, communication procedures etc, it shouldn't be hard to implement - where are you stuck?
A look at the simple master code for microcontrollers on the Maxim site should give you some good ideas to start with...Again, you can avoid having to implement the protocol by using a hardware slave such as DS2408 ...
2015-05-04 07:10 AM