Integrated Peripheral Utilization and Software Development Status for Microcontroller Projects
This document outlines the software design considerations and current development status for a microcontroller project utilizing integrated peripherals such as PWM, UART, I2C, and ATD. It details the progress of various components including the completion of the PWM and UART transmission, while highlighting the pending tasks for UART reception, ATD, and I2C. Additionally, the registration initializations necessary for successful operation and flow charts for both Raspberry Pi and Atom motherboard deployments are presented. The programming details and necessary libraries, including OpenCV and SimpleCV, are also discussed.
Integrated Peripheral Utilization and Software Development Status for Microcontroller Projects
E N D
Presentation Transcript
Software Design Narrative Team 1 Hang Xie
Software Design Considerations • Utilization of integrated peripherals pwm, uart, i2c, atd • Computer vision library OpenCV or SimpleCV
Software development status • MicroController part: PWM done UART transmitting done UART receive part not done ATD not done I2C not done • Intelligent part UART done Simple CV not done Atom Motherboard
Software development status • Register initializations required PWM UART I/O OCxCON1 U1BRG TRISB OCxCON2 U1TXIPx OCxR U1STA OCxRS MODE PSS register
Software Design Considerations • Port names/addresses: Programming port: RP1, RP0,VSS,VDD,MCLR PWM1: RP6 PWM2: RP7 PWM3: RP8 PWM4: RP9 PWM5: RP14 PWM6: RP29 UART_RX: RP11 UART_TX:RP12 I2C_SDA : RP10 I2C_SCL: RP17 I/O: RP3, RP4, RP30, RP16, RP23
Software Design Narrative Shareware sources • pySerial : Serial(port,9600), flushInput(), read(), write() • Raspbian • SimpleCV • OpenCV My own modules • pwm_init( ) • pwm_con( ) • uart_init( ) • uart_get( ) • uart_put( ) • atd_init( ) • Init_all( )