Difference between revisions of "S18: M.E.O.W"
146 user15 (talk | contribs) (→Schedule) |
Proj user4 (talk | contribs) |
||
Line 170: | Line 170: | ||
=== <Bug/issue name> === | === <Bug/issue name> === | ||
Discuss the issue and resolution. | Discuss the issue and resolution. | ||
+ | |||
+ | == NXP LPC1700 Series Power Modes == | ||
+ | Below is a tabulation of the features that are enabled or disabled for each power mode. | ||
+ | {| class="wikitable" | ||
+ | |- | ||
+ | ! Features | ||
+ | ! Sleep | ||
+ | ! Deep-sleep | ||
+ | ! Power-down | ||
+ | ! Deep Power-down | ||
+ | |- | ||
+ | | Wake via reset | ||
+ | | Yes | ||
+ | | Yes | ||
+ | | Yes | ||
+ | | Yes | ||
+ | |- | ||
+ | | Wake via RTC interrupt | ||
+ | | Yes | ||
+ | | Yes | ||
+ | | Yes | ||
+ | | Yes | ||
+ | |- | ||
+ | | Wake via NMI | ||
+ | | Yes | ||
+ | | Yes | ||
+ | | Yes | ||
+ | | No | ||
+ | |- | ||
+ | | Wake via EINT0-3 | ||
+ | | Yes | ||
+ | | Yes | ||
+ | | Yes | ||
+ | | No | ||
+ | |- | ||
+ | | Wake via GPIO interrupts | ||
+ | | Yes | ||
+ | | Yes | ||
+ | | Yes | ||
+ | | No | ||
+ | |- | ||
+ | | Wake via Eth WOL interrupt | ||
+ | | Yes | ||
+ | | Yes | ||
+ | | Yes | ||
+ | | No | ||
+ | |- | ||
+ | | Wake via brownout detect | ||
+ | | Yes | ||
+ | | Yes | ||
+ | | Yes | ||
+ | | No | ||
+ | |- | ||
+ | | Wake via watchdog timer | ||
+ | | Yes | ||
+ | | Yes | ||
+ | | Yes | ||
+ | | No | ||
+ | |- | ||
+ | | Wake via USB-active interrupt | ||
+ | | Yes | ||
+ | | Yes | ||
+ | | Yes | ||
+ | | No | ||
+ | |- | ||
+ | | Wake via CAN-active interrupt | ||
+ | | Yes | ||
+ | | Yes | ||
+ | | Yes | ||
+ | | No | ||
+ | |- | ||
+ | | Wake via any other interrupt | ||
+ | | Yes | ||
+ | | No | ||
+ | | No | ||
+ | | No | ||
+ | |- | ||
+ | | Main oscillator? | ||
+ | | Enabled | ||
+ | | Disabled | ||
+ | | Disabled | ||
+ | | Disabled | ||
+ | |- | ||
+ | | IRC oscillator? | ||
+ | | Enabled | ||
+ | | Enabled | ||
+ | | Disabled | ||
+ | | Disabled | ||
+ | |- | ||
+ | | RTC oscillator? | ||
+ | | Enabled | ||
+ | | Enabled | ||
+ | | Enabled | ||
+ | | Optional | ||
+ | |- | ||
+ | | CPU clock? | ||
+ | | Disabled | ||
+ | | Disabled | ||
+ | | Disabled | ||
+ | | Disabled | ||
+ | |- | ||
+ | | Peripheral clocks? | ||
+ | | Enabled | ||
+ | | Enabled | ||
+ | | Disabled | ||
+ | | Disabled | ||
+ | |- | ||
+ | | USB clock? | ||
+ | | Enabled | ||
+ | | Disabled | ||
+ | | Disabled | ||
+ | | Disabled | ||
+ | |- | ||
+ | | Watchdog clock? | ||
+ | | Enabled | ||
+ | | Enabled | ||
+ | | Enabled* | ||
+ | | Disabled | ||
+ | |- | ||
+ | | PLLs? | ||
+ | | Enabled | ||
+ | | Disabled | ||
+ | | Disabled | ||
+ | | Disabled | ||
+ | |- | ||
+ | | Status of Wake-up Interrupt Controller? | ||
+ | | Active | ||
+ | | Active | ||
+ | | Active | ||
+ | | Active | ||
+ | |- | ||
+ | | Status of RTC backup registers? | ||
+ | | Active | ||
+ | | Active | ||
+ | | Active | ||
+ | | Active | ||
+ | |- | ||
+ | | Status of on-chip regulator? | ||
+ | | Active | ||
+ | | Active | ||
+ | | Active | ||
+ | | Active or power-down with external circuitry | ||
+ | |- | ||
+ | | Status of flash memory? | ||
+ | | Standby | ||
+ | | Standby | ||
+ | | Powered-down | ||
+ | | Powered-down | ||
+ | |- | ||
+ | | Status of processor state? | ||
+ | | Preserved | ||
+ | | Preserved | ||
+ | | Preserved | ||
+ | | Powered-down | ||
+ | |- | ||
+ | | Status of processor registers? | ||
+ | | Preserved | ||
+ | | Preserved | ||
+ | | Preserved | ||
+ | | Powered-down | ||
+ | |- | ||
+ | | Status of peripheral registers? | ||
+ | | Preserved | ||
+ | | Preserved | ||
+ | | Preserved | ||
+ | | Powered-down | ||
+ | |- | ||
+ | | Status of SRAM values? | ||
+ | | Preserved | ||
+ | | Preserved | ||
+ | | Preserved | ||
+ | | Powered-down | ||
+ | |- | ||
+ | | Status of chip pin logic levels? | ||
+ | | Preserved | ||
+ | | Preserved | ||
+ | | Preserved | ||
+ | | Powered-down | ||
+ | |- | ||
+ | | Access to flash memory? | ||
+ | | Disabled | ||
+ | | Disabled | ||
+ | | Disabled | ||
+ | | Disabled | ||
+ | |- | ||
+ | | Access to main SRAM? | ||
+ | | Disabled | ||
+ | | Disabled | ||
+ | | Disabled | ||
+ | | Disabled | ||
+ | |- | ||
+ | | Access to AHB SRAM? | ||
+ | | Allowed with GPDMA support | ||
+ | | Allowed with GPDMA support | ||
+ | | Disabled | ||
+ | | Disabled | ||
+ | |- | ||
+ | | Access to peripherals? | ||
+ | | Allowed with GPDMA support | ||
+ | | Allowed with GPDMA support | ||
+ | | Disabled | ||
+ | | Disabled | ||
+ | |- | ||
+ | | Dynamic power? | ||
+ | | Disabled | ||
+ | | Disabled | ||
+ | | Disabled | ||
+ | | Disabled | ||
+ | |- | ||
+ | | Special instructions after wakeup? | ||
+ | | No | ||
+ | | Yes | ||
+ | | Yes | ||
+ | | Yes | ||
+ | |} | ||
== Conclusion == | == Conclusion == |
Revision as of 00:27, 2 May 2018
Contents
Grading Criteria
- How well is Software & Hardware Design described?
- How well can this report be used to reproduce this project?
- Code Quality
- Overall Report Quality:
- Software Block Diagrams
- Hardware Block Diagrams
- Schematic Quality
- Quality of technical challenges and solutions adopted.
Microcontroller Energy Observation Widget (M.E.O.W)
Abstract
This section should be a couple lines to describe what your project does.
Objectives & Introduction
Show list of your objectives. This section includes the high level details of your project. You can write about the various sensors or peripherals you used to get your project completed.
Team Members & Responsibilities
- R "Meow Meow" Nikfar
- Team Lead, PCB Design, Sensor Design and Implementation, Hardware Testing, Power Analysis, Sleep-Mode Firmware
- Ahsan "Whiskers" Uddin
- BeagleBone Testing, Video Capture Implementation, Storage, Sleep-Mode Research
- Nelson "fluffy" Wong
- Deep Power Modes, Power Analysis, Communications
- Britto "Kitty Kat" Thomas
- CAN BUS Low Power Research, Power Analysis
- Sai Kiran "Mittens" Rachamadugu
- Testing, Board Communications, User Interface
Schedule
Show a simple table or figures that show your scheduled as planned before you started working on the project. Then in another table column, write down the actual schedule so that readers can see the planned vs. actual goals. The point of the schedule is for readers to assess how to pace themselves if they are doing a similar project.
Week# | Date | Task | Status |
---|---|---|---|
1 | 03/04 |
|
|
2 | 03/11 |
|
|
3 | 03/18 |
|
|
4 | 03/25 |
|
|
5 | 04/01 |
|
|
6 | 04/08 |
|
|
7 | 04/15 |
|
|
8 | 04/22 |
|
|
9 | 04/29 |
|
|
10 | 05/06 |
|
|
11 | 05/13 |
|
Parts List & Cost
Give a simple list of the cost of your project broken down by components. Do not write long stories here.
Design & Implementation
The design section can go over your hardware and software design. Organize this section using sub-sections that go over your design and implementation.
Hardware Design
Discuss your hardware design here. Show detailed schematics, and the interface here.
Low-Level Hardware
The low-level design starts from the PIR Motion Sensors and ends with the storage of the video data. The LPC1758 plays a big role in the communication of the overall system. The PIR sensors are each connected to the LPC1758 using a GPIO protocol and send signals if an object or and person is within their range. Once the signal is sent from the Sensors, the LPC wakes up and consumes power from the PCB which either uses the power from a plugged source or the backup LIPO battery. LPC then sends the right information to the BeagleBone board using UART protocol.
Hardware Interface
In this section, you can describe how your hardware communicates, such as which BUSes used. You can discuss your driver implementation here, such that the Software Design section is isolated to talk about high level workings rather than inner working of your project.
Software Design
Show your software design. For example, if you are designing an MP3 Player, show the tasks that you are using, and what they are doing at a high level. Do not show the details of the code. For example, do not show exact code, but you may show psuedocode and fragments of code. Keep in mind that you are showing DESIGN of your software, not the inner workings of it.
Implementation
This section includes implementation, but again, not the details, just the high level. For example, you can list the steps it takes to communicate over a sensor, or the steps needed to write a page of memory onto SPI Flash. You can include sub-sections for each of your component implementation.
Testing & Technical Challenges
Describe the challenges of your project. What advise would you give yourself or someone else if your project can be started from scratch again? Make a smooth transition to testing section and described what it took to test your project.
Include sub-sections that list out a problem and solution, such as:
<Bug/issue name>
Discuss the issue and resolution.
NXP LPC1700 Series Power Modes
Below is a tabulation of the features that are enabled or disabled for each power mode.
Features | Sleep | Deep-sleep | Power-down | Deep Power-down |
---|---|---|---|---|
Wake via reset | Yes | Yes | Yes | Yes |
Wake via RTC interrupt | Yes | Yes | Yes | Yes |
Wake via NMI | Yes | Yes | Yes | No |
Wake via EINT0-3 | Yes | Yes | Yes | No |
Wake via GPIO interrupts | Yes | Yes | Yes | No |
Wake via Eth WOL interrupt | Yes | Yes | Yes | No |
Wake via brownout detect | Yes | Yes | Yes | No |
Wake via watchdog timer | Yes | Yes | Yes | No |
Wake via USB-active interrupt | Yes | Yes | Yes | No |
Wake via CAN-active interrupt | Yes | Yes | Yes | No |
Wake via any other interrupt | Yes | No | No | No |
Main oscillator? | Enabled | Disabled | Disabled | Disabled |
IRC oscillator? | Enabled | Enabled | Disabled | Disabled |
RTC oscillator? | Enabled | Enabled | Enabled | Optional |
CPU clock? | Disabled | Disabled | Disabled | Disabled |
Peripheral clocks? | Enabled | Enabled | Disabled | Disabled |
USB clock? | Enabled | Disabled | Disabled | Disabled |
Watchdog clock? | Enabled | Enabled | Enabled* | Disabled |
PLLs? | Enabled | Disabled | Disabled | Disabled |
Status of Wake-up Interrupt Controller? | Active | Active | Active | Active |
Status of RTC backup registers? | Active | Active | Active | Active |
Status of on-chip regulator? | Active | Active | Active | Active or power-down with external circuitry |
Status of flash memory? | Standby | Standby | Powered-down | Powered-down |
Status of processor state? | Preserved | Preserved | Preserved | Powered-down |
Status of processor registers? | Preserved | Preserved | Preserved | Powered-down |
Status of peripheral registers? | Preserved | Preserved | Preserved | Powered-down |
Status of SRAM values? | Preserved | Preserved | Preserved | Powered-down |
Status of chip pin logic levels? | Preserved | Preserved | Preserved | Powered-down |
Access to flash memory? | Disabled | Disabled | Disabled | Disabled |
Access to main SRAM? | Disabled | Disabled | Disabled | Disabled |
Access to AHB SRAM? | Allowed with GPDMA support | Allowed with GPDMA support | Disabled | Disabled |
Access to peripherals? | Allowed with GPDMA support | Allowed with GPDMA support | Disabled | Disabled |
Dynamic power? | Disabled | Disabled | Disabled | Disabled |
Special instructions after wakeup? | No | Yes | Yes | Yes |
Conclusion
Conclude your project here. You can recap your testing and problems. You should address the "so what" part here to indicate what you ultimately learnt from this project. How has this project increased your knowledge?
Project Video
Upload a video of your project and post the link here.
Project Source Code
References
Acknowledgement
Any acknowledgement that you may wish to provide can be included here.
References Used
List any references used in project.
Appendix
You can list the references you used.