background image

5. Sample Application Specifications 

 

10

 

EPSON

 

S5U1C17602T1100 Software Manual

 

5. Sample Application Specifications 

5.1  Use case configuration 

The sample applications are configured as shown in the use case diagram(*) below. 

*  Use case diagram: A diagram used for defining system requirements in UML (Unified Modeling Language). It describes the 

system configuration, surrounding environment, and usage methods from a viewpoint outside the system. 

CT 

Operator 

SVD 

REMC 

ADC 

System 

UC23: Advance time 

UC22: Set time 

UC21: Display time 

UC12: Select function 

UC11: Start the system 

UC31: Display battery level 

UC51: Measure illuminance 

UC61: Inspect switches 

UC62: Inspect LCD 

UC63: Inspect battery 

UC64: Inspect infrared

*

 Ports for switch input and LCD panels can also be regarded as actors, but they are grouped with the operators here.

UC41: Adjust LCD contrast 

LCD 

RFC 

UC71: Measure temperature/humidity 

UC65: Inspect illuminance sensor

UC66: Inspect temperature/humidity sensors

Summary of Contents for S5U1C17602T1100

Page 1: ...Software Manual S5U1C17602T1100 SOFTWARE EVALUATION TOOL FOR S1C17602 ...

Page 2: ...herwise and there is no representation or warranty that anything made in accordance with this material will be free from any patent or copyright infringement of a third party This material or portions thereof may contain technology or the subject relating to strategic products under the control of the Foreign Exchange and Foreign Trade Law of Japan and may require an export license from the Minist...

Page 3: ......

Page 4: ... 6 Battery level BATTERY 6 3 6 1 Battery level 6 3 7 Temperature and humidity RFC DEMO 6 3 7 1 Temperature 6 3 7 2 Humidity 6 3 8 Illuminance ILLUMI 6 3 8 1 Illuminance measurement 6 4 Board Inspection Function Operation 7 4 1 Function overview 7 4 2 Board inspection TEST MODE 7 4 3 Switch inspection 7 4 4 LCD panel inspection 8 4 5 Battery inspection 8 4 6 Illuminance sensor ADC inspection 8 4 7 ...

Page 5: ...2 UC11 Start the system 13 5 3 3 UC12 Select function 14 5 3 4 UC21 Display time 15 5 3 5 UC22 Set time 16 5 3 6 UC23 Advance time 17 5 3 7 UC31 Display battery level 18 5 3 8 UC41 Adjust contrast 19 5 3 9 UC51 Measure illuminance 20 5 3 10 UC71 Measure temperature humidity 21 6 Known Bugs 22 7 Notice 23 ...

Page 6: ...te that the descriptions in this document and the sample application programs are illustrative examples of the SVT17602 functions These descriptions are not intended to assure the safety of the overall system architecture 1 2 Related documents Refer to the S5U1C17001C Manual for detailed compiler specifications and discussions of how to use the GNU17 IDE Refer to SVT17602_HW_manual pdf for detaile...

Page 7: ...t17602_sample_gnu17IDE cmd GDB command file svt17602_ample_gnu17IDE lds Linker script file svt17602_sample_gnu17IDE mak Make file svt17602_sample_gnu17IDE par Parameter setting file 2 2 Run procedures 1 Project import 1 Launch the IDE and import the svt17602_sample project For detailed information on import methods refer to 3 Software Development Procedures in the S5U1C17001C Manual 2 Build 1 Use ...

Page 8: ... CLOCK Time setting CLK ADJUST Sets the time Battery level BATTERY QUANTITY Displays the battery level in the form of a battery symbol Temperature measurement Displays the temperature XX X C Temperature and humidity RFC DEMO Humidity measurement Displays the humidity RH Illuminance ILLUMI Illuminance measurement Displays the illuminance XXXX LUX Test Mode TEST MODE SW port test LCD test SVD test A...

Page 9: ... initialize the peripheral devices and display HELLO17602 on the LCD panel for 3 seconds The display then switches to menu display Press SW1 or the rotary SW as instructed on the LCD panel to call functions 3 4 Function selection menu The following menu is displayed on the LCD panel 14SEG Rotate the rotary SW clockwise or counterclockwise to select from the menu Press SW1 or the rotary SW to enter...

