Difference between revisions of "Wip4a-spi"

From DIDEAS Wiki
Jump to: navigation, search
m
m (SWIFI PCB status)
 
(53 intermediate revisions by the same user not shown)
Line 1: Line 1:
*[[Upd_pcb | PCB]] [[Aiw_hardware | Hardware]] [[AIW_assembly | Assembly]]  [[PFMENU DOCS | PFCmdMenu]]  [[iochan]]  [[Upd_merge_history | Merge]]
+
*{{pf_top_nav}}
*PCA : [[Upd_2x0_218_controller | SC/MC 218]] [[Upd_2x0_217_power_board| FET 217]] [[Wip4a-spi | Swiffy]]
+
*{{pf_pcbs}}
  
 +
[[Swifi]]
  
  
=wip4a w/spi=
 
  
==interface to robot==
+
=SWIFI PCB status=
 +
All radios only tested on primary port (5pin / PFUP1)
 +
*1 works well - used w/Spalding (9-17-09)
 +
*2 7-2-09 : overvoltage event.  dsPIC seems to have smoke holes.  (has radio 00-20-4a-9f-99-86 : 10.0.0.7)
 +
*3 works - but has trace damage - used w/Spalding (9-17-09)
 +
*4 works - but has trace damage  status unknown,  10-24-09 used w/LF
 +
*5 works - but has trace damage : 7-3-09 programmed w/latest firmwire.  10-24-09 works  (CEB has a lab 10-30-09)
 +
*6 not working.  damaged traces at edge of PCA needs to be fixed
  
===power===
+
=assembly docs=
*The hardware can be powered over the FUP port (WIP4a.PFUP1) or via the 3 pin header (WIP4a.PO3)
+
[[http://dhcp-17-197.media.mit.edu/for_wiki/hc_wip4a-030209.pdf  SCH]]
*The unit accepts 15-30 volts and requires ~ 2watts
+
[[http://dhcp-17-197.media.mit.edu/for_wiki/rwip4a-2top.pdf TOP]]
 +
[[http://dhcp-17-197.media.mit.edu/for_wiki/rwip4a-2bot.pdf BOT]]
  
===MC Comm (Dataport) ===
 
* straight 1.25mm cable into 5 pin connector  (WIP4a.PFUP1)
 
* connect to normal (RED) 5 header on FUP1.pcb
 
* connect 9 pin 1.00mm cable to MOTOR CONTROLLER PORT pf [[Upd_2x0_218_controller | UPD 200-218 (SC/MC)]]
 
  
===SC Comm (MPD proto) ===
+
=software notes=
* connect special 6 to 5 min 1.25mm cable (marked with orange/green strip on 6 pin housing) to 6 pin connector (WIP4a.PX1)
+
* hardware_config.h sets PLL MULT and SCALE to result in 14.74 Mhz * (74+2)/(5+2) = 40.024Mhz
* connect to normal (RED) 5 header on FUP1.pcb
+
* DSPIC UARTs connect to SC/MC
* connect 9 pin 1.00mm cable to STATE CONTROLLER PORT of [[Upd_2x0_218_controller | UPD 200-218 (SC/MC)]]
+
* SPI UART connects to WIPORTb
 
 
 
 
==diagnostics==
 
=== on power ===
 
# the red led lights to indicate power
 
# the yellow leds on the ENDs (DM1, DM7) will flash and bounce back and forth as the devices negotiates a connection with the access point
 
# the orange and blue LEDs (DM4 and DM5) light briefly during boot
 
# when booting is complete the right side LEDs (red and yellow) will be lit.
 
 
 
=== when active===
 
# established TCP connections on port 10001 and 10002 cause DM2 and DM3 to be lit
 
# each MPD message will case the flash of the ORANGE LED (DM4), the robot's answer will cause the BLUE LED (DM5) to flash briefly
 
# when the dataport is active, and the WIPORT is unable to accept data - the BLUE led will light.  (A blue flash without a preceding red flash suggest this case).  Some flashing of the BLUE let is normal as radio packets are lost and retransmitted.  Continuioes illumination of the BLUE suggest that the TCP connection is broken.  This is possibly not a problem as the WIP4 can buffer minutes of data.
 
 
 
==LED details ==
 
* DM1 (orange) WiPort diagnostics LED - flashes when booting
 
* DM2 (orange) indicates a TCP connection on port 10001  (DATAPORT - MC)
 
* DM3 (green) indicates a TCP connection on port 10002    (MPD PORT - SC)
 
* DM4 (red) flashes when data received from port 10002
 
* DM5 (blue) flash when data transmitted on port 10002 and ALSO when Wiport when communication on 10001 is blocking.
 
* DM6 (red led) indicates 3.3V supply
 
* DM7 (orange) indicates radio power / active communication (flashes with)
 

Latest revision as of 06:56, 30 October 2009

Edit

Swifi


SWIFI PCB status

All radios only tested on primary port (5pin / PFUP1)

  • 1 works well - used w/Spalding (9-17-09)
  • 2 7-2-09 : overvoltage event. dsPIC seems to have smoke holes. (has radio 00-20-4a-9f-99-86 : 10.0.0.7)
  • 3 works - but has trace damage - used w/Spalding (9-17-09)
  • 4 works - but has trace damage status unknown, 10-24-09 used w/LF
  • 5 works - but has trace damage : 7-3-09 programmed w/latest firmwire. 10-24-09 works (CEB has a lab 10-30-09)
  • 6 not working. damaged traces at edge of PCA needs to be fixed

assembly docs

[SCH] [TOP] [BOT]


software notes

  • hardware_config.h sets PLL MULT and SCALE to result in 14.74 Mhz * (74+2)/(5+2) = 40.024Mhz
  • DSPIC UARTs connect to SC/MC
  • SPI UART connects to WIPORTb