My MCU is RT1052 and now I need to access a temperature sensor DS18B20 which is a device with 1-wire protocal. The method of using delay function to access the 1-wire protocol is not suitable in the case of RTOS.
From the reference manual, 1-wire protocal is a typical application case for FlexIO block. But I cannot find an example of FlexIO accessing the 1-wire devide.
Anyone have such kind of example?
已解决! 转到解答。
Hello @James12,
Sadly, there is not an example to work with 1-wire protocol. Nonetheless, it could be useful to check the following information of an implementation for a Kinetis microcontroller:
Best regards, Raul.
Hello @James12,
Sadly, there is not an example to work with 1-wire protocol. Nonetheless, it could be useful to check the following information of an implementation for a Kinetis microcontroller:
Best regards, Raul.