background image

AN3311

Getting started with the system

Doc ID 18209 Rev 1

31/58

Getting started with the system

7.1 

Configure IAR tool for building, debugging, and 
programming the application

Together with the firmware library package, an example application is delivered in order to 
provide the final user with a real example of “In-home display” application usage.

The delivered example application has been written and developed using IAR EWARM 5.40 
IDE and can be built for both STM32F10xxx medium-density and high-density 
microcontroller families. 

The workspace is created using the IAR embedded Workbench 5.40 IDE, using the ARM

®

-

based 32-bit STM32F10xx firmware library (ver. 3.1.2) CMSIS compliant, and in C 
language.

The tree structure of the project is organized separating and grouping the source files with 
the header files, both for the project files and the library files, as shown in 

Figure 10

.

Figure 10.

Application project files

In order to load the project, click on File\Open\Workspace and in the window that appears 
select, in \project folder\EWARM, the file “Project.eww”.

Summary of Contents for AN3311

Page 1: ...cted Section 1 describes the document and library rules Section 2 highlights the features of the ZigBee smartplug and explains its hardware interface with a device microcontroller STM32 Section 3 describes briefly the multi input embedded GUI library Section 4 describes the relevant blocks of the STM3210C EVAL demonstration board Section 5 shows the demonstration firmware board system setup Sectio...

Page 2: ...on 15 4 5 Clock source 16 4 6 Reset source 16 4 7 Joystick 17 4 8 Pushbuttons 17 4 9 Storage memory 17 4 10 Development and debug support 17 4 11 Display and input devices 17 4 12 JTAG debugging connector CN13 18 4 13 Daughterboard extension connector CN8 and CN9 19 4 14 TFT LCD connector CN14 23 4 15 Power connector CN18 23 5 Demonstration firmware system setup 24 5 1 Hardware requirements 24 5 2...

Page 3: ...AR tool for building debugging and programming the application 31 7 2 Example application main c 33 8 In home display GUI application 38 9 Schematics 45 9 1 Smartplug board schematics and layout 45 9 2 ZigBee RF adapter for smartplug and dual interface memory 46 9 3 STM3210C 47 9 4 MCU 48 9 5 LCD 49 9 6 I O expander 50 9 7 I O peripherals 51 9 8 Extension connector 52 9 9 JTAG and trace 53 9 10 Po...

Page 4: ...ugging connector CN13 18 Table 7 Daughterboard extension connector CN8 19 Table 8 Daughterboard extension connector CN9 21 Table 9 ZigBee adapter pin description 24 Table 10 Function description format 26 Table 11 vSmartPlugSamplingTask task 27 Table 12 vGraphicLibraryTask task 28 Table 13 prvApplicationTask task 29 Table 14 prvSetupHardware function 29 Table 15 vBoardInit function 30 Table 16 Doc...

Page 5: ... ZigBee dongle connection problem 38 Figure 14 Main menu 38 Figure 15 Searching plugs 39 Figure 16 No plug detected 40 Figure 17 Plugs detected 40 Figure 18 Label changing 41 Figure 19 TRIAC smartplug management 41 Figure 20 Relay smartplug management 42 Figure 21 Smartplug statistics 42 Figure 22 Energy consumption 43 Figure 23 Global energy consumption 43 Figure 24 Power consumption 44 Figure 25...

Page 6: ...described in the sections below 1 1 Acronyms Table 1 lists the acronyms used in this document Table 1 List of acronyms Acronym Meaning API Application programming interface HAL Hardware abstraction layer MCU Microcontroller unit I2 C Inter integrated circuit SPI Serial to parallel interface OOP Object oriented programming ...

Page 7: ...rtplug coordinator and the I2 C RF dual interface EEPROM M24LR64 r The Gerber files of the adapter board are included in the setup package of this project The ZigBee smartplug board can be used as a guide to build a home building automation subsystem for energy management In a typical application the board is plugged into an electrical wall socket and supplies an electrical load monitoring the ene...