Page 10: ...ime setting CLK ADJUST Press SW1 and SW2 simultaneously in clock display mode to call the clock setting function This function is used to set the clock First set the hours Minutes and seconds will not appear while you set the hours Use the rotary SW to select the correct hour Press SW1 or the rotary SW to confirm hours then proceed to set minutes Adjust minutes using the rotary SW in the same way ...

Page 11: ...thermistor Temperature measurement will continue until the operator presses SW2 Press SW2 to return to the function selection menu display 3 7 2 Humidity This function displays humidity converted input from a humidity sensor Humidity measurement continues until the operator presses SW2 Press SW2 to return to the function selection menu display 3 8 Illuminance ILLUMI 3 8 1 Illuminance measurement T...

Page 12: ...orms inspection to determine whether remote control communication is possible 4 2 Board inspection TEST MODE Select TEST MODE from the menu as described in 2 2 Run Procedures in this document then press SW1 or the rotary SW This launches the program and starts the board inspection 4 3 Switch inspection This inspection confirms that the correct input has been obtained when SW1 SW2 and the rotary SW...

Page 13: ...ore than 3 2 V 32 OR MORE 2 5 V to 2 6 V 26 OR LESS 3 1 V to 3 2 V 32 OR LESS 2 4 V to 2 5 V 25 OR LESS 3 0 V to 3 1 V 31 OR LESS 2 3 V to 2 4 V 24 OR LESS 2 9 V to 3 0 V 30 OR LESS 2 2 V to 2 3 V 23 OR LESS 2 8 V to 2 9 V 29 OR LESS 2 1 V to 2 2 V 22 OR LESS 2 7 V to 2 8 V 28 OR LESS 2 0 V to 2 1 V 21 OR LESS 2 6 V to 2 7 V 27 OR LESS Less than 2 0 V Note that the SVT17602 CPU board cannot detect...

Page 14: ...smission and reception Inspection method The inspected board is referred to here as A and the opposite board as B 1 Download the svt17602_remc_test remote control resistance inspection firmware to B 2 Turn on power to B and reset RCV WAIT is displayed The board awaits transmission 3 When REMC TEST is displayed for A press SW1 to begin sending data from A to B Panel display A TRANS X where X is the...

Page 15: ...nment and usage methods from a viewpoint outside the system CT Operator SVD REMC ADC System UC23 Advance time UC22 Set time UC21 Display time UC12 Select function UC11 Start the system UC31 Display battery level UC51 Measure illuminance UC61 Inspect switches UC62 Inspect LCD UC63 Inspect battery UC64 Inspect infrared Ports for switch input and LCD panels can also be regarded as actors but they are...

Page 16: ...Battery UC2X Clock UC23 does not feature transitions from other UCs since it corresponds to interrupt processing UC31 Display battery level UC23 Advance time UC21 Display time UC22 Set time UC12 Select function UC11 Start the system UC51 Measure illuminance UC61 Inspect switches UC62 Inspect LCD UC63 Inspect battery UC64 Inspect infrared UC7X Thermohygrometer UC71 Measure temperature humidity UC65...

Page 17: ... 3 4 5 6 Describes basic processing details for this use case in chronological order Actions performed by actors actions performed by the system as a result actions performed by actors as a result Describes alternate flows when the process flow includes a branch The left hand number is italicized to indicate the presence of an alternate flow In this example alternate flows exist for basic flows 3 ...

Page 18: ...devices have been initialized 5 The operator presses SW1 as instructed on the LCD panel 6 The system calls UC12 Select function To UC12 Alternate flow If the system detects that SW4 is depressed 3a 1 The system calls UC61 Inspect switches To UC61 Remarks 1 MISC PSC CLG and LCD settings are initialized although they are not involved as actors 2 The peripheral device initialization and settings are ...

Page 19: ...re humidity Post conditions Any of the following Calls UC21 Display time Calls UC31 Display battery level Calls UC41 Adjust LCD contrast Calls UC51 Measure illuminance Calls UC71 Measure temperature humidity Basic flow 1 The system displays Function 1 alphabet on the LCD panel 14SEG Display menu 1 CLOCK 2 BATTERY 3 ILLUMI 4 RFC DEMO 5 CONTRAST 6 TEST MODE 2 The operator rotates the rotary SW to se...

