cancel
Showing results for 
Search instead for 
Did you mean: 

DS18B20 1Wire DMA

amir_lm35
Associate II
Posted on October 26, 2016 at 09:31

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.
2 REPLIES 2
ColdWeather
Senior
Posted on October 26, 2016 at 10:46

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.

Uwe Bonnes
Principal III
Posted on October 26, 2016 at 12:15

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.