Page 8: ...ad connected to the smartplug board can be displayed locally on an LCD screen and are sent to a ZigBee data concentrator through the home building ZigBee network 2 2 ZigBee module ZigBee smartplug communication is based on the SPZB260 module with a DIL adapter The module is FCC compliant FCC ID S9NZB260A The module is based on the SN260 ZigBee network processor which integrates a 2 4 GHz IEEE 802 ...

Page 9: ...s a structure containing public properties data fields and methods functions pointers The OOP encapsulation feature is assured The library has been developed and tested on the STM3210C STMicroelectronics demonstration board The library can be included in the final application as a library file multi input embedded GUI library a and used as a black box through its exported public API or can be incl...

Page 10: ...11 R5 R56 10 10K 3V 3V3 I2C devic deviceaddress 0x8 address 0x8 2 I2C devic deviceaddress 0x8 address 0x88 3V 3V3 3V 3V3 R5 R57 100 100K R5 R58 100 100K TouchScreen_X TouchScreen_X TouchScreen_X TouchScreen_X TouchScreen_Y TouchScreen_Y TouchScreen_Y TouchScreen_Y EXP EXP_I _IO2 EXP EXP_I _IO3 EXP EXP_I _IO4 EXP EXP_I _IO5 EXP EXP_I _IO6 EXP EXP_I _IO7 EXP EXP_I _IO8 EXP EXP_I _IO9 EXP EXP_I _IO1 ...

Page 11: ...AN3311 STM3210C EVAL demonstration board Doc ID 18209 Rev 1 11 58 4 STM3210C EVAL demonstration board Figure 4 STM3210C EVAL demonstration board ...

Page 12: ...ction Inductor motor control connector JTAG and trace debug support 3 2 240x320 TFT color LCD with touchscreen Joystick with 4 direction control and selector Reset wake up tamper and user button 4 color LEDs RTC with backup battery MCU consumption measurement circuit Extension connector for daughterboard or wrapping board 4 2 STM32 peripherals mapping The STM3210C EVAL demonstration board is desig...

Page 13: ... 02 OYSTICK EXPANDER 4OUCHSCREEN 53 INI CONNECTOR 53 POWER SWITCH NTEGRATED 2 CONNECTOR 0 9 6 REGULATOR 5 CONSUMPTION MEASUREMENT S KEY XTENSION CONNECTOR FOR 0 S 4 4 ICRO3 CARD CONTROL CONNECTOR 4 4RACE CONNECTOR 0OTENTIOMETER ATTERY VOLTAGE MEASUREMENT 0 30 EBUG 4 53 24 53 24 TRANSCEIVER TRANSCEIVER 23 TRANSCEIVER R TRANSCEIVER 3MART CARD INTERFACE CONNECTOR CONNECTOR 53 24 CONNECTOR 3MART CARD ...

Page 14: ...sources for the power supply 5 V DC power adapter connected to CN18 the power jack on the board PSU on silk screen for power supply unit 5 V DC power with 500 mA limitation from CN2 the USB mini AB connector USB on silkscreen 5 V DC power from both CN8 and CN9 the extension connector for the daughterboard DTB for daughterboard on silkscreen V 1 0RWRU FRQWURO 1 1 56 1 86 0LFUR 5 1 1 WHQVLRQ KHDGHU ...

Page 15: ...iption Configuration JP25 JP25 selects one of the three possible power supply resources For power supply jack CN18 to the STM3210C EVAL only JP25 is set as shown Default For power supply from the daughterboard connectors CN8 and CN9 to the STM3210C EVAL only JP25 is set as shown For power supply from USB CN2 to the STM3210C EVAL only JP25 is set as shown For power supply from power supply jack CN1...

Page 16: ... connector CN13 and trace connector CN12 Daughterboard from CN9 RS 232 connector CN6 for ISP Table 3 Boot related switches Switch Boot from Configuration SW1 and SW2 STM3210C EVAL boots from user Flash when SW2 is set as shown on the right SW1 setting does not matter in this configuration Default STM3210C EVAL boots from system memory when SW1 and SW2 are set as shown STM3210C EVAL boots from embe...

