STM8S103 FASTROM MICROCONTROLLER OPTION LIST (last update: Sept 2009) Customer ................................................................... Address ................................................................... ................................................................... Contact ................................................................... Phone No ................................................................... Reference FASTROM Code*: .................................................... *FASTROM code name is assigned by STMicroelectronics. Preferable format for programing code is .Hex (.s19 can be accepted) If data EEPROM programing is required, a seperate file must be sent with the requested data. IMPORTANT NOTE: SEE OPTION BYTRE SECTION IN THE DATASHEET FOR AUTORIZED OPTION BYTE COMBINATION AND DETAILED EXPLANATION. DO NOT USE MORE THAN ONE REMAPPING OPTION IN THE SAME PORT. IT IS FORBIDDEN TO ENABLE BOTH AFR1 AND AFRO. Device Type/Memory Size/Package (check only one option): ------------------|------------------------------------------------------- FASTROM DEVICE: | 4K 8K ------------------|------------------------------------------------------- LQFP32: | [ ] STM8S103K3 VFQFPN32: | [ ] STM8S103K3 TSSOP20: |[ ] STM8S103F2 [ ] STM8S103F3 Conditioning (check only one option): [ ] Tape & Reel or [ ] Tray Special Marking: [ ] No [ ] Yes Authorized characters are letters, digits, '.', '-', '/' and spaces only. Maximum characters count are: for VFQFPN32: 1 line of 7 characters max: "_ _ _ _ _ _ _" for LQFP32: 2 lines of 7 characters max: "_ _ _ _ _ _ _" and "_ _ _ _ _ _ _" for TSSOP20: 1 line of 10 characters max: "_ _ _ _ _ _ _ _ _ _" Temperature range: [ ] -40°C to +85°C or [ ] -40°C to +125°C Padding value (for unused program memory), select one: [ ]0xFF Fixed value [ ]0x83 TRAP instruction opcode [ ]0x75 Illegal opcode (will cause a reset when executed) OPT0 Memory readout Protection: [ ] Disable or [ ] Enable ------------------------------- OPT1 USER Boot code area (UBC): 0x(_ _) fill in hexadecimal value, refering to Datasheet. ------------------------------- and binary format here below: UBC bit0 reset [ ] or set [ ] UBC bit1 reset [ ] or set [ ] UBC bit2 reset [ ] or set [ ] UBC bit3 reset [ ] or set [ ] UBC bit4 reset [ ] or set [ ] UBC bit5 reset [ ] or set [ ] UBC bit6 reset [ ] or set [ ] UBC bit7 reset [ ] or set [ ] OPT2 Alternate function remapping for STM8S103K: ------------------------------------------------ Do not use more than one remapping option in the same port. It is forbidden to enable both AFR1 and AFR0. AFR0 is reserved AFR1 (select one only) [ ] 0: Remapping option inactive: DEFAULT alternate functions, refer to pinout description [ ] 1: Port A3 alternate function = SPI_NSS, port D2 alternate function = TIM2_CH3 AFR2 is reserved AFR3 is reserved AFR4 is reserved AFR5 (select one only) [ ] 0: Remapping option inactive: DEFAULT alternate functions, refer to pinout description [ ] 1: Port D0 alternate function = CLK_CCO AFR6 (select one only) [ ] 0: Remapping option inactive: DEFAULT alternate functions, refer to pinout description [ ] 1: Port D7 alternate function = TIM1_CH4 AFR7 is reserved OPT2 Alternate function remapping for STM8S103F: ------------------------------------------------ Do not use more than one remapping option in the same port. It is forbidden to enable both AFR1 and AFR0. AFR0 (select one only) [ ] 0: Remapping option inactive: DEFAULT alternate functions, refer to pinout description [ ] 1: Port C5 alternate function = TIM2_CH1, port C6 alternate function = TIM1_CH1, port C7 alternate function = TIM1_CH2 AFR1 (select one only) [ ] 0: Remapping option inactive: DEFAULT alternate functions, refer to pinout description [ ] 1: Port A3 alternate function = SPI_NSS, port D2 alternate function = TIM2_CH3 AFR2 (select one only) [ ] 0: Remapping option inactive: DEFAULT alternate functions, refer to pinout description [ ] 1: Port C4 alternate function = AIN2 ; Port D2 alternate function = AIN3 AFR3 (select one only) [ ] 0: Remapping option inactive: DEFAULT alternate functions, refer to pinout description [ ] 1: Port C3 alternate function = TLI AFR4 (select one only) [ ] 0: Remapping option inactive: DEFAULT alternate functions, refer to pinout description [ ] 1: Port B4 alternate function = ADC_ETR, port B5 alternate function = TIM1_BKIN AFR5 is reserved AFR6 is reserved AFR7 (select one only) [ ] 0: Remapping option inactive: DEFAULT alternate functions, refer to pinout description [ ] 1: Port C3 alternate function = TIM1_CH1N, port C4 alternate function = TIM1_CH2N OPT3 Watchdog: -------------- WWDG_HALT (select one only) [ ] No reset generated on halt if WWDG active [ ] Reset generated on halt if WWDG active WWDG_HW (select one only) [ ] WWDG window watchdog activated by software [ ] WWDG window watchdog activated by hardware IWDG_HW (select one only) [ ] IWDG Independent watchdog activated by software [ ] IWDG Independent watchdog activated by hardware LSI_EN (select one only) [ ] LSI clock is not available as CPU clock source [ ] LSI clock is available as CPU clock source HSITRIM (select one only) [ ] 3-bit trimming supported in CLK_HSITRIMR register [ ] 4-bit trimming supported in CLK_HSITRIMR register OPT4 Wake-up: ------------- PRSC (select one only) [ ] for 16 MHz to 128 kHz prescaler [ ] for 8 MHz to 128 kHz prescaler [ ] for 4 MHz to 128 kHz prescaler CKAWUSEL (select one only) [ ] LSI clock source selected for AWU [ ] HSE clock with prescaler selected as clock source for for AWU EXTCLK (select one only) [ ] External crystal connected to OSCIN/OSCOUT [ ] External clock signal on OSCIN OPT5 Crystal Oscillator stabilization HSECNT select one value: -------------------------------------------------------------- [ ] for 2048 HSE cycles [ ] for 128 HSE cycles [ ] for 8 HSE cycles [ ] for 0.5 HSE cycles OPT6 is RESERVED ---------------- Comments : Supply Operating Range in the application: Notes Date: Signature: