2016-10-26 12:31 AM
Hi All...
i using stm32f103rbt and Ds18B20 temp sensor.i search for hardware peripheral driver that make 1wire independent from cpu but not find any thing useful.i want to read temp from ds18b20 without delay. how it is possible?thanks a lot.2016-10-26 01:46 AM
It's not quite clear, what you mean under ''CPU independent'' exactly, but I can suggest for the case a
https://www.maximintegrated.com/en/products/interface/controllers-expanders/DS2484.html
: an I2C to 1-Wire interface. Having I2C, it makes the 1-Wire access CPU independent in some kind.2016-10-26 03:15 AM
Your question is not clear!
But you can generate the needed waveform for One-Wire communication by Uart. Look at Maxim application note AN126. That way, timing is done independant from CPU.