Page 17: ... address 0xA0 4 10 Development and debug support The two debug connectors available on the STM3210C EVAL demonstration board are 1 CN13 standard 20 pin JTAG interface connector which is compliant with the debug tools of ARM7 and ARM9 2 CN12 SAMTEC 20 pin connector FTSH 110 01 L DV for both SWD and trace which is compliant with ARM CoreSightTM debug tools 4 11 Display and input devices The 3 2 TFT ...

Page 18: ... 25 VCI 3 3 V 26 GND GND 27 GND GND 28 BL_VDD 5 V 29 SDO PC11 30 SDI PC12 31 XL I O Expander 32 XR I O Expander 33 YD I O Expander 34 YU I O Expander Table 5 LCD module continued 3 2 TFT LCD with touchscreen CN14 default Pin on CN14 Description Pin connection Table 6 JTAG debugging connector CN13 Pin number Description Pin number Description 1 3 3 V power 2 3 3 V power 3 PB4 4 GND 5 PA15 6 GND 7 P...

Page 19: ...he corresponding function block on the STM3210C EVAL demonstration board 11 RTCK 12 GND 13 PB3 14 GND 15 RESET 16 GND 17 DBGRQ 18 GND 19 DBGACK 20 GND Table 6 JTAG debugging connector CN13 continued Pin number Description Pin number Description Table 7 Daughterboard extension connector CN8 Pin Description Alternate function How to disconnect with function block on STM3210C EVAL board 1 GND 3 PC7 M...

Page 20: ...r disconnect USB cable 14 PA13 TMS SWDIO 16 PA14 TCK SWCLK 18 PC11 SPI1_MISO Remove R135 and LCD 20 PA15 TDI 22 PD0 CAN1_RX Remove R44 24 PD2 MC Disconnect STM3210C EVAL board from motor power drive board 26 PD4 LD4 Remove R97 28 PD6 USART2_RX Keep JP16 open 30 GND 32 34 PB4 TRST Keep JP20 open 36 PB6 CAN2_TX I2C1_SCK Keep JP9 open 38 PE0 MC Micro SD card detection Remove micro SD card Disconnect ...

Page 21: ...en Disconnect STM3210C EVAL board from motor power drive board 5 PD12 Ethernet Remove RS2 7 PD10 Ethernet smartcard Keep JP11 open 9 PC13 button B3 IDD_CNT_EN Anti tamper button B4 Keep JP1 open 11 RESET 13 PB15 I2S_DIN 15 PB13 I2S_CK Ethernet Remove RS3 17 PB11 Ethernet Remove RS3 19 D5V 21 PE14 Smartcard_CMDVCC Remove R166 23 25 PE12 MC Disconnect STM3210C EVAL board from motor power drive board...

Page 22: ...10 Ethernet Remove RS2 20 PE15 MC Remove R139 22 PE13 MC Disconnect STM3210C EVAL board from motor power drive board 24 26 PE11 MC Disconnect STM3210C EVAL board from motor power drive board 28 PE9 MC 30 GND 32 PB2 MC Remove R168 34 PB0 MC Remove R167 36 PC4 Potentiometer Remove R103 38 PA6 IDD_Measurement Remove R79 40 PA5 MC Remove R84 42 PA3 MC Ethernet Keep JP10 open 44 PA1 Ethernet Keep JP3 o...

Page 23: ...module board MB785 4 15 Power connector CN18 The STM3210C EVAL demonstration board can be powered from a DC 5 V power supply via the external power supply jack CN18 shown in Figure 8 The central pin of CN18 must be positive Figure 8 Power supply connector CN18 viewed from the front For more information on STM3210C EVAL please refer to the UM0600 user manual V 1 9 ...

Page 24: ...umper JP19 Keep JP15 open Remove R79 R84 and R169 5 3 STM3210C EVAL and ZigBee adapter with M24LR62 r memory Table 9 ZigBee adapter pin description STM32 pin no Pin name STM3210C EVAL I O assignment Extension connector pin no ZigBee adapter I O assignment VDD 3 3 V CN8 Pin 48 VCC_3V3 VSS GND CN9 Pin 50 GND 29 PA4 SPI1_NSS CN9 Pin 41 ZIG_SS 30 PA5 SPI1_CLK CN9 Pin 40 ZIG_SCLK 31 PA6 SPI1_MISO CN9 P...

