2013-10-07 03:32 AM
2013-10-07 08:23 AM
I'm not particularly familiar with the One Wire mode, but I'm pretty sure you'd still need to send dummy data to get the interface to clock, and be able to receive data. You'll perhaps want to check the TXE status prior to attempting to send each of the dummy bytes.
2013-10-07 08:54 AM
Hello clive1,
thank you for your reply! Do I have to send all the time data or only when I want to read the samples ? I just send via SPI2->DR = 0; dummy data before I read. You an find it in the while loop in main function. Thank you.2013-10-07 01:42 PM
2013-10-09 12:01 PM
Hello,
I solved it now. It is working. The project (CooCox CoIDE) and the main.c can be found here: Best regards, opcode