I have to interface a device with a connection bus similar to OneWire, but with a communication protocol customized.
Flowcode6 I can use to build the protocol on a wire, or I have to use other software, such as Visual Basic? How can I use Flowcode to build custom protocol on OneWire connection?
regards
custom protocol on onewire
Moderator: Benj
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: custom protocol on onewire
Hello,
Using an output or input icon in single bit mode you should be able to bit bang a serial 1-wire style data connection.
This is how the Flowcode 1-wire component was created.
Using an output or input icon in single bit mode you should be able to bit bang a serial 1-wire style data connection.
This is how the Flowcode 1-wire component was created.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 16
- Joined: Wed Apr 29, 2015 11:32 am
Re: custom protocol on onewire
this is the protocol I need to interface. And I do not know how to made it in Flowcode 6
regards
regards
- Attachments
-
- protocol description.rar
- (18.15 KiB) Downloaded 231 times
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: custom protocol on onewire
Hello,
Here is something I cobbled together very quickly for you to match the waveform in the pdf. I'm not 100% sure it will work but it should be fairly close and should help to show you the way.
Any questions then please let us know.
Here is something I cobbled together very quickly for you to match the waveform in the pdf. I'm not 100% sure it will work but it should be fairly close and should help to show you the way.
Any questions then please let us know.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 16
- Joined: Wed Apr 29, 2015 11:32 am
Re: custom protocol on onewire
I see this is the call function, how can I make the receive in the single wire connection?
I attach the process call and receive I have in the board I attach
regards
I attach the process call and receive I have in the board I attach
regards
- Attachments
-
- the data sent is organized in bytes.doc
- (29.5 KiB) Downloaded 218 times
-
- Posts: 16
- Joined: Wed Apr 29, 2015 11:32 am
protocol single wire
this is the call example, and receive example in the single wire?
this is the complete protocol to interface
regards
this is the complete protocol to interface
regards
- Attachments
-
- the data sent is organized in bytes.doc
- (29.5 KiB) Downloaded 228 times
-
- Posts: 16
- Joined: Wed Apr 29, 2015 11:32 am
single wire protocol
this is the call and receive example in the single wire protocol.
how it will be in the flowcode6?
regards
how it will be in the flowcode6?
regards
- Attachments
-
- the data sent is organized in bytes.doc
- (29.5 KiB) Downloaded 218 times