Page 25: ... of the system user interface a 320 x 240 TFT LCD display a resistive touchscreen a 5 way left right up down selection micro joystick and a pushbutton Key The joystick is primarily used for navigating between the various menu screens within a screen and between screen items In addition the joystick allows the selection and editing of item values ...

Page 26: ...planation of how the function is executed Input parameter x Description of the input parameters Output parameter x Description of the output parameters Return value Value returned by the function Required preconditions Requirements before calling the function Called functions Other library functions called AM08462v1 on InHome Display Firmware Architecture F r plicati Layer SmartPlug Coordinator Zi...

Page 27: ...artPlugList 0 Energy smart_points1B i N_SAMPLES ppSmartPlugList 0 Power if ppSmartPlugList 1 smart_points2 i N_SAMPLES ppSmartPlugList 1 Energy smart_points2B i N_SAMPLES ppSmartPlugList 1 Power i if i N_SAMPLES i 0 for int j 0 j N_SAMPLES j smart_points1 j 0 smart_points1B j 0 smart_points2 j 0 smart_points2B j 0 if i 8 0 Table 11 vSmartPlugSamplingTask task Function name vSmartPlugSamplingTask F...

Page 28: ...ording to the object pressed Example static void vGraphicLibraryTask void pvParameters Menu Initialization MENU_DeInit CursorShow 195 50 Infinite main loop while 1 ProcessTouchScreenData Time out calculate for power saving mode TimeOutCalculate ifdef USE_STM3210C_EVAL if restart_calibration 1 TS_Calibration restart_calibration 0 MENU_DeInit CursorReadJoystick IOEXP_MODE TSC_Read else Table 12 vGra...

Page 29: ...ble 14 describes the prvSetupHardware function Table 13 prvApplicationTask task Function name prvApplicationTask Function prototype void prvApplicationTask void pvParameters Behavior description Start the Smartplug Coordinator Application routine Input parameter x None Output parameter x None Return value None Required preconditions None Called functions No API HAL layer functions Table 14 prvSetu...

Page 30: ... the board vBoardInit EZSP_Init init OBJ Coordinator 6 2 5 vBoardInit Table 15 describes the vBoardInit function This function is intended to initialize the hardware peripheral of the STM3210C EVAL board and the graphic library hardware parameters Regarding the file menu c it just uses the API function of the graphic library and some others of the ZigBee stack for smartplug for more information pl...

Page 31: ... 5 40 IDE and can be built for both STM32F10xxx medium density and high density microcontroller families The workspace is created using the IAR embedded Workbench 5 40 IDE using the ARM based 32 bit STM32F10xx firmware library ver 3 1 2 CMSIS compliant and in C language The tree structure of the project is organized separating and grouping the source files with the header files both for the projec...

Page 32: ... or warning should appear once compiling has completed Connect the J Link tool to the USB port of the PC and connect the flat cable with the programming adapter Plug the adapter into the dongle connector Press the debug icon CTRL D or click project debug The debugger starts to download the firmware to the dongle through the J Link debugger programmer Press the Go button F5 or click debug go in ord...

Page 33: ... configuration and implements the classic operations Standard includes include stdio h Scheduler includes include FreeRTOS h include task h include queue h include semphr h Library includes include stm32f10x h include stm32f10x_it h include STM3210c_eval_lcd h include LcdHal h SB Demo app includes include flash h include partest h include common h include micro_clocks_irqs h include micro h includ...

Page 34: ...SC_EXTI_LINE EXTI_Line14 define JOY_EXTI_LINE EXTI_Line14 define TSC_GPIO_PORT GPIOA define TSC_GPIO_PIN GPIO_Pin_14 define TSC_I2C_DEVICE_REGISTER 0x82 define JOY_I2C_DEVICE_REGISTER 0x88 define M24LR64_I2C_DEVICE_REGISTER 0x24 define TSC_I2C_PORT I2C1 User Button GPIO Port and Pin ifdef USE_STM3210C_EVAL define USER_BUTTON_PORT GPIOB define USER_BUTTON_PIN GPIO_Pin_9 elif USE_STM3210E_EVAL defin...

