View Single Post
  #7   Spotlight this post!  
Unread 17-06-2005, 11:52
Ryan M. Ryan M. is offline
Programming User
FRC #1317 (Digital Fusion)
Team Role: Programmer
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Ohio
Posts: 1,508
Ryan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud of
Re: Quick Simple Question

Quote:
Originally Posted by ImmortalAres
however there are a lot of function prototypes in the start up file (ifi_startup) that i can't find code for ie the ifi_intialization that apparently "Configures registers and initializes the SPI RX/TX buffers." which seems important to me
It's probably just a call to some master RC stuff. (as you assumed) According to what you said, it sets up the registers on the processor, so if you have any low level direct register stuff, you'll have to fix that, and it initializes the input and output buffers.

What fowlern said is basically correct. The master processor just sits there and receives all outside data. (from sensors, controls, etc) It then handles if appropriate (for instance, the disable signal) or passes it along to the user processor. For most output, the user proc sends it's desired info to the master and the master then sets things correctly.

The way it's setup is great for you because all you have to do is create some wrapper code which takes care of simulating the data transfer between your code and the nonexistent master.
__________________