06-25-2013 06:19 AM
Im planning to use a DS18B20 (Digital Output) into my sbRIO's FPGA. When programming in C, I'll need a baud rate of 9600 for arduino. How do I set up the serial read in FPGA?
The flow that i managed to understand is as follow:
1) Get 8 bits (each bit is 9600Hz)
2) Transfer these 8 bits each into 8 bytes with certain delay between them
3) I'll just have to read the [7] and [6] byte.
06-25-2013 08:41 PM
There is some example on how to interface with 1-wire like this one in the ni website
https://decibel.ni.com/content/docs/DOC-24136
Hope this help
06-26-2013 01:32 AM
Great! Thanks for the link