Page 20: ...22 Set time Basic flow 1 The system switches the system clock from OSC1 to OSC3 to reduce power consumption and halts OSC3 2 The system displays the time held internally on the LCD panel 3 The operator presses SW2 to return to function selection 4 The system restarts OSC3 and returns the system clock from OSC1 to OSC3 5 The system calls UC12 Select function To UC12 Alternate flow If the time held ...

Page 21: ...m confirms the hours and switches to minutes setting displayed on the LCD panel Displays the minutes held internally Digits marked XX are not displayed 12 34 XX 7 The operator rotates the rotary SW to adjust minutes Clockwise 1 Counterclockwise 1 8 The system increments or decrements the minutes displayed on the LCD panel 9 The operator presses SW1 to confirm minutes 10 The system confirms minutes...

Page 22: ...sic flow 1 The CT issues a 1 Hz interrupt 2 The system advances the time held internally Seconds Advanced in the sequence 00 01 02 59 After 59 reverts to 00 and increments the minutes count by 1 Minutes Advanced in the sequence 00 01 02 59 After 59 reverts to 00 and increments the hours count by 1 Hours Advanced in the sequence 00 01 02 23 After 23 reverts to 00 3 The system clears the 1 Hz interr...

Page 23: ...d via UC12 Select function Post conditions Calls UC12 Select function Basic flow 1 The system switches the system from OSC3 to OSC1 to reduce power consumption and halts OSC3 2 The system sets the comparison voltage and starts SVD 3 The system displays the battery level based on voltage 5 The system halts the SVD 4 The operator presses SW2 to return to function selection 6 The system restarts OSC3...

Page 24: ...selected and confirmed via UC12 Select function Post conditions Calls UC12 Select function Basic flow 1 The system fully illuminates the LCD panel 2 The operator rotates the rotary SW to adjust contrast Adjustable in 16 steps from 0 to 15 Clockwise 1 Counterclockwise 1 3 The operator presses SW2 to return to function selection 4 The system calls UC12 Select function To UC12 Alternate flow If SW2 i...

Page 25: ...via UC12 Select function Post conditions Calls UC12 Select function Basic flow 1 The system starts A D conversion 2 The system converts the A D values obtained from the thermistor to illuminance 3 The system displays the illuminance on the LCD panel 4 The operator presses SW2 to return to function selection 5 The system halts A D conversion 6 The system calls UC12 Select function To UC12 Alternate...

Page 26: ... UC12 Select function Basic flow 1 The system starts R F conversion 2 The system obtains the counter value using the senA conversion complete interrupt then calculates the temperature 3 The system obtains the counter value using the senB conversion complete interrupt then calculates humidity 4 The system displays the calculated results on the LCD panel 5 The operator presses SW2 to return to funct...

Page 27: ...6 Known Bugs 22 EPSON S5U1C17602T1100 Software Manual 6 Known Bugs Date identified Version Details Revision version ...

Page 28: ...al property rights is granted by implication or otherwise and there is no representation or warranty that anything made in accordance with this material will be free from any patent or copyright infringement of a third party This material or portions thereof may contain technology or the subject relating to strategic products under the control of the Foreign Exchange and Foreign Trade Law of Japan...

Page 29: ...h Road Hi Tech Park Shenzhen 518057 CHINA Phone 86 755 2699 3828 FAX 86 755 2699 3838 EPSON HONG KONG LTD 20 F Harbour Centre 25 Harbour Road Wanchai Hong Kong Phone 852 2585 4600 FAX 852 2827 4346 Telex 65542 EPSCO HX EPSON TAIWAN TECHNOLOGY TRADING LTD 14F No 7 Song Ren Road Taipei 110 TAIWAN Phone 886 2 8786 6688 FAX 886 2 8786 6660 EPSON SINGAPORE PTE LTD 1 HarbourFront Place 03 02 HarbourFron...

Page 30: ...Software Manual S5U1C17602T1100 http www epson jp device semicon_e First Issue February 2009 D Document code 411662000 EPSON Electronic Devices Website SEMICONDUCTOR OPERATIONS DIVISION ...

Reviews: