Questions? - ripras, - yeagerd may be able to help you.
The WISP Monitor is a board consisting of a microcontroller that can monitor all pins (except the Voltage Regulator pin) on the WISP 4.1. This is done by simply affixing the WISP to the Monitor board via the header pins. The pin mapping is such that the USCI port of the WISP is connected to the USI port of the Monitor microcontroller. Thus, the board can be used simply as a Monitor or as an active participant in WISP functionality. The microcontroller is also connected to a UART-USB chip which enables information transmission and reception to and from the PC. The Monitor does not affect WISP functionality in any way unless the user determines to do so.
There have been no releases of the WISP Monitor.
The WISP Monitor can detect two fundamental signals from the WISP:
1. IO Activity
What are we monitoring?
The WISP monitor is really good at monitoring IO activity on the WISP MSP430. By using IO interrupts on the Monitor's MSP430 to detect WISP IO activity, monitoring these signals is relatively painless.
Why is this useful?
IO activity can be used to detect the WISP's firmware state (either by sniffing existing IO activity, or by adding intentional signals to help the monitor detect the WISP's state). Immediately we can track the WISP state progression and answer questions such as "How often does the WISP successfully process a Query command?" or "How long does the communication typically take?"
Moving one step futher, by mapping WISP states to the power consumption of each state, we can monitor the WISP's power consumption in real time. Or, by keeping track of the time spent in each state, we can determine the energy consumed in each state (energy = power
- MSP430F2132 microcontroller
- FTDI F232R UART-USB chip
- USB receptacle
- Header pins which affix directly to the WISP 4.1 header pins
- Does not affect WISP functionality unless specified by the user through firmware code
- MCU - PC communication
- MCU - WISP communication through USCI/USI modules
Monitor v1.0 Schematic
Monitor v1.0 PCB Layout
You can make PCB's through PCB Express or Express PCB for around $100. The PCB is really simple, an example schematic and layout are shown above. If the gerbers become available, they will be posted here.
You'll need one of these:
FTDI RS232 to USB chip:
And one of these:
(or you could probably just use a WISP, which includes the requisite 1.8V regulator :)
The FTDI chip can power the MSP430 dev board using it's 3.3V rail. If you do this, you'll need level shifters to sense the WISP voltages :( However, the ADC can then measure a good chunk of the unregulated voltage with no analog level divide by 3 (as described above).
What we want to do is unsolder the IO jumper:
And connect the IO voltage (pin 4 on the FTDI chip, the thru hole is labeled on the back of the sparkfun board) to our 1.8V supply (the same one that power's the monitor mcu). A lazy way to get a 1.8V supply is to run on the monitor on the FET debugger (not the USB debugger), or to run from a power supply or a breadboarded regulator. Again, we don't care about power consumption for the monitor, so just get it working :) If you can find a battery of the appropriate voltage, that would work too (but I'm not sure how long it will run for). If you use a WISP for the monitor MCU, you can use the FTDI 3.3V or 5V rail into the unregulated supply, and then take the 1.8V supply on the WISP for the regulated voltage for the IO. You can then also use the voltage sensor circuit on the WISP to sense the device under test (DUT) WISP's unregulated supply. Just be careful when you are wiring things up not to accidentally power the DUT WISP using the monitor.
We'll need to solder RX, TX, and GND from the FTDI board to the MSP430 board. I always get RX and TX backwards the first time, so either study the schematic link (above) carefully, or leave some extra wire to resolder if you get it wrong. Again, if you can use the 3.3V supply on the FTDI board to power the monitor CPU if you have a regulator.
Download the TI sample code to do RS232 transmission and blast away.
- Cap Charge pin connects to Monitor pin directly. Add resistor to prevent direct connection.
The last modification was made by - yeagerd on Apr 26, 2012 9:28 am