Page 35: ...mainCHECK_DELAY portTickType 5000 portTICK_RATE_MS Task priorities define EMBER_Task tskIDLE_PRIORITY 3 define APPLICATION_Tick_Task tskIDLE_PRIORITY 2 define mainINIT_TASK_PRIORITY tskIDLE_PRIORITY 1 The period of the system clock in nano seconds This is used to calculate the jitter time in nano seconds define mainNS_PER_CLOCK unsigned portLONG 1 0 double configCPU_CLOCK_HZ 1000000000 0 Configure...

Page 36: ...m NewJoyHwParamObj pBtnParam NewBtnHwParamObj prvSetupHardware Start the tasks FreeRTOS API xTaskCreate vEmberTickTask EMBER configMINIMAL_STACK_SIZE NULL EMBER_Task xEmberTaskHandle xTaskCreate vSmartPlugSamplingTask signed portCHAR SmartPlugSampling configMINIMAL_STACK_SIZE NULL tskIDLE_PRIORITY xSmartSamplingTaskHandle xTaskCreate vGraphicLibraryTask signed portCHAR GraphicLibrary configMINIMAL...

Page 37: ...troller It can be decreased to reduce the power consumption The clock rate assumptions are System HCLK 72 MHz Low speed peripheral PCLK1 72 MHz High speed peripheral PCLK2 36 MHz Analog to digital converter ADCCLK 36 MHz The interrupt setting situation is very similar to clock distribution The library functions involved with interrupt managing do not take the priorities into account they only perf...

Page 38: ... the resistors R79 R84 and R169 have not been removed from the STM3210C EVAL the following screen is shown Figure 13 ZigBee dongle connection problem After a board reset if the firmware is correctly loaded into the Flash memory and the board power is correctly supplied the main screen is displayed as shown in Figure 14 Figure 14 Main menu ...

Page 39: ... Plugs is selected the coordinator scans for smartplug devices for a certain length of time and the display shows the following screens in loop Figure 15 Searching plugs After that if some plugs are connected it adds them to the smartplug list and then shows the home screen ...

Page 40: ...en is shown Figure 17 Plugs detected There are three main buttons identify modify and control They allow to manage the smartplug device The Identify button is useful to activate the LED flashing on the relative plug so this way the user can easily identify which plug they are going to manage through the GUI If Modify is clicked the user can change the label of the selected plug through the screen ...

Page 41: ...ck on the Apply button in order to save the information and set the label also in the plug device via ZigBee protocol When Control is clicked it is possible to switch ON OFF the smartplug in case of relay type or regulate the output power in case of TRIAC type The following screens show both possibilities Figure 19 TRIAC smartplug management ...

Page 42: ...plug management In the home screen by clicking on Statistics it is possible to see the electrical consumption of the single smartplug device or the total consumption related to all plugs connected to the smartplug coordinator The following screen is shown Figure 21 Smartplug statistics ...

Page 43: ...he following screen representing the energy consumption of the selected smartplug device is shown Figure 22 Energy consumption When Global Energy is clicked the following screen representing the energy consumption of the whole smartplug network is shown Figure 23 Global energy consumption ...

Page 44: ...e 24 Power consumption When Global Power is clicked the following screen representing the power consumption of the whole smartplug network is shown Figure 25 Global power consumption When the Refresh button is clicked it is possible to make a refresh of the graph chart in relation to the sampled points of the power consumption When the Home button is clicked it returns to the home screen ...

Page 45: ...Keep JP15 open PE5 PE3 PE6 Prior to using this adapter remove the required resistance from the STM3210C Eval Board PE4 SMD 7 8mm diameter 5 3mm height R3 4k7 R3 4k7 J2 ZigBee CONN1 J2 ZigBee CONN1 1 2 3 4 5 6 R2 4k7 R2 4k7 JP2 Jumper JP2 Jumper 2 3 1 JP1 Jumper JP1 Jumper 2 3 1 R1 4k7 R1 4k7 CN8 Header 25x2 Female Bottom CN8 Header 25x2 Female Bottom 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19...

