11 Software Flow Sources interrupting Microcontroller On board serial portOff board UARTNintendo ControllerThe on board serial port will be interrupted by our monitor program, and will be used to execute programsThe Nintendo Controller will be used for controlling the software flow.
15 Preloaded SequencesSequences making the motors direct in various shapes such as squares, triangles, ellipses will be generated from the processor and sent to the motor controllers.
16 Polling the Motor Controllers The motor control IC’s will have to be polled to determine if the motor has reached desired locationThis will best be implemented by sending the motor X and Y coordinates and waiting for idle state.This will take the major bandwidth of the system.
21 Interrupt Service Routine (ISR) Pointer Problem:Several Devices need external interruptOnly one non-maskable external pin in HC11Solution:Implement ISR Pointer in FPGAPointer Register in Memory mapRead pointer as it was memory from the FPGA
22 Peripheral TimingNES needs special signals to provide push button mechanismEnable (E) on LCD needs to pulse after LCD address has been put on the Bus.
23 NES Controller Needs special signals provided by FPGA logic Will be memory mapped to address 0005HCan be read as normal memory
31 Using the HCTL Setup Registers Send Commutator positions (1 reg) Commutator (5 reg)Control Mode (1 reg)Send Commutator positions (1 reg)Feedback makes sure its in position
32 The Commutator Four phase output Programmable for Half step Reduced to two phase outputProgrammable for Half stepRun phases with different offsetSteps with PWMPulse time and width programmable for varying mode operation
43 Objective Timeline CDR: Main Board Schematics Obtain Main board parts Motor board schematicsAssemble microcontroller boardGet processor runningMilestone 1: Obtain Motor BoardAssemble Motor boardFinish and test microcontroller hardwareImplement Game Pad interface
44 Objective Timeline (Cont) Milestone 2:Monitor program runningImplement interface with motorsReal Time Embedded system PC104+ moduleExpo:Run Demo modes for the laserReceive XY and control laserCalibrate stepper motors for tracking