Is it possible to handle 1-Wire signal from iButton using UART0 in 1-Wire mode (something like ISO7816) or not?
Thank you in advance.
The Dallas Button requires different communication protocol as can be managed by UART0. Please see the communication details on web:
1-Wire - Wikipedia, the free encyclopedia . It is possible to use standard GPIO method with timer to communicate with 1-Wire Slave.
I hope it could help, but you are welcome for next support.
If you have a TPM timer (with 3 or 4 channels) and two DMA channels available, the Dallas/Maxim 1-wire bus master can also be implemented as discussed here:
Dallas iButton High Resolution Delays with No Preemption
Although this link is to a question in the MQX software section, the timer based solution described there was developed and tested using a KL26 micro.
I have had very clean results with the DS2483 I2C-to-onewire 'master' device to supply 'perfect' one-wire control, using one I2C interface and an internal-timer to wait-out each resultant one-wire process. To cut my overhead I also built an interrupt-driven I2C process and next-level state machine to complete entire one-wire transactions with minimal processor use. This all runs 'in the background' because I have 'realtime work' to get done, and that does add a certain amount of complexity...
Message me for details.
Retrieving data ...