Home

View - Element14

image

Contents

1. 17 6 Remote connection option 18 6 1 Remote connection connector CN7 18 6 2 Analog axis selection JP15 jumper 19 7 STM32 MEMS development kit 20 2 42 Doc ID 15703 Rev 1 ky UMO0701 Contents 7 1 MEMS LIGA 1 escpaced een oc dies PERLE HR UR Ph te co Doce a p ELE Eus 20 7 2 MEMS Library functions reference 21 7 2 1 MEMS_ANL_Setup function 22 7 2 2 MEMS ANL Drive FSfunction 22 7 2 3 MEMS ANL Drive PD function 23 7 2 4 MEMS_ANL_ADC_Restart function 23 7 2 5 MEMS_ANL_Get_Axis function 23 7 2 6 MEMS DIG Setup Int1 function 24 7 2 7 MEMS DIG Setup Int2 function 24 7 2 8 MEMS SPI Setup function 24 7 2 9 MEMS_SPI_WriteReg function 25 7 2 10 MEMS_SPI_ReadReg function 25 7 2 11 MEMS SPI SendFrame function 26 7 2 12 MEMS SPI ReceiveFrame function 26 7 2 13 MEMS 2C Setup function 27 7 2 14 MEMS I2C Set Addressfunction 27 7 2 15
2. 24 MEMS SPI Setup function 24 MEMS SPI WriteRegfunction 25 MEMS SPI ReadReg function 25 MEMS SPI SendFramefunction 26 MEMS SPI ReceiveFrame function 26 MEMS I2C Setup function 27 MEMS DC Set Address funchon ees 27 MEMS I2C WriteRegfunction 27 MEMS I2C ReadRegfunction 28 MEMS I2C SendFrame function 28 MEMS I2C ReceiveFrame function 29 egi 38 Document revision history 41 Doc ID 15703 Rev 1 ky UMO0701 List of figures List of figures Figure 1 STEVAL MKIO32V1 STM32 MEMS demonstration board top view 1 Figure 2 System with STM32 MEMS demonstration board 7 Figure 3 STM32 MEMS demonstration board layout 8 Figure 4 Connecting MEMS demonstration board to STM32 MEMS board nau ssauaaaaa nnna 9 Figure 5 STM3210B EVAL board with STM32 MEMS board connected na naaaas anaana 10 Figure 6 SetupforanalogMEMS n 10 Figure 7 Setup for d
3. elder czJepeeH Z X Jepeen T CN C st 10 CO P OOD e X 0L 193908 OLdf HUI Lu H ze CN KINO Sdf ACE td QNO c JepeeH 6dr 005 oas 6dr Z JepeeH 8 Zd 10S OQS 70S OGS Sdn Zar Z JepeeH Z JepeeH Z JepeeH E 9d xas ke Ss var ONS Xas AEE ONE SOT Sdn bdr c JopeeH c JopeeH c JopeeH Zd 10S OAS 6d OAS ear ZLNOn Zar ALNO INO OX30L LH AGE Doc ID 15703 Rev 1 40 42 UMO0701 Revision history Revision history Table 32 Document revision history Date 01 Jul 2009 Revision 1 Initial release Changes Doc ID 15703 Rev 1 41 42 UMO0701 Please Read Carefully Information in this document is provided solely in connection with ST products STMicroelectronics NV and its subsidiaries ST reserve the right to make changes corrections modifications or improvements to this document and the products and services described herein at any time without notice All ST products are sold pursuant to ST s terms and conditions of sale Purchasers are solely responsible for the choice selection and use of the ST products and services described herein and ST assumes no liability whatsoever relating to the choice selection or use of the ST products and services described herein No license express or implied by estoppel or otherwise to any intellectual property ri
4. N UM0701 di User manual Getting started with the STEVAL MKIO32V1 STM32 MEMS demonstration board 1 Introduction This user manual describes the STEVAL MKI032V1 STM32 MEMS demonstration board which serves as interface between the STM32 demonstration board STMicroelectronics STM3210B EVAL STM3210E EVAL IAR KickStart Kit for STM32 and the MEMS demonstration board any STEVAL MKIOxxVx compatible with DIL24 socket The STM32 MEMS demonstration board comes with a development kit a firmware package for the STM32 microcontroller family which includes a library examples demonstration applications and application hints The aim of this development kit is to provide a simple interface to analog and digital MEMS accelerometers together with demonstration applications that utilize this interface The STMS32 family of 32 bit Flash microcontrollers is based on the breakthrough ARM Cortex M3 a core specifically developed for embedded applications The STM32 family benefits from the Cortex M3 architectural enhancements including the Thumb 2 instruction set to deliver improved performance with better code density significantly faster response to interrupts all combined with industry leading power consumption The STM32 family is built to offer new degrees of freedom to MCU users It offers a complete 32 bit product range that combines high performance real time low power and low voltage operation while maintaining full integrati
5. u8 i u8 i2c buffer 6 t mems data MEMS Data 0 0 0 0 0 0 Setup STM32 system clock and other peripherals here jen ow Setup all peripherals related to digital MEMS MEMS I2C Setup LIS302DL I2C ADDR Wait 40ms after reset to let the MEMS turn on from power down Delay 40 Check who am i value MEMS I2C ReadReg LIS302DL WHO AM I amp i if i LIS302DL WHO AM I VALUE return 1 Initialize registers of LIS302DL IMPORTANT NOTE These settings differ for different MEMS part numbers Following are settings for LIS302DL CTRL REG1 Register Data rate 400Hz power up enable all axes MEMS_I2C_WriteReg LIS302DL_CTRL_REG1 0x47 while 1 zi Doc ID 15703 Rev 1 31 42 STM32 MEMS development kit UMO701 7 5 32 42 Read all MEMS axis MEMS I2C ReceiveFrame LIS302DL OUTX i2c buffer 6 z EMS_Data gt outx_h 0 MEMS_Data gt outx_l i2c buffer 0 MEMS_Data gt outy_h 0 MEMS Data outy 1 i2c_buffer 2 MEMS_Data gt outz_h 0 MEMS Data outz 1 i2c buffer 4 Use the data FE uc return 0 STM32 MEMS demonstration applications The STM32 MEMS development kit contains four demonstration applications STM32 MEMS USB demonstration application STM32 MEMS USB for STM3210B EVAL STM3210E EVAL a
6. 6 3 General system description 7 4 Board yA aa nah Sa a a 8 5 System setup eu A KENE RE de d EE RENE cede dee eee RARE RM 9 5 1 System setup with STM3210B EVAL board 9 5 1 1 Connecting the STM32 MEMS board 9 5 1 2 SetupforanalogMEMS 10 5 1 3 Setup for digital MEMS SPl interface 10 5 1 4 Setup for digital MEMS I2C interface 11 5 1 5 Analog MEMS signals connected to STM32 pins 12 5 1 6 Digital MEMS signals connected to STM32 pins 12 5 2 System setup with STM3210E EVAL board 12 5 2 1 Connecting the STM32 MEMS board 12 5 2 2 SetupforanalogMEMS 13 5 2 3 Setup for digital MEMS SPI interface 13 5 2 4 Setup for digital MEMS I2C interface 14 5 2 5 Analog MEMS signals connected to STM32 pins 15 5 2 6 Digital MEMS signals connected to STM32 pins 15 5 3 System setup with STM3210B SK IAR board 15 5 3 1 Connecting the STM32 MEMS board 15 5 3 2 Setup forall MEMS 16 5 3 3 Analog MEMS signals connected to STM32 pins 17 5 3 4 Digital MEMS signals connected to STM32 pins
7. BOOTO and BOOT1 set to position 0 Table 11 presents the MEMS Library structure Table 11 MEMS Library structure File Description stm32_mems h Constants and types related to MEMS sensors Constants for configuration and utilization of STM32 peripherals related stm32_mems_adapter h to the MEMS sensor attached to the STM32 MEMS demonstration board Functions for configuration and utilization of STM32 peripherals related stm32_mems_adapter c to the MEMS sensor attached to the STM32 MEMS demonstration board Doc ID 15703 Rev 1 ky UMO701 STM32 MEMS development kit stm32 mems h This file provides constants containing the DC address register addresses and who_am_i value related to several digital MEMS sensors LIS302DL LISSLVO2DL It also defines a type used to store data from the axis of a MEMS accelerometer stm32_mems_adapter h This file provides constants for configuration and utilization of STM32 peripherals related to the MEMS sensor attached to the STM32 MEMS demonstration board The constants correspond to pins and peripherals of the STM32 microcontroller connected to the MEMS sensor There are three sets of constants Each set contains the same constants but for different STM32 demonstration boards To choose a particular set one of the three define statements at the beginning of the file must be uncommented The define statements are define STM3210B_E
8. from an analog MEMS to a digital one Follow these steps to run the demonstration application 1 Mount the STM32 MEMS demonstration board onto the STM32 demonstration board and mount the MEMS demonstration board onto the STM32 MEMS demonstration board 2 Correctly set up the jumpers on the STM32 MEMS demonstration board 3 Goto the IAR EWARM IDE in Project Options General Options and select the device corresponding to the one used on your STM32 demonstration board either ST STM32F10xxB or ST STM32F10xxE 4 Inthe stm32 mems adapter h file uncomment one line corresponding to the STM32 demonstration board used 5 Compile flash and run the project 6 Runthe MEMS USB Reader on the PC In most cases it is necessary to power down and power up the system after flashing the STM32 MCU before plugging it to a PC Figure 19 shows the MEMS USB Reader Windows GUI application Doc ID 15703 Rev 1 33 42 STM32 MEMS development kit UMO701 7 5 2 34 42 Figure 19 MEMS USB Reader Windows GUI application GINSLDOMGCETGUUE M ST DUR MUNG Di re tdt Yew Datt Debug flach Penpberals Jack SCS Wm deg amp YA ax STRS Dongle x 197 Additonal functors RV MEMS Axis Fiering v FF JV Platform 15 Windows Meda Player Kf HID nons cb STM32 MEMS LCD demonstration applications The STM32 MEMS LCD demonstration applications read data from the MEMS sensor and display it on the LCD mounted on the ST
9. of MEMS Library usage analog MEMS This section shows an example of a main function to set up and read data from an analog MEMS Do not forget to set up the defines in the stm32_mems_adapter h file according to the STM32 demonstration board used This main function sets up and reads data from any analog MEMS int main void s16 ADC DataValue 3 Setup STM32 system clock and other peripherals here TS aoe EU Setup all peripherals related to analog MEMS MEMS ANL Setup Wait 40ms after reset to let the MEMS turn on from power down Delay 40 Restart ADC and DMA MEMS ANL ADC Restart while 1 Read all analog MEMS axis MEMS ANL Get Axis amp ADC DataValue 0 amp ADC DataValue 1 amp ADC DataValu e 2 Use the data E uec return 0 d Doc ID 15703 Rev 1 UMO701 STM32 MEMS development kit 7 4 Example of MEMS Library usage digital MEMS over IC This section shows an example of the main function to set up and read data from a digital MEMS over the I C Minor modifications mainly replacing I7C in names of functions with SPI would make this example work over an SPI interface Do not forget to set up the defines in the stm32 mems adapter h file according to the STM32 demonstration board used This main function sets up and reads data from LIS302DL digital MEMS int main void
10. of bytes to be sent Output parameter None Return parameter An ErrorStatus enumeration value SUCCESS register written ERROR register not written 7 2 12 MEMS SPI ReceiveFrame function Table 24 describes the MEMS SPI ReceiveFrame function Table 24 4 w MEMS SPI ReceiveFrame function Function name Function prototype MEMS SPI ReceiveFrame ErrorStatus MEMS SPI ReceiveFrame u8 RegAddress u8 pBuffer u8 NoOfBytes Description Receives one frame over SPI Input parameter1 Input parameter2 Output parameter RegAddress address of source register NoOfBytes number of bytes to be received pBuf fer pointer to output buffer Return parameter 26 42 An ErrorStatus enumeration value SUCCESS register written ERROR register not written d Doc ID 15703 Rev 1 UMO701 STM32 MEMS development kit 7 2 13 MEMS DC Setup function Table 25 describes the MEMS I2C Setup function Table 25 MEMS DC Setup function Function name MEMS DC Setup Function prototype void MEMS I2C Setup u8 MEMS I2C Address Description Sets up all peripherals related to digital MEMS connected over I C Input parameter MEM I2C Address DC address of MEMS Output parameter None Return parameter None 7 2 14 MEMS DC Set Address function Table 26 describes the MEMS lI2C Set Address function Table 26 MEMS_I2C Set Ad
11. 5 5 2 6 Note 5 3 5 3 1 Analog MEMS signals connected to STM32 pins Table 5 Analog MEMS signals connected to STM32 pins Analog MEMS signal STM32 pin FS PGO PD PF13 Vourx PBO Nour PC5 Vourz PB1 Digital MEMS signals connected to STM32 pins Table 6 Digital MEMS signals connected to STM32 pins Digital MEMS signal STM32 pin cS PG1 Common signals Intt PF11 Int2 PE8 SCK PB3 SPI signals SDI PB5 SDO PB4 DC signals eee SDA PB9 Some digital MEMS use the SDO as the LSB of their PC address System setup with STM3210B SK IAR board Connecting the STM32 MEMS board Figure 13 Connecting the STM32 MEMS board to the STM3210B SK IAR board Doc ID 15703 Rev 1 15 42 System setup UMO701 5 3 2 16 42 Table 7 Connecting the STM32 MEMS board to the STM3210B SK IAR board Pin of STM32 MEMS board Connected to pin of STM3210B SK IAR l C2 SDA pin on 13 pin single row header next to CN1 2 LCD display CN3 1 WP pin on 32 pin dual row header next to LEDs Figure 14 STM3210B SK IAR board with STM32 MEMS board connected Setup for all MEMS Position the JP4 and JP5 jumpers on the STM32 MEMS board To use the analog MEMS remove R36 R37 and R59 from the STM3210B SK IAR board Figure 15 Setup for all MEMS STM32 m fidapter mme cuis TR S BERTI KI CN1 JP15 BNO UBAT pee sow aer ee x
12. B EVAL board If Int2 signal is used Position the JP11 jumper on the STM32 MEMS board The CN13 4 pin of the STM3210B EVAL is also used by the Tamper button The Tamper button cannot be used when using the Int2 signal Figure 8 Setup for digital MEMS CC interface ISTEVAL MKIO32U1 RER Wel T Adapter a SZA YA CN2 Si See x g Axis lt c o A U v v o 2 ze T 1 JR VW JP13 Doc ID 15703 Rev 1 11 42 System setup UMO701 5 1 5 Note 5 2 5 2 1 12 42 Analog MEMS signals connected to STM32 pins Table 2 Analog MEMS signals connected to STM32 pins Analog MEMS signal STM32 pin FS PE3 PD PE2 Vourx PCO Vourv PC1 Vourz PC3 Digital MEMS signals connected to STM32 pins Table 3 System setup with STM3210E EVAL board Digital MEMS signal STM32 pin CS PE6 Common signals Inti PEO Int2 PC13 SCK PA5 SPI signals SDI PA7 SDO PA6 DC signals gt SDA PB7 Some digital MEMS use SDO as the LSB of their FC address System setup with STM3210E EVAL board Connecting the STM32 MEMS board Table 4 Connecting STM32 MEMS board to STM3210E EVAL board Pin of STM32 MEMS board Connected to pin of STM3210E EVAL CN1 1 CN10 33 CN2 1 CN11 33 Doc ID 15703 Rev 1 ky UMO0701 System setup 5 2 2 5 2 3 Figure 9 STM3210E EVAL board with STM32 MEMS board connected
13. B EVAL board with STM32 MEMS board connected u 5 J 1 mln Setup for analog MEMS Position the JP1 JP2 and JP3 jumpers on the STM32 MEMS board No modification is needed on the STM3210B EVAL board Figure 6 Setup for analog MEMS STEVAL Mk1032U1 Ht IT Ko Iis CN1 JP15 UBAT ra sow ay Kate NX X D Rc co or OU ET T emi Ce c ms I ai wi CN3 JP12 JP13 Fr ES Setup for digital MEMS SPI interface Position the JP7 jumper on the STM32 MEMS board If Int1 signal is used Position the JP10 jumper on the STM32 MEMS board The CN13 14 pin of the STM3210B EVAL is also used by the right joystick If the joystick is required remove R75 from the STM3210B EVAL board If Int2 signal is used Position the JP11 jumper on the STM32 MEMS board Doc ID 15703 Rev 1 ky UMO701 System setup The CN13 4 pin of the STM3210B EVAL is also used by the Tamper button The Tamper button cannot be used when using the Int2 signal Figure 7 Setup for digital MEMS SPI interface ISTEURL MKIOS2U I aH y STM32 LT fidapter ime AL Es 1 GK 1 on Ze a 3 5 1 4 Setup for digital MEMS I C interface Position the JP7 and JP12 jumpers on the STM32 MEMS board If Int1 signal is used Position the JP10 jumper on the STM32 MEMS board The CN13 14 pin of the STM3210B EVAL is also used by the right joystick If the joystick is required remove R75 from the STM3210
14. Drive PD function Function name MEMS ANL Drive PD Function prototype void MEMS ANL Drive PD BitAction BitVal Description Drives the PD pin of the analog MEMS BitVal new value of the PD pin BitVal must be one of the BitAction enum values Bit RESET clears the port pin Bit SET sets the port pin Input parameter Output parameter None Return parameter None 7 2 4 MEMS ANL ADC Restart function Table 16 describes the MEMS ANL ADC Restart function Table 16 MEMS ANL ADC Restart function Function name MEMS ANL ADC Restart Function prototype void MEMS ANL ADC Restart void Description Restarts the ADC and DMA Input parameter None Output parameter None Return parameter None 7 2 5 MEMS ANL Get Axis function Table 17 describes the MEMS ANL Get Axis function Table 17 MEMS ANL Get Axis function Function name MEMS ANL Get Axis Function prototype void MEMS ANL Get Axis s16 zs s16 y s16 z Description Gets values of all MEMS axes Input parameter None Output parameter1 x value of x axis Output parameter2 y value of y axis Output parameter3 z value of z axis Return parameter None ky Doc ID 15703 Rev 1 23 42 STM32 MEMS development kit UMO701 7 2 6 MEMS DIG Setup Int1 function Table 18 describes the MEMS DIG Setup Int1 function Table 18 MEMS DIG Setup Int1 function Function name ME
15. M32 demonstration board When a digital MEMS with double click detection is attached for example LIS302DL the demonstration applications utilize an interrupt generated by the MEMS and show a message on the LCD when the double click event occurs It is possible to use any of the compatible MEMS demonstration boards see list in previous section without changing the firmware However do not forget to change the jumper settings on the STM32 MEMS demonstration board if needed for example when changing from an analog MEMS to a digital one Follow these steps to run the demonstration application 1 Mount the STM32 MEMS demonstration board onto the STM32 demonstration board and mount the MEMS demonstration board onto the STM32 MEMS demonstration board 2 Correctly set up the jumpers on the STM32 MEMS demonstration board Do not forget to position the JP10 jumper and set up the board for use with the INT1 signal if needed 3 Compile flash and run the project corresponding to your STM32 demonstration board Doc ID 15703 Rev 1 ky UMO701 STM32 MEMS development kit Figure 20 STM32 MEMS LCD demonstration application running on STM3210B_EVAL left and STM3210B SK IAR right PESE Lele UE 1 T 6 Application tips inclination measurement In this application the acceleration is used to measure an inclination This inclination is related to the angle achieved by the gravity s direction Thus if the device is pu
16. MEMS 12C SendFrame function Table 29 describes the MEMS 12C SendFrame function Table 29 MEMS_1I2C SendFrame function Function name MEMS DC SendFrame Function prototype ErrorStatus MEMS I2C SendFrame u8 RegAddress u8 pBuffer u8 NoOfBytes Description Sends one frame over IZC Input parameter1 RegAddress address of register Input parameter2 pBuffer pointer to buffer with data Input parameter3 NoOfBytes number of bytes to be sent Output parameter None An ErrorStatus enumeration value Return parameter SUCCESS register written ERROR register not written d 28 42 Doc ID 15703 Rev 1 UMO0701 STM32 MEMS development kit 7 2 18 A MEMS DC ReceiveFrame function Table 30 describes the MEMS IDC ReceiveFrame function Table 30 MEMS_1I2C ReceiveFrame function Function name Function prototype MEMS _I2C_ReceiveFrame ErrorStatus MEMS I2C ReceiveFrame u8 RegAddress u8 pBuffer u8 NoOfBytes Description Receives one frame over DC Input parameter1 RegAddress address of source register Input parameter2 NoOfBytes number of bytes to be received Output parameter pBuffer pointer to output buffer Return parameter An ErrorStatus enumeration value SUCCESS register written ERROR register not written Doc ID 15703 Rev 1 29 42 STM32 MEMS development kit UMO701 7 3 30 42 Example
17. MEMS_I2C_WriteReg function 27 7 2 16 MEMS_I2C_ReadReg function 28 7 2 17 MEMS 2C SendFrame function 28 7 2 18 MEMS_I2C_ReceiveFrame function 29 7 3 Example of MEMS Library usage analog MEMS 30 7 4 Example of MEMS Library usage digital MEMS over I2C 31 7 5 STMS32 MEMS demonstration applications 32 7 5 1 STM32 MEMS USB demonstration application 33 7 5 2 STM32 MEMS LCD demonstration applications 34 7 6 Application tips inclination measurement 35 7 6 1 Descriptio D 35 7 6 2 Chip selection ser serge deredes ete Oye She owe rk eee eye heed 37 Appendix A Bill of materials 38 Appendix B Artwork prints NIE E EE REN NNN Ne E SY FREE OR Rn 39 Appendix C Board schematic 40 Revision IS d nc Seen tenn ni EL EEN OR QR RR a RO RNC mw 8 n A A 41 ky Doc ID 15703 Rev 1 3 42 List of tables UM0701 List of tables Table 1 Table 2 Table 3 Table 4 Table 5 Table 6 Table 7 Table 8 Table 9 Table 10 Table 11 Table 12 Table 13 Table 14 Table 15 Table 16 Table 17 Table 18 Table 19 Table 20 Table 21 Table 22 Table 23 Table 24 Table 25 Table 26 Table 27 Table 28 Table 29 Tabl
18. MS DIG Setup Int void MEMS DIG Setup Inti Function prototype p yp FunctionalState NewState Description Enables or disables EXTI for the Int1 interrupt signal NewState new state of the interrupt Input parameter This parameter can be ENABLE or DISABLE Output parameter None Return parameter None 7 2 7 MEMS_DIG_Setup_Int2 function Table 19 describes the MEMS DIG Setup Int2 function Table 19 MEMS DIG Setup Int2 function Function name MEMS DIG Setup Int2 void MEMS DIG Setup Int2 Function prototype E p yp FunctionalState NewState Description Enables or disables EXTI for the Int2 interrupt signal NewState new state of the interrupt inputiparameter This parameter can be ENABLE or DISABLE Output parameter None Return parameter None 7 2 8 MEMS SPI Setup function Table 20 describes the MEMS SPI Setup function Table 20 MEMS SPI Setup function Function name MEMS SPI Setup Function prototype void MEMS SPI Setup void Description iud all peripherals related to the digital MEMS connected over Input parameter None Output parameter None Return parameter None 24 42 Doc ID 15703 Rev 1 ky STM32 MEMS development kit UMO701 7 2 9 MEMS SPI WriteReg function Table 21 describes the MEMS SPI WriteReg function Table 21 MEMS SPI WriteReg function Function name MEMS SPI WriteR
19. Setup for analog MEMS Position the JP5 JP13 and JP14 jumpers on the STM32 MEMS board No modification is needed on the STM3210E EVAL board Figure 10 Setup for analog MEMS STEURL TIKIO32U1 O4 Hk Q eet 4 HI At JP16 CN1 JP15 UBAT E em se N lt x Analog Axis election s I ET ui gaji m O Setup for digital MEMS SPI interface Position the JP5 JP6 JP9 and JP11 jumpers on the STM32 MEMS board If Int1 signal is used Position the JP10 jumper on the STM32 MEMS board Remove the SD card from the CN13 card socket on the STM3210E EVAL board Doc ID 15703 Rev 1 13 42 System setup UMO701 5 2 4 14 42 Figure 11 Setup for digital MEMS SPI interface ISTEUAL MKIO32UI d ki CNS me Rp Adapter At 3 1CN1 JP15 m i 3 UBAT EE ee gt g Axis election z N Analo I E ui Setup for digital MEMS I7C interface Position the JP5 JP8 JP9 and JP11 jumpers on the STM32 MEMS board Remove R32 from the STM3210E EVAL board If Int1 signal is used Position the JP10 jumper on the STM32 MEMS board Remove the SD card from the CN13 card socket on the STM3210E EVAL board Figure 12 Setup for digital MEMS I C interface ISTEUAL MKIO32U1 dud CNS ma T Adapter At 3 CN1 JP15 ND 3 UBAT ex sow aa x g Axis election z N Analo I ui Doc ID 15703 Rev 1 ky UMO0701 System setup 5 2
20. VAL define STM3210E EVAL define STM3210B SK IAR For example the correct definition to choose a set of constants for the ST STM3210B EVAL demonstration board is define STM3210B EVAL define STM3210E EVAL define STM3210B SK IAR stm32 mems adapter c This file provides functions for configuration and utilization of STM32 peripherals related to the MEMS sensor attached to the STM32 MEMS demonstration board 7 2 MEMS Library functions reference Table 12 lists the MEMS Library functions Table 12 MEMS Library functions Function name Description MEMS ANL Setup Sets up all peripherals related to the analog MEMS MEMS ANL Drive FS Drives the FS pin of the analog MEMS MEMS ANL Drive PD Drives the PD pin of the analog MEMS MEMS ANL ADC Restart Restarts the ADC and DMA MEMS ANL Get Axis Gets values of all MEMS axes MEMS DIG Setup Int Enables or disables EXTI for the Int1 interrupt signal MEMS DIG Setup Int2 Enables or disables EXTI for the Int2 interrupt signal MEMS SPI Setup Sets up all peripherals related to the digital MEMS connected over the SPI ky Doc ID 15703 Rev 1 21 42 STM32 MEMS development kit UMO701 Table 12 MEMS Library functions Function name Description MEMS SPI WriteReg Writes data to the MEMS register over the SPI MEMS SPI ReadReg Reads data to the MEMS register over the SPI MEMS SPI SendFrame Sends one frame over the SPI MEMS SPI ReceiveFrame Receives one fr
21. able For digital sensors both SPI and IC interfaces are usable as well as interrupt lines To run the system the STM32 MEMS board must be connected on one side to an STM32 demonstration board and on the other side to a MEMS demonstration board The jumpers on the STM32 MEMS demonstration board have to be fitted properly In some cases minor changes may have to be made to the STM32 demonstration board All system settings are described in detail in the following chapters Figure 2 System with STM32 MEMS demonstration board STEVAL MKlOxxVx d MEMS demonstration board v STM32 MEMS board STEVAL MKIO32V1 y STM3210B EVAL STM3210E EVAL STM32 demonstration board STM3210B SK IAR AMO0044 Doc ID 15703 Rev 1 7 42 Board layout UMO0701 4 Board layout Figure 3 STM32 MEMS demonstration board layout JP15 CNB CN7 CN4 JP16 Axis BNC connector Remote connection Connector to Vegar selection for selection STM3210B EVAL STM3210B EVAL CN2 CN1 Connector to Connector to STM32 STM32 demonstration demonstration board board CNS CNS and CNG Connector to DIL24 socket demonstartion demonstration board board 8 42 Doc ID 15703 Rev 1 d UMO0701 System setup 5 5 1 5 1 1 Note System setup The system consists of three boards the STM32 demonstration board the STM32 MEMS demonstration board and the MEMS demonstration board The set up of the s
22. ame over the SPI MEMS I2C Setup Sets up all peripherals related to the digital MEMS connected over the UC MEMS I2C Set Address Sets the address of the MEMS for DC communication MEMS DC WriteReg Writes data to the MEMS register over the 2C MEMS_l2C_ReadReg Reads data from the MEMS register over the DC MEMS I2C SendFrame Sends one frame over the I7C MEMS I2C ReceiveFrame Receives one frame over the DC 7 2 1 MEMS ANL Setup function Table 13 describes the MEMS ANL Setup function Table 13 MEMS ANL Setup function Function name MEMS ANL Setup Function prototype void MEMS ANL Setup void Description Sets up all peripherals related to the analog MEMS Input parameter None Output parameter None Return parameter None 7 2 2 MEMS ANL Drive FS function Table 14 describes the MEMS ANL Drive FS function Table 14 MEMS ANL Drive FS function Function name MEMS ANL Drive FS Function prototype void MEMS ANL Drive FS BitAction BitVal Description Drives the FS pin of the analog MEMS BitVal new value of the FS pin BitVal must be one of the BitAction enum values Bit RESET clears the port pin Bit SET sets the port pin Input parameter Output parameter None Return parameter None 22 42 Doc ID 15703 Rev 1 ky UMO701 STM32 MEMS development kit 7 2 3 MEMS ANL Drive PD function Table 15 describes the MEMS ANL Drive PD function Table 15 MEMS ANL
23. dress function Function name MEMS DC Set Address Function prototype void MEMS I2C Set Address u8 MEMS I2C Address Description Sets MEMS address for IC communication Input parameter MEMS 12C Address I C address of MEMS Output parameter None Return parameter None 7 2 15 MEMS DC WriteReg function Table 27 describes the MEMS I2C WriteReg function Table 27 MEMS DC WriteReg function Function name MEMS I2C WriteReg ErrorStatus MEMS I2C WriteReg u8 RegAddress u8 Data Function prototype Description Writes data to the MEMS register over I C Input parameter1 RegAddress address of register Input parameter2 Data data to be written Output parameter None An ErrorStatus enumeration value Return parameter SUCCESS register written ERROR register not written ky Doc ID 15703 Rev 1 27 42 STM32 MEMS development kit UMO701 7 2 16 MEMS DC ReadReg function Table 28 describes the MEMS I2C ReadReg function Table 28 MEMS_I2C_ReadReg function Function name MEMS_I2C_ReadReg ErrorStatus MEMS I2C ReadReg u8 RegAddress u8 Data Function prototype Description Reads data to the MEMS register over DC Input parameter RegAddress address of register Output parameter Data data read An ErrorStatus enumeration value Return parameter SUCCESS register written ERROR register not written 7 2 17
24. e 30 Table 31 Table 32 4 42 Connecting the STM32 MEMS board to the STM3210B EVAL board 9 Analog MEMS signals connected to STM32 pins cece eee eee eee 12 System setup with STM3210E EVAL board 12 Connecting STM32 MEMS board to STM3210E EVAL board 12 Analog MEMS signals connected to STM32 pins 15 Digital MEMS signals connected to STM32 pins 15 Connecting the STM32 MEMS board to the STM3210B SK IAR board 16 Analog MEMS signals connected to STM32 pins 17 Digital MEMS signals connected to STM32 pins 17 CN7 connector pindut 19 MEMS Library structure 20 MEMS Library functions 21 MEMS ANL Setupfunction 22 MEMS_ANL_Drive_FS function 22 MEMS ANL Drive PDfunction 23 MEMS_ANL_ADC_Restart function 23 MEMS_ANL_Get_Axis function 23 MEMS_DIG_Setup_Int1 function 24 MEMS DIG Setup Int2 function
25. eg Function prototype ErrorStatus MEMS SPI WriteReg u8 RegAddress u8 Data Description Writes data to the MEMS register over SPI Input parameter1 RegAddress address of register Input parameter2 Data data to be written Output parameter None An ErrorStatus enumeration value Return parameter SUCCESS register written ERROR register not written 7 2 10 MEMS SPI ReadReg function A Table 22 describes the MEMS_SPI_ReadReg function Table 22 MEMS_SPI_ReadReg function Function name Function prototype MEMS SPI ReadReg ErrorStatus MEMS SPI ReadReg u8 RegAddress u8 Data Description Reads data to the MEMS register over SPI Input parameter RegAddress address of register Output parameter Return parameter Data data read An ErrorStatus enumeration value SUCCESS register written RROR register not written Ei Doc ID 15703 Rev 1 25 42 STM32 MEMS development kit UMO0701 7 2 11 MEMS SPI SendFrame function Table 23 describes the MEMS SPI SendFrame function Table 23 MEMS SPI SendFrame function Function name Function prototype MEMS SPI SendFrame ErrorStatus MEMS SPI SendFrame u8 RegAddress u8 pBuffer u8 NoOfBytes Description Sends one frame over SPI Input parameter1 RegAddress address of register Input parameter2 pBuf fer pointer to buffer with data Input parameter3 NoOfBytes number
26. g Axis z c o n U a ei EN s o 2 ze ka 1 Jr Wide St COM MEM v Doc ID 15703 Rev 1 ky UMO0701 System setup 5 3 3 5 3 4 Note Analog MEMS signals connected to STM32 pins Table 8 Analog MEMS signals connected to STM32 pins Analog MEMS signal STM32 pin FS PA9 PD PA10 Vourx PAS Vouty PA6 Vourz PA7 Digital MEMS signals connected to STM32 pins Table 9 Digital MEMS signals connected to STM32 pins Digital MEMS signal STM32 pin CS PB12 Common signals Inti PB11 Int2 PB10 SCK PB13 SPI signals SDI PB15 SDO PB14 DC signals ide ii SDA PB7 Some digital MEMS use the SDO as the LSB of their PC address Doc ID 15703 Rev 1 17 42 Remote connection option UMO0701 6 6 1 18 42 Remote connection option The remote connection option can be used when the MEMS sensor needs to be placed in a position where the STM32 demonstration board does not fit for example for motor vibration measurement applications Two STM32 MEMS demonstration boards are needed to use the remote connection option One of the boards is connected to the STM32 demonstration board while the other is connected to the MEMS demonstration board The two STM32 MEMS boards are interconnected using a 20 pin ribbon cable with 10 x 2 2 54 mm pitch sockets connected to the CN7 connectors It is possible to improve the transition of one anal
27. ghts is granted under this document If any part of this document refers to any third party products or services it shall not be deemed a license grant by ST for the use of such third party products or services or any intellectual property contained therein or considered as a warranty covering the use in any manner whatsoever of such third party products or services or any intellectual property contained therein UNLESS OTHERWISE SET FORTH IN ST S TERMS AND CONDITIONS OF SALE ST DISCLAIMS ANY EXPRESS OR IMPLIED WARRANTY WITH RESPECT TO THE USE AND OR SALE OF ST PRODUCTS INCLUDING WITHOUT LIMITATION IMPLIED 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 APPLICATIONS NOR IN PRODUCTS OR SYSTEMS WHERE FAILURE OR MALFUNCTION MAY RESULT IN PERSONAL INJURY DEATH OR SEVERE PROPERTY OR ENVIRONMENTAL DAMAGE ST PRODUCTS WHICH ARE NOT SPECIFIED AS AUTOMOTIVE GRADE MAY ONLY BE USED IN AUTOMOTIVE APPLICATIONS AT USER S OWN RISK Resale of ST products with provisions different from the statements and or technical features set forth in this document shall immediately void any warranty granted by ST for the ST p
28. igital MEMS SPlinterface 11 Figure 8 Setup for digital MEMS I2Cinterface 11 Figure 9 STM3210E EVAL board with STM32 MEMS board connected nasasa asana 13 Figure 10 SetupforanalogMEMS 13 Figure 11 Setup for digital MEMS SPlinterface 14 Figure 12 Setup for digital MEMS I2C interface 14 Figure 13 Connecting the STM32 MEMS board to the STM3210B SK IAR board 15 Figure 14 STM3210B SK IAR board with STM32 MEMS board connected 16 Figure 15 SetupforallMEMS 16 Figure 16 Remote connection 20 0 cee rr hr 18 Figure 17 Remote connection connector CN7 18 Figure 18 Analog axis selectionusingtheJPi5bjumper 19 Figure 19 MEMS USB Reader Windows GUI application 34 Figure 20 STM32 MEMS LCD demonstration application running on STM3210B_EVAL left and STM3210B SK IAR riobt teens 35 Figure21 Eartbe graviy e m hr 35 Figure 22 Inclinationmeasurement nn 36 Figure 23 Sinus and Cosinus functions 36 Figure 24 STM32 MEMS demonstration board PCB
29. nd STMS3210B SK IAR boards STM32 MEMS LCD demonstration application STM32 MEMS LCD B for the STM3210B EVAL board STM32 MEMS LCD demonstration application STM32 MEMS LCD E for the STM3210E EVAL board STM32 MEMS LCD demonstration application STM32 MEMS LCD IAR for the STM3210B SK IAR board All demonstration applications are designed and tested to be used with the STEVAL MKIOS2V1 STM32 MEMS demonstration board as a bridge between the STM32 demonstration board and the MEMS demonstration board These demonstration applications have been tested with the following MEMS demonstration boards DIGITAL MEMS accelerometers STEVAL MKIO13V1 LIS302DL STEVAL MKIOO9V1 LISSLVO2DL ANALOG MEMS accelerometers STEVAL MKIO15V1 LISS44ALH STEVALMKIO18V1 LIS244AL STEVAL MKIO20V1 LISS02SG Doc ID 15703 Rev 1 ky UMO0701 STM32 MEMS development kit 7 5 1 Note STM32 MEMS USB demonstration application The STM32 MEMS USB demonstration application reads data from the MEMS sensor and sends it over USB to a PC On the PC side runs the MEMS USB Reader Windows GUI application which use an HID class of USB interface to receive data sent by the demonstration application It is possible to use any of the compatible MEMS demonstration boards see list in previous section without changing the firmware However do not forget to change the jumper settings on the STM32 MEMS demonstration board if needed for example when changing
30. og axis by using a coax cable connected to the CN8 BNC connectors The JP15 jumper selects the analog axis that is connected to the CN8 BNC connector Figure 16 Remote connection MEMS demonstration board MM a 7 v STM32 MEMS board STM32 demonstration board AM00447 Remote connection connector CN7 This connector allows two STM32 MEMS boards to be connected together Figure 17 Remote connection connector CN7 2 4 6 8 10 12 14 16 18 20 DU DD DD DD DD ffe fe ef e fe fl e We tr 13 5 7 9 11 13 15 17 19 AM00448 Doc ID 15703 Rev 1 ky UMO0701 Remote connection option Table 10 CN7 connector pinout Pin Signal Pin Signal 1 GND 2 3 3 V DC 3 NC 4 Inti 5 Vourx 6 Int2 7 NC 8 SCL 9 Vourv 10 SDx 11 NC 12 SDO 13 Vourz 14 CS 15 PD 16 NC 17 FS 18 NC 19 GND 20 3 3 V DC 6 2 Analog axis selection JP15 jumper This jumper is used to select which analog axis is connected to the CN8 BNC connector Figure 18 Analog axis selection using the JP15 jumper X axis selected Y axis selected Z axis selected JP15 X Y Analog axis selection Z AM00449 Doc ID 15703 Rev 1 19 42 STM32 MEMS development kit UMO701 7 7 1 Note 20 42 STM32 MEMS development kit The STM32 MEMS development kit provides a simple programming interface between the STM32 microcontrolle
31. on and ease of development Compatibility of pin assignments peripherals and software across all STM32 devices is a core technical feature throughout this family of microcontrollers The STM32 family of microcontrollers is supported by a complete range of high end and low cost demonstration software debugging and programming tools This complete line includes third party solutions that come complete with an integrated development environment and in circuit debugger programmer featuring a JTAG application interface Developers who are new to this family and the Cortex core can also benefit from the range of starter kits that are specially designed to help developers evaluate device features and start their own applications Sensors based on MEMS micro electro mechanical systems technology are conquering many market segments ranging from mobile communication and computing to consumer electronics healthcare and industrial ST offers a portfolio of MEMS based linear accelerometers able to sense acceleration or vibration in one two and even three axes Leveraging on proprietary MEMS technology and worldwide recognized success on acceleration sensors ST introduces new high performance MEMS gyroscope sensors Figure 1 STEVAL MKI032V1 STM32 MEMS demonstration board top view July 2009 Doc ID 15703 Rev 1 1 42 www st com Contents UMO0701 Contents 1 III Mcr 1 2 Key features of the board
32. r an analog or digital MEMS device After depending on the precision needed the user will choose either the LIS344ALH or LISSLVO2DL if small angle detection is required If such a level of precision is not needed one can use the LIS302SG or LIS302DL If the z axis is not affected the device is supposed to tilt around the z axis a 2 axis accelerometer could be used Example 1 In the case of the LISSLVO2DL the resolution is 1 mg per Isb Thus for an acceleration variation of 1 mg the angle measured on the z axis will be cos 1 1 07 2 5 For the x axis the angle detection will be sin 105 0 057 The smallest angle variation measurable is therefore 0 057 This difference between the x and z axis is explained by the behavior of the sine cosine function Example 2 In the case of the LISS44ALH the resolution is given by the formula noise density rt BW correction factor BW is the bandwidth and the correction factor is linked to the low pass filtering for the Vou The resolution is 0 625 mg Thus for an acceleration variation of 0 625 mg the angle detection on the z axis will be cos 1 0 625 1 0 3 2 For the x axis the angle detection will be sin 0 625 10 3 0 036 Example 3 In the case of the LIS302DL the resolution is 18 mg per Isb Thus for an acceleration variation of 18 mg the angle measured on the z axis will be cos 1 183 10 9 For the x axis the angle detection will be sin 187 1 E
33. r and analog or digital MEMS accelerometers together with demonstration applications that utilize this interface The following sections describe all the components that make up the STM32 MEMS development kit including e the MEMS Library examples of MEMS Library usage the STM32 MEMS USB demonstration application the STM32 MEMS LCD demonstration applications application tips on inclination measurements MEMS Library This section describes the firmware interface called MEMS Library used to manage the MEMS sensor attached to the STEVAL MKI032V1 STM32 MEMS demonstration board by the STM32 microcontroller The main purpose of this firmware library is to provide resources to ease the development of applications using a MEMS sensor The MEMS Library is designed to be used with the STM32 MEMS demonstration board However it is parameterized and therefore can be easily adapted to any other hardware configuration When using the MEMS Library on the STM3210E_EVAL board some JTAG signals of the STM32 MCU can be remapped to the GPIO functionality by the library functions MEMS SPI Setup and MEMS_I2C_Setup This means that after the program startup debugging or flashing the MCU via the JTAG will not be possible In order to be able to re flash the MCU via the JTAG you have to power up the board with BOOTO and BOOT1 switches set to position 1 and then flash the MCU Finally to run the program from the Flash power up the board with switches
34. roduct or service described herein and shall not create or extend in any manner whatsoever any liability of ST ST and the ST logo are trademarks or registered trademarks of ST in various countries Information in this document supersedes and replaces all information previously supplied The ST logo is a registered trademark of STMicroelectronics All other names are the property of their respective owners 2009 STMicroelectronics All rights reserved STMicroelectronics group of companies Australia Belgium Brazil Canada China Czech Republic Finland France Germany Hong Kong India Israel Italy Japan Malaysia Malta Morocco Philippines Singapore Spain Sweden Switzerland United Kingdom United States of America www st com 42 42 Doc ID 15703 Rev 1 ky
35. ry set of functions data structures and constants used to manage a MEMS sensor Examples of usage of the MEMS Library Demonstration applications that utilize the MEMS Library showing how to acquire data from a sensor and send them to a PC over USB or how to display the data using an LCD Several demonstration applications show utilization of interrupts generated by digital MEMS Application hints on inclination measurements Doc ID 15703 Rev 1 ky UMO0701 General system description 3 General system description The STM32 MEMS demonstration board serves to connect data and control signals of a MEMS sensor to pins of the STM32 microcontroller The STM32 MEMS board is designed to fit on particular connectors of compatible STM32 demonstration boards The compatible boards are STM3210B EVAL board with medium density STM32 MCU STM3210E EVAL board with high density STM32 MCU and STM3210B SK IAR for medium density STM32 MCU The STM32 MEMS board has a DIL24 socket to connect any STEVAL MKIOxxVx MEMS demonstration board compatible with the socket The recommended boards are digital MEMS accelerometers STEVAL MKIO13V1 LIS302DL and STEVAL MKIOO9V 1 LISSLVO2DL and analog MEMS accelerometers STEVAL MKIO15V1 LIS344ALH STEVAL MKIO18V1 LIS244AL and STEVAL MKIO20V1 LIS302SG The system with STM32 MEMS board offers full control over the MEMS sensor For analog sensors all axes power down and full scale signals are avail
36. t horizontally the gravity will induce a 1 g value on the z axis and the acceleration measured on the other two axes will be equal to 0 meaning no angle 0 no inclination 7 6 1 Description When there is no movement the acceleration by default is called gravity and is always present On the surface of the earth the gravity is around 9 81 m s 1 g Figure 21 Earth s gravity Earth s gravity 1 g 9 81 m s Surface of the Earth If the device starts to move from the horizontal position the gravity will no longer be equal to 1 on the z axis and a value on the x or y axis will be different to O ky Doc ID 15703 Rev 1 35 42 STM32 MEMS development kit UMO701 36 42 Figure 22 Inclination measurement Mems is horizontal Angle with horizontal In this example the device has an o angle with a horizontal position The y axis is not affected and the acceleration measured will remain equal to 0 However for the x axis the acceleration measured will move from 0 and will be equal to 1g sin o For the z axis the acceleration measured will be 1g cos o Figure 23 Sinus and Cosinus functions 1 50 1 00 0 50 Cosinus 0 00 Sinus 0 50 1 00 1 50 AMO00468 Doc ID 15703 Rev 1 ky UMO0701 STM32 MEMS development kit 7 6 2 Chip selection Depending on the type of architecture the user has to select eithe
37. top and bottom layers 39 Figure25 Board schemaic AI rr 40 ky Doc ID 15703 Rev 1 5 42 Key features of the board UMO0701 2 6 42 Key features of the board Compatible with the following demonstration boards ST STM3210B EVAL ST demonstration board implementing the complete range of peripherals and features for the STMS2F10xxB 128 KB medium density devices ST STM3210E EVAL ST demonstration board implementing the complete range of peripherals and features for the STM32F10xxE 512 KB high density devices IAR KickStart Kit for STM32 STM3210B SK IAR full featured demonstration board with STM32F103B microcontroller standalone J Link debugger programmer IAR Embedded Workbench for ARM EWARM development environment IAR C C compiler Compatible with all STEVAL MKIOxxVx MEMS accelerometer demonstration boards suitable for DIL24 sockets Recommended boards are digital MEMS accelerometers STEVAL MKIO13V1 LIS302DL STEVAL MKIOO9V1 LISSLVO2DL analog MEMS accelerometers STEVAL MKIO15V1 LISS44ALH STEVAL MKIO18V1 LIS244AL STEVAL MKIO20V1 LIS302SG Options for remote connection using two STM32 MEMS demonstration boards Standard 20 pin ribbon cable with 2 54 mm pitch connectors with all signals Coax cable with standard BNC connector for connection of one analog signal MEMS axis selectable by jumper STM32 MEMS development kit firmware package for STM32 included MEMS Libra
38. xample 4 For the LIS302SG the resolution is 2 5 mg Thus the smallest angle variation measurable is 0 14 Due to the behavior of the sine cosine functions and the angle and precision expected the user will have to consider the measured acceleration on one or all axes Doc ID 15703 Rev 1 37 42 Bill of materials UMO701 Appendix A Bill of materials Table 31 Bill of material Designator Comment Description Footprint CN8 BNC BNC connector BNC UA i d ge a i Header 2 Header 2 pin HDR1X2 JP16 Header 3 Header 3 pin HDR1X3 CN4 Socket 3 Socket 3 pin HDR1X3 JP15 Header 3 x 2 Header 3 pin dual row HDR2X3 CN7 Header 10 x 2 Header 10 pin dual row HDR2X10 CN1 CN2 Socket 10 x 2 Socket 10 pin dual row HDR2X10 CN5 CN6 Socket 12 Socket 12 pin HDR1X12 CN3 Socket 15 Socket 15 pin HDR1X15 R1 10 kQ Resistor 0805 38 42 Doc ID 15703 Rev 1 d UMO701 Artwork prints Appendix B Artwork prints This section shows the layout of the STM32 MEMS demonstration board PCB Figure 24 STM32 MEMS demonstration board PCB top and bottom layers ky Doc ID 15703 Rev 1 39 42 UMO0701 Board schematic Board schematic Appendix C Board schematic Figure 25 StVvOOINV JopeoaH exoosS Olde ENZ ezi 21 Ae Zz1 p e H z1 p e H SL 19400S ENO idr ALNO AEE ZInOA vid zepeey Elder cJepeeH LAT eui
39. ystem can be split into three main steps 1 Set up of the STM32 demonstration board In some cases minor changes may have to be made to the board 2 Setup ofthe jumpers on the STM32 MEMS board 3 Connection of the STM32 MEMS board to the STM32 demonstration board 4 Connection of the MEMS demonstration board to the STM32 MEMS board Steps 1 to 3 vary according to the type of STM32 demonstration board and MEMS demonstration board used They are described in the following chapters Regarding step 4 all MEMS demonstration boards compatible with the DIL24 socket can be connected to the STM32 MEMS board The correct orientation of the board is depicted in Figure 4 by the ST logo printed on the top side of the STM32 MEMS board Figure 4 Connecting MEMS demonstration board to STM32 MEMS board System setup with STM3210B EVAL board Connecting the STM32 MEMS board Table 1 Connecting the STM32 MEMS board to the STM3210B EVAL board Pin of STM32 MEMS board Connected to pin of STM3210B EVAL CN1 1 CN12 1 CN2 1 CN13 1 CN4 1 JP11 1 The CN4 connector of the STM32 MEMS board is connected to the JP11 jumper of the STM3210B EVAL board in order to distribute Vcc to the MEMS sensor In this setup the JP16 jumper of the STM32 MEMS board takes over the Vgar selection functionality of the JP11 jumper of the STM3210B EVAL board Doc ID 15703 Rev 1 9 42 System setup UMO701 5 1 2 10 42 Figure 5 STM3210

Download Pdf Manuals

image

Related Search

Related Contents

  46-411型 取扱説明書 浴室暖房乾燥機(2室換気機能付)  Pipe and Test Sealing Bags  DN-200WS User Guide  HE - Conseil de l`egalité des chances entre hommes et femmes  IT Mill Testing Tools 0.9.4  Manuel d`installation  Model 2520 Pulsed Laser Diode Test System Service Manual  MANUAL DE INSTRUCCIONES  

Copyright © All rights reserved.
Failed to retrieve file