Sponsored links

Go Back   MP3Car.com > Mp3Car Technical > General Hardware Discussion > Fusion Brain > FB Documentation and Tutorials


Reply
 
Share Thread Tools Display Modes
Old 11-22-2007, 03:37 PM   #1
Fusion Brain Creator
 
2k1Toaster's Avatar
 
Join Date: Mar 2006
Location: Colorado, but Canadian!
Posts: 8,862
2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future
Low Level Interface Protocol

Version 4:
Code:
******************************* * FUSION BRAIN V4 BYTE STREAM * * * * Deterministic Difference: * * PID Suffix: E * * * ******************************* **** ID CODE **** Version 3a: VID_04D8&PID_000A Version 3b: VID_04D8&PID_000B Version 3c: VID_04D8&PID_000C Version 3d: VID_04D8&PID_000D Version 4: VID_04D8&PID_000E **** STREAM **** Bytes [00-31] Digital Outputs 00 through 15 [32-57] Analogue Inputs 00 through 12 [57-59] Not Used Now, Maybe in future [60] Number of Streams to Receive [61] Initialize/Watchdog byte [62] Hardware Version [63] Firmware Version Bits 0bMxxxxxxL | M = MSB and L = LSB Digital Outputs 2 bytes per output [PPPPPPPS][TTTTTTMM] P = Value of PWM ([7bit Value + 1]/128)% duty cycle Details of full period to be determined later S = 1bit state 0 = Off 1 = on T = 6bits of Timer to shutoff --> [Evaluated Units in Seconds] If 6'bTTTTTT is 0, then shut off immediately on disconnect If 6'bTTTTTT is between 1 and 10 inclusive, then wait [6'bTTTTTT] seconds after disconnect If 6'bTTTTTT is 11, then wait 30 seconds after disconnect If 6'bTTTTTT is 12, then wait 60 seconds after disconnect If 6'bTTTTTT is 13, then wait 90 seconds after disconnect If 6'bTTTTTT is greater than 14, then wait ([6'bTTTTTT] * 10) seconds after disconnect M = 2bit Output Mode 2'b00: Normal Full-Off or Full-On Operation Mode 2'b01: Pulse Width Modulation Operation Mode 2'b10: Yet to be determined 2'b11: Yet to be determined Analogue Inputs 2 bytes per input [index][index + 1] = [000000Mx][xxxxxxxL] | M = MSB and L = LSB Number of Streams to Receive 1 byte [NNNNNNNN] | N = Number of streams to receive If [8'bNNNNNNNN] is 0 (default) then receive 1 byte and send 1 byte If [8'bNNNNNNNN] is greater than 0 then receive 1 byte and send 1 byte [8'bNNNNNNNN] times Each of these "extra" byte streams received may not coorespond with the details of this byte stream outline Each of the "extra" byte streams sent back to the PC may not coorespond with the details of this byte stream Initialize/Watchdog Byte 1 byte [000000IF] | F = Flipping Bit and I = Initialize Bit F = Instead of flipping a bit in every digital output, flip 1 bit constantly I = Needs I high to turn anything on, just like default behaviour of byte[61] now Hardware Version [MMMMLLLL] M = Major Version. Currently Version 4, so MMMM = 0100 L = Minor Version. Currently Version 0, so LLLL = 0000 Firmware Version 1 byte [????????]

Version 3:
Ok, the credit goes to Brain Wendt who was kind enough last July to ask me all sorts of questions and compile this excellent document on the low level protocol. I think he is planning something big with his own software so he has been in the dark recently, but thank him for this
Attached Files
File Type: doc Fusion Brain.doc (101.0 KB, 306 views)

Last edited by 2k1Toaster; 03-09-2009 at 04:49 PM.
2k1Toaster is offline   Reply With Quote
Advertisement
 
Advertisement
Sponsored links

Old 02-06-2009, 02:30 PM   #2
Newbie
 
Join Date: Feb 2009
Posts: 2
davburlev is an unknown quantity at this point
Protocol same for v4 board? PWM?

Hi All,

Is the protocol the same for the v4 boards? If not, what is different, or, is there a new document?

Also, how does one use PWM on a digital output using the low-level protocol? The website says this is supported.

Thanks.

-Dave Levi
davburlev is offline   Reply With Quote
Old 02-06-2009, 11:15 PM   #3
Constant Bitrate
 
mx270a's Avatar
 
Join Date: Aug 2003
Location: Iowa
Posts: 167
mx270a is on a distinguished road
v4 byte stream specs:
http://www.mp3car.com/vbulletin/1278195-post9.html

Visual Basic 2008 sample application and source code:
http://www.mp3car.com/vbulletin/fb-s...ion-brain.html
mx270a is offline   Reply With Quote
Old 02-07-2009, 12:51 AM   #4
Newbie
 
Join Date: Feb 2009
Posts: 2
davburlev is an unknown quantity at this point
Thanks!
davburlev is offline   Reply With Quote
Old 02-08-2009, 03:56 PM   #5
Fusion Brain Creator
 
2k1Toaster's Avatar
 
Join Date: Mar 2006
Location: Colorado, but Canadian!
Posts: 8,862
2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future
Also C# source code: http://www.fusioncontrolcentre.com/MDX/Source/
2k1Toaster is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
New FM USB module, maybe good for our carputers? skywise Road Runner 57 11-04-2007 08:12 PM
Using Alpine's AI-NET protocol? brhestir Hardware Development 2 04-05-2007 12:31 PM
Modular Shutdown Controller with USB Interface evandude Power Supplies 11 02-19-2007 12:57 PM
high level inputs and low level inputs, what does it mean? TiTUS General Hardware Discussion 4 09-28-2003 10:51 PM



All times are GMT -5. The time now is 04:38 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.2
Copyright © 1999 - 2008 Mp3Car.com Inc.Ad Management by RedTyger
Message Board Statistics