Ds18b20 add to renesas Sk-s7g2 with ssp1.40(!!!)

hi everyone

  I want to add DS18B20 to Renesas sk-s7g2 now.I plan to transplant code on STM32.But my sk-s7g2 could not read the data.Ds18B20 is 1-wire protocol, and I can hardly implement it on sk-s7g2.I hope to get help. Thank you all.

Regards

YYK

  • Hi YYK
    You can use DS2482-100. This makes 1-wire Master to IIC. From there you can use normal iic comunication to s7g2.
  • In reply to Andreas Hediger:

    Hi Andreas Hediger
    Thank you very much for your reply.If there are no other peripherals, is there any good way to use it?I'd like to migrate other MCU code now, but I can't find a better microsecond delay function.So I couldn't use it.Thank you.
    Regards
    YYK
  • In reply to yyk:

    Hi yyk,

    Synergy devices do not have native support for 1-Wire interface however it can be emulated using a combination of IRQ and GPT. Here's an example project for DHT11: s7_sk_dht11_icu_gpt_1_2_1_draft_b.zip. While this sensor isn't strictly using Maxim's 1-Wire, this example project should demonstrate the general concept of implementing this type of interface on Synergy.

    Regards

  • In reply to Renesas Karol:

    Hi Karol
    Thank you very much for your reply.I need this. Thank you very much.

    Regards
    YYK