Page 46: ...Schematics AN3311 46 58 Doc ID 18209 Rev 1 9 2 ZigBee RF adapter for smartplug and dual interface memory Figure 27 ZigBee and dual interface EEPROM adapter layout for STM3210C EVAL ...

Page 47: ...kTemperature MC_BusVoltage MC_EnIndex MC_EmergencySTOP MC_CurrentA MC_CurrentB MC_CurrentC MC_PFCsync1 MC_PFCsync2 LCD_CS RESET LED4 LED3 LED1 LED2 Potentiometer Anti_Tamper WAKEUP User_Button TDI TRACE_D3 TRACE_D2 TRACE_D1 TRACE_D0 TRACE_CK TRST TMS SWDIO TCK SWCLK TDO SWO IDD_Measurement IDD_CNT_EN VBAT_Voltage_OUT SPI3_SCK SPI3_MISO SPI3_MOSI MicroSDCard_CS USB_OverCurrent MicroSDCard_Detection...

Page 48: ...TRACE_D2 TRACE_D1 TRACE_D0 TRACE_CK TRST TMS SWDIO TCK SWCLK TDO SWO IDD_CNT_EN VBAT_Voltage_OUT SPI3_SCK SPI3_MISO SPI3_MOSI MicroSDCard_CS PE0 PE1 PE2 PE3 PE4 PE5 PE6 PE7 PE8 PE9 PE10 PE11 PE12 PE13 PE14 PE15 PC0 PC1 PC2 PC3 PC4 PC5 PC6 PC7 PC8 PC9 PC10 PC11 PC12 PC13 USB_OverCurrent MicroSDCard_Detection PA 0 15 PA 0 15 PB 0 15 PB 0 15 PC 0 15 PC 0 15 PD 0 15 PD 0 15 PE 0 15 PE 0 15 MII_TXD0 MI...

Page 49: ...ontrol 23 BL_GND 22 PD1 6 PD2 7 PD3 8 PD4 9 PD5 10 PD6 11 PD7 12 PD8 13 PD10 14 PD11 15 PD12 16 PD13 17 PD14 18 PD15 19 PD16 20 PD17 21 SDO 29 SDI 30 XL 31 XR 32 YD 33 YU 34 CN14 3 2 LCD_connector MB785 with AM 240320D4TOQW T00H R CS 1 SCL 2 SDI 3 RS 4 WR 5 RD 6 RESET 8 VDD 9 VCI 10 SDO 7 GND 11 GND 12 BL_VDD 13 BL_Control 14 BL_GND 15 BL_GND 16 CN15 2 4 LCD connector MB542 with AM240320L8TNQW 00H...

Page 50: ... 4 SDAT 5 VCC 6 Data in 7 IN0 8 IN1 9 GND 10 IN2 11 IN3 12 X 13 Vio 14 Y 15 X 16 U8 STMPE811 R56 10K 3V3 I2C deviceaddress 0x82 I2C deviceaddress 0x88 3V3 3V3 R57 100K R58 100K IO_Expander_SCK IO_Expander_SDA IO_Expander_INT TouchScreen_X TouchScreen_X TouchScreen_Y TouchScreen_Y EXP_IO2 EXP_IO3 EXP_IO4 EXP_IO5 EXP_IO6 EXP_IO7 EXP_IO8 EXP_IO9 EXP_IO10 EXP_IO11 EXP_IO12 EXP_IO1 R160 10K R159 0 3V3 ...

Page 51: ... 2 3 4 5 CN11 VB334 BNC2 SB4 R112 50 R113 50 SB3 PA7 PB0 EEPROM_SCK EEPROM_SDA E0 1 E1 2 E2 3 VSS 4 SDA 5 SCL 6 WC 7 VCC 8 U17 M24C64 WMN6 3V3 R107 10K JP17 C91 100nF PB6 PB7 MEMS_SCK MEMS_SDA MEMS_INT1 MEMS_INT2 VDD_IO 1 GND 2 Reserved 3 GND 4 GND 5 VDD 6 CS 7 INT1 8 INT2 9 GND 10 Reserved 11 SDO 12 SDA 13 SCL 14 U16 LIS302DL 3V3 R106 10K 3V3 C92 100nF PB7 PB6 To IO expander R117 220K 1 4 3 2 B2 ...

