2024-12-22 03:06 PM
Hi there!
i start to work with Dallas Ibutton and for my project i use STM32G031K8 nucleo. Because i need to read only one ibutton i use the UART peripheral and no ic dedicate for 1Wire. My problem is when i try to use the rx callback function for know when i receive all data (and i start wit receive one bit at the time) never shoot, If i put a simple delay of 1ms everythingh wor very well i can see all my data on my logic analyzer .Question because the nucleo use the second uart2 for debug is possible that give me the problem ? and if yes how can i resolve ?
Thank you soo much
Sergio
2024-12-22 08:29 PM
> Question because the nucleo use the second uart2 for debug is possible that give me the problem ?
No, if you're not using USART2 in your code, it won't affect your program. Doesn't matter that it's hooked up to the ST-Link chip.
2024-12-23 12:19 AM
Hello,
Not everyone here knows what is "Dallas Ibutton". So, when you formulate a request please think about others that need the have a clear a picture of your issue/request.
2024-12-23 12:40 AM
Yep you have a reason
https://www.analog.com/media/en/technical-documentation/data-sheets/DS1992-DS1993.pdf