Page 52: ...D5V PA 0 15 PA 0 15 PB 0 15 PB 0 15 PC 0 15 PC 0 15 PD 0 15 PD 0 15 PE 0 15 PE 0 15 RESET RESET t h g i R t f e L PA0 PA1 PA2 PA3 PA4 PA5 PA6 PA7 PA8 0 1 A P 9 A P PA11 3 1 A P 2 1 A P PA14 PA15 PB0 PB1 PB2 4 B P 3 B P 6 B P 5 B P PB7 9 B P 8 B P PB10 PB11 PB12 PB13 PB14 PB15 PE0 PE1 3 E P 2 E P 5 E P 4 E P PE6 PE7 PE8 PE9 PE10 PE11 PE12 PE13 PE14 PE15 PC0 PC1 PC2 PC3 PC4 PC5 PC6 8 C P 7 C P PC9 1...

Page 53: ...1 L DV 3V3 R121 10K R125 10K R122 10K R123 10K R118 N A 3V3 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 CN13 JTAG 3V3 3V3 R127 10K R128 10K R126 10K JP20 R124 10K R1290 R119 N A R1300 R120 N A TDI RESET TRACE_D3 TRACE_D2 TRACE_D1 TRACE_D0 TRACE_CK TRST TMS SWDIO TCK SWCLK TDO SWO Trace connector JTAG connector KEY PA13 PA14 PB3 PA15 PB4 PE6 PE5 PE4 PE3 PE2 ...

Page 54: ...ltage Vin 3 GND 1 Vout 2 U19 LD1086D2M33 C79 220uF C75 10uF C80 100nF 5V TP10 3V3 SV 1 SG 2 CV 3 CG1 4 CG2 5 CG3 6 U20 BNX002 01 C74 10uF E5V TP11 5V 5V R148 1K5 1 2 LD7 red TP12 Ground 1 3 2 CN18 DC 10B Z1 SMAJ5 0A TR C77 100nF 1 2 3 U18 ZEN056V130A24LS 3V3 D5V E5V VBAT 6 VSS_5 10 VDD_5 11 VSSA 19 VREF 20 VREF 21 VDDA 22 VSS_4 27 VDD_4 28 VSS_1 49 VDD_1 50 VSS_2 74 VDD_2 75 VSS_3 99 VDD_3 100 U9B...

Page 55: ...C VSYNC VDD C3 1uF 50V R3 4K7 R2 4K7 SDI SDO RD RS Solderedfor Serial interfaceonly Solderedfor i80 system16 bit interface The 34 pin connector to motherboard for both serial and 16 bit interface Compatible with MB694 with touchscreen signals added on pin 31 34 CS RS WR RD RESET VDD BLGND BLVDD BL_Control PD1 PD2 PD3 PD4 PD5 PD6 PD7 PD8 PD10 PD11 PD12 PD13 PD14 PD15 PD16 PD17 SDO SDI A K Z1 STPS1L...

Page 56: ... AN3128 application note 2 RM0008 reference manual 3 STM32F10xFWLib 3 2 1 help file 4 STM811 datasheet 5 TN0074 technical note 6 UM0608 user manual 7 STEVAL IHP001V3 schematics diagram 8 AN2993 application note 9 M24LR64 r datasheet 10 AN2972 application note ...

Page 57: ...AN3311 Revision history Doc ID 18209 Rev 1 57 58 11 Revision history Table 16 Document revision history Date Revision Changes 14 Dec 2010 1 Initial release ...

Page 58: ...WARRANTIES OF MERCHANTABILITY FITNESS FOR A PARTICULAR PURPOSE AND THEIR EQUIVALENTS UNDER THE LAWS OF ANY JURISDICTION OR INFRINGEMENT OF ANY PATENT COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT UNLESS EXPRESSLY APPROVED IN WRITING BY AN AUTHORIZED ST REPRESENTATIVE ST PRODUCTS ARE NOT RECOMMENDED AUTHORIZED OR WARRANTED FOR USE IN MILITARY AIR CRAFT SPACE LIFE SAVING OR LIFE SUSTAINING APPLICAT...

Reviews: