Home

RIoTboard Web Server Master Class Hardware Kit User Manual

image

Contents

1. 17 17 INT MAG3110 18 18 GENS ne 19 19 SPI MOSI GND 20 20 GND nc 21 21 sPl EN 22 22 GPIO GENG ne 23 23 sP SCLK nc 24 24 SPI GND 25 25 GND 26 26 5 CEL N Figure 8 XTRINSIC SENSE Board w Raspberry Pi Exclusively from XIRINSIC SENSE Board Evaluation board for Freescale Xtrinsie Sensors elementiu Doc ID XTRINSICRPIUM Rev 04 01 09 2014 Drivers for Xtrinsic Sense Board Driver for MPL3115A2 Driver Interfaces The MPL3115A2 features three kinds of modes 8 different sample rates 16 different acqulsition time steps 1 second to 9 hours and compensated direct reading of pressure 20 bit in Pascal or altitude 20 bit in meters The driver provides the following interfaces for implementing these features Table 5 MPL3115A2 Interface list void MPLSTISA2 Active void int t MPLSISA2 Standby void int t 5 2 Init Alt void Uint amp t MPL3115A2 Init Bar void void MPLS115A2 SetOSR uint8 1 void MPLSTISA2 SetStepTime 1 int32 t MPLS115A2 Read Alt void Read raw data uint32 t MPLS1ISA2 Read Bar void int32 t MPLS1ISA2 Read Temp void Modes of Operation Over sample Operation Modes MPL3115A2 has three operation modes Standby Active Altitude and Active Barometer These modes can be implemented using the following interfaces Table
2. USER MANUAL Date 01 20 2014 23 11 Mini USB Interface The mini USB connector is connected to the high speed HS USB 2 0 OTG module of the 65000 processor and is cross connected with the lower USB Host port on J3 When a SV supply is seen on the mini USB connector from the USB Host the I MX 650 processor will configure the OTG module to device mode which will prevent the lower USB Host port from operating correctly Figure 2 12 Mini USB Interface Table 2 11 Mini USB Interface nr Pin Signal Function T 058 076 VBUS B USB OTG DN USB data 3 US amp OTG DP USB datas US amp OTG ID USBID E GND GND Page 29 usea MANUAL Date 01 20 2014 2312 Serial Port Figure 2 13 Serial Port Serial Port Table 2 12 Serial Port Tig Pin Signal Function T 100 UART2 transmit data 1 UARTI RXD receive data 3 GND GND Page 30 usea MANUAL Date 01 20 2014 2 3 13 Expansion Port Interface Figure 2 14 Expansion Port Expansion Port Table 2 13 Expansion Port Interface D Pin Signal Function T VD NVCC 33V B SVIN 3 GND GND 3 GND GND E 90101 16 PIO g clock 7 60102 17 GPIO MOST master output salve input 3 6010
3. MANUAL Date 01 20 2014 1 Board Overview 11 Product Introduction The RloTboard is an evaluation platform featuring the powerful iMX 65000 a multimedia application processor with ARM Cortex A9 core at 1 GHz from Freescale Semiconductor The platform helps evaluate the rich set of peripherals and includes 10 100 Gb Ethernet port HDMI v1 4 LVDS analog headphone microphone uSD and SD card interface USB serial port 2 camera interfaces GPIO boot configuration interface and expansion port as shown in Figure 1 1 The RloTboard can be used in the following applications Netbooks web tablets Nettops Internet desktop devices High end mobile Internet devices MID High end PDAs High end portable media players with HD video capability Portable navigation devices PNDs Industrial control and Test and measurement T amp M Single board computers SBCs wos comes Git Audio Out m USB HUB 6Solo GINE Cortex A9 eMMC 29 150 Card EJ um CONFIGURATION PORT Figure 1 1 Functional Block Diagram Page 7 user MANUAL Date 01 20 2014 12 Features The RloTboard is based on the i MX 6Solo processor from Freescale Semiconductor integrating all the functionalities of this multimedia application pracess
4. Name MAGSTIO Delnit Prototype void MAG3110 Deinit void Param Void Return Value Void Description Deinitialize MAG3110 Table 22 MAG3110 ReadRawData x Name MAGS110 ReadRawData Prototype uint32_t MAG3110 ReadRawData Param Void Return Value Raw data for Description Read x axis data from MAG3110 Table 23 MAG3110 ReadRawData y Name MAGSIIO ReadRawData y Prototype uint32_t MAG3110 ReadRawData Param Void Return Value Raw data for y axis Description _ Read y axis data from MAG3110 Table 24 MAG3110 ReadRawData z Name MAGS110 ReadRawData 2 Prototype uint32 t MAG3110 ReadRawData z vold Param Void Return Value Raw data for z axis Description Read x axis data from MAG3110 Raw Data Structure and calculations X Axis data X axis 16 bit output sample data of the magnetic fil Table 25 X Axis data structure strength is expressed as signed 2 s complement 3 2 3 1 4 5 5 Invalid Invalid X X158 Tbs and elementa are Wadena of Premier Farnell pi 2014 Premier Farnell pie Al Rights Reserved Freescale and the Freescale lago are trademarks of Freescale Semiconductor Inc Reg U S Pat amp Tm Of Exclusively from XIRINSIC SENSE Board Evaluation board for Freescale Xtrinsie Sensors elementiu Doc ID XTRINSICRPIUM Rev
5. access to MCU 1 0 via Arduino compatible I O connectors The board also features a programmable OpenSDA debug interface with multiple applications available including Mass storage device flash programming interface P amp E Debug interface provides run control debugging and compatibility with IDE tools CMSIS DAP interface new ARM standard for embedded debug interface Figure FRDM KL25Z board Figure 4 Pinouts of headers on FRDM KL25Z and elementda wa Wadena Premier pc 2014 Premier Farnell pl Rp Reserved Freescale and the Freescale logo are trademarks of Freescale Semiconductor Inc Res US Pat amp Tm Exclusively from XIRINSIC SENSE Board Evaluation board for Freescale Xtrinsie Sensors elementiu Doc ID XTRINSICRPIUM Rev 04 01 09 2014 XTRINSIC Sense board and FRDM KL25Z Pin mapping SensorBoard FRDM KL25Z Sensor Board KL25Z 1 m CN2 39 EN1 O 2 GND 2 GND 29542 4 PTD5 NC 2 1 10 P5V USB 9 6 PTDO 1 is Yor 4 8 PTD2 U15 210 PTD3 INT U26 12 GND7 414 GND ncs L 16 VREFH 18 PTEI 54104 120 PTEO Figure 5 XTRINSIC SENSE Board w FRDM KL25Z and elementda wa Vadnais of Premier Fara pc 2014 Premier Fame pie Al RightsReserved Freescale and the Freescale logo are trademarks of Freescale Semico
6. 3 the following instructions to synchronize repo source code ed android imx6 jb4 3 1 0 0 repo syne 522 Compiling System Images 1 You can choose to build Android image for eMMC or SD Boot Open the device fslriot 6solo BoardConfig mk file with Notepad change the BUILD TARGET LOCATION to select the boot device eMMCBoot BUILD TARGET LOCATION emme SD Boot BUILD TARGET LOCATION sdmme 2 Execute the following instructions to compile Android image ed android imx6 jb4 3 1 0 0 source build envsetup sh lunch rot Gsolo user make clean make After executing the instructions the generated images can be found under android imx6 jb4 3 1 0 0 out target product riot_6solo Table 5 1 shown below lists all the images and directories after compilation is completed Page 50 sth MANUAL VO Date 01 20 2014 Table 5 1 Images and Directories Tmages Directories Noter Fie system mounted at 7 Android system directory mounted at system Android data area mounted asta aot Flesyatem when baatingin recovery mode nat ured directly A composite image which includes the kernel image ramdisk and boot img boot parameters Tamdiskimg Wamdisk image generated rom root not used TEXTE mage generated Tram system Can written SISTEMI system mg par
7. Figure 2 Sensor Board Top View Pin Definition Used for interface with FRDM KL25z host platform 1 EN 8491 Enable Pin WIMAB491 Push Pull Z Axis Tilt Detection Output 3 Your WIMAB491 Push Pull Y Axis Tilt Detection Output a 4 1 Push Pull X Axis Tilt Detection Output 5 INT MPIIIS 115 Interrupt INT MAGSIIO MAG3110 Interrupt 7 GND Ground p NC No Connection 5 SDA SENSOR TIC Slave Data Une 10 SCL SENSOR T2CSlave Clack Line Exclusively from XTRINSIC SENSE Board Evaluation board for Freescale Xie Sensors elementiu Doc ID XTRINSICRPIUM Rev 0 4 01 09 2014 Table 1 FRDM KL25z Data Interface Connector CN2 ERDM KL2 ower Supply Connector Pin No Pin Name Description 1 VoD 43 DC Power Supply NC No Connection 3 GND Ground Table 2 CN2 FRDM KL25z Power Supply Connector CN3 Raspberry Pi Interface Pin No Pin Name Description 1 VOD 3 3V DC Power Supply z NC No Connection 3 SDA SENSOR 12C Slave Data Une NC No Connection E SCL SENSOR T2C Slave Clock Une GND Ground 7 NC No Connection RPI UART TXDO E GND Ground 10 RX RPI UART RXDO INT 115 MPLSTIS interrupt 91 Push Pull Z Axis 12 Tilt Detection Output MMABA91 Push PullX Axis 13 Tilt Detection Output 15
8. mages parton in mnt sdcara dic SYSTEM Partitior ised to store Android system image DATA Partition used to store applications unpacked data system configuration database etc Under normal mode the root file system is mounted from uramdisk Under recovery mode the root file system is mounted from the RECOVERY partition 3 4 Setting up Terminal Emulation Connect the RloTboard to a PC with the help of a serial cable Launch a terminal emulation program such as HyperTerminal or TeraTerm and configure the COM parameters as show below Figure 3 1 COM Properties Properties Bot Bis per secon 115200 8 vi Bariy Nore vj Step bit 1 Flow contol Ae Page 42 USER MANUAL Date 01 20 2014 4 Downloading and Running the System Now you can download the existing system to the RloTboard and run it The MFG tool saved under linux tools amp android tools will be used to download images NOTE All images and tools for Android and Linux can be downloaded from www element14 com riotboard Download and Run Linux or Android System 1 all the system files to a root directory of your hard drive assume is the root directory 2 Mini USB cable to connect USB OTG interface on RloTboard to the USB Host on PC and then open a Te
9. Evaluation board for Freescale Xtrinsic Sensors elementiu Doc ID XTRINSICRPIUM Rev 04 01 09 2014 Hasana x 1 2 NnG3110 x X dur Zi Bul Mn63110 x V Bul Wu HAGIA x Sur z Bur MAGJIA X dur Z Mur Hn63118 K Sur Y dul 2 262110 X dur y dur Z Bur MaG3r10 Xe Ve dur 7 Bur MAGJIA X dur wp Z Nn63110 dul Y du 2 3 Mn63110 X dul Y Qu 2 Pul Mn63110 vie z MAGJIA K Jut Yt dur Bur Hn63110 Ki tour ul 21 Qul Ma63110 K 180 1 2 Pul Mn63110 X V Dr 2 Bur Y Wut 7 Sout HAG3110 21 Wut Zi HAGJ1O X dur Dur X du vie Tur X dh z WaG3118 X dur Y dur 2 Pul Mn63110 Ki V Dui 2 ul Figure 10 MAG3110 Demo B Press the Enter key on the keyboard to return the menu and type 52 to try out the MMA8491Q sensor Sx Stream Polling 0 MPL311582 1 MAG3110 2 MMA84910 MPL3I15R2 S2 Turn the board from side to side and from front to back to see the corresponding x and z coordinates change as the board is tilted At the same time the RGB LED will begin blinking blue and elementda are Wadena of Premier Farnell pE 2014 Premier Farnell pie Al RightsReserved Freescale and the Freescale logo are trademarks of Freescale Semiconductor Reg U S Pat amp Tm Exclusively from XTRINSIC SE
10. 0 dropped overruns 0 frame 0 TX packets 3620 errors 0 dropped 0 overruns 0 carrier 0 collisions 0 txqueuelen 1000 NOTE In this example case the Raspberry IP address is 192 168 2 138 We will use this example IP address in the rest of the demo exomples described below For your testing use the IP address found for your specific case in place of this IP address and element are of Premier gi 014 Premier Farnell Rights Res Freescale and the Freescale logo are le Semiconductor Inc Reg US Pat Exclusively from XTRINSIC SENSE Board Evaluation board for Freescale Xtrinsi Sensors elementiu Do XTRINSICRPIUM Rev 0 4 01 09 2014 9 Upload the sensor data to the web application invoked later on a network connected PC by entering the following at the Raspberry terminal command prompt pi raspberrypi rpi sensor board sudo python3 sensor website py Console output i raspherrypi rpi senscr boards sudo python sensor_website Input Your ch Compass Application 10 Choose 1 to test the MAG3110 Note the console output sensor data will upload to open http IP 11 On a network connected PC open a browser and enter in web address as instructed above For this example that would be http 192 168 2 138 sensors compass html of Premier Farne pi 014 Premier pic A Rights Res Freescale and the
11. FIGURE 4 PINOUTS OF I O HEADERS ON FROM KL2S2 FIGURE 5 XTRINSIC SENSE BOARD W FROM KL252 FIGURE RASPBERRY PI BOARD FIGURE 7 PINOUTS OF I O HEADERS ON RASPBERRY PI FIGURE XTRINSIC SENSE BOARD W RASPBERRY FIGURE 12 MPL3115 DEMO FIGURE 13 MAG3110 DEMO FIGURE 14 MMABA91Q DEMO FIGURE 15 SENSOR BOARD SCHEMATIC FIGURE 16 SENSOR BOARD SCHEMATIC FIGURE 17 SENSOR BOARD SCHEMATIC FIGURE 18 SENSOR BOARD SCHEMATIC FIGURE 19 SENSOR BOARD PCB TOP VIEW UST OF TABLES TABLE 1 FRDM KL2SZ DATA INTERFACE CONNECTOR TABLE 2 CN2 FROM KL25Z POWER SUPPLY CONNECTOR TABLE CN3 RPI INTERFACE CONNECTOR TABLE 4 CNA RPI UART INTERFACE CONNECTOR TABLE 5 MPL3115A2 INTERFACE LIST TABLE 6 MPL3115A2 ACTIVE TABLE 7 MPL3115A2 STANDBY TABLE 8 MPL3115A2_INIT_ALT TABLE 9 MPL3115A2 INIT BAR TABLE 10 SYSTEM OUTPUT DATA RATE SELECTION TABLE 11 MPL3115A2_SETOSR TABLE 12 MPL3115A2_SETSTEPTIME TABLE 13 1 115 2_ READ ALT TABLE 14 1 115 2_ READ BAR 10 10 m 5 39 40 a m n 15 15 15 15 16 16 23 35 37 38 42 zl 44 Treat and dementia ave waders of Premier Farha pic 2014 Premier Farnell pl Al RightsReserved Freescale and the Freescale logo are trademarks of Freescale Semiconductor Reg US Pat amp Tm Exclusively from XTRINSIC SENSE Board Evaluation board for Freesc
12. If possible use antistatic devices such as wrist straps and floor mats Always hold a evaluation board by its edges Avoid touching the contacts and components on the board Take care when connecting or disconnecting cables A damaged cable can cause a short in the electrical circuit Prevent damage to the connectors by aligning connector pins before you connect the cable Misaligned connector pins can cause damage to system components at power on When disconnecting a cable always pull on the cable connector or strain relief loop not on the cable itself and Gementid wa Vademuris Premier pc 2014 Premier Farnell ple Al RightsReserved Freescale and the Freescale logo are trademarks of Freescale Semiconductor Res US Pat amp Tm
13. data EJ GND GND lVDS CIK P TVOS TVOS CKN Page 18 USER MANUAL v1 0 Date 01 20 2014 LCD PWR EN Touch reset signal E Touch Int Touch interrupt signal 15 scl TIC master serial clock EJ TC SDA TC master serial data 17 TED_PWR_EN Backlight enable 18 EJ 15 PWM Pulse Width Modulation 233 HDMI Interface Figure 2 4 HDMI Interface Table 2 3 HDMI Interface B Pin Signal Function T HOMI DP HDMI differential pairs data2 1 GND GND 3 HOMI HDMI differential pairs data2 3 HOMI HDMI differential pairs datal 5 GND GND Page 19 sth MANUAL Date 01 20 2014 g HDMI DIM HDMI differential pairs data1 7 HDMI HDMI differential pairs data0 g GND GND g HOMI DUM HOMI differential pairs datat 10 GP HDMI differential pairs dock ir GND GND TZ HDMI differential pairs dock B NC NC 14 NE NC 15 BICI CL serial clock 16 BI2C2_SDA serial data 17 GND GND 18 19 DMI_APD HDMI detect 20 GNF DVI GND Page 20 sth MANUAL Date 01 20 2014 23 4 Microphone Input Jack The RloTboard provides a 3 5mm stereo connector for a microphone input as shown in Figure 2 5 A mono microphone will i
14. 04 01 09 2014 Scale factor Data in uT unit Data Count x 0 1 Y Axis data Y axis 16 bit output sample data of the magnetic field strength is expressed as signed 2 s complement Table 26 Y Axis data structure 3 Em 1 4 3 6 5 1 maid maid Y MSB Z Axis data Z axis 16 bit output sample data of the magnetic field strength is expressed as signed 2 s complement Table 27 Z Axis data structure 3 Em 1 4 3 6 5 1 maid 2 M58 2158 and elementda are Wadena of Premier Farnell pE 2014 Premier Farnell pie Al RightsReserved Freescale and the Freescale logo are trademarks of Freescale Semiconductor Reg US Pat amp Tm Exclusively from XTRINSIC SENSE Board elementiu Evaluation board for Freescale trinsic Sensors Doc ID XTRINSICRPIUM Rev 0 4 01 09 2014 Demonstration w FRDM KL25Z After the driver code is loaded onto the Freedom 252 the sensor features can be demonstrated with a command line interface of HyperTerminal or another UART tools Setup and Configuration 1 Plugin USB cable from USB host to the OpenSDA mini B USB connector of the FRDM KL25Z The FROM KL2SZ will be powered by this USB connection FROM KL25Z comes with the m
15. Find the definition of php only delete the hashs ahead of the following lines it should be read location V phps fastcgi pass unix var run php5 fpm sock fastcgi index index php include fastcgi parans Do not touch the other definitions 31 Now reload the config of nginx server sudo etc init d nginx reload 32 Test if the web server is up by browser Should see something like the following screen Trak and elementa are of Farnell pe 2014 Premier Farnell pl Al RightsReserved Freescale and the Freescale logo are trademarks of Freescale Semiconductor Reg US Pt amp Tm Exclusively from XTRINSIC SENSE Board Evaluation board for Freescale Xtrinsic Sensors elementiu Doc ID XTRINSICRPIUM Rev 0 4 01 09 2014 Q fi 192 168 2 138 Welcome to nginx 33 Deploying the Web Application Direct use symbolic links created via In s to complete the deployment typing sudo 1n s none pi rpi sensor board Rpi Xtrinsic Sensors rpi sensors web usr share nginx wew sensors proper access rights to the web app sudo chmod 0777 R hone pi rpi sensor board Rpi Xtrinsic Sensors rpi sensors web 34 Test the Web applications in the same manners as described in steps 8 thru 21 above Treat and elementa are of Premier Fara pe 62014 Premier Farnell pic Rights Reserved Freescale and the Freescale logo are trademarks of Freesc
16. System Output Data Rate Selection OSR Oversample Ratio Minimum Time Between Data Samples 0 1 25 ms 1 2 Sms 2 4 10ms 3 20ms 16 40ms 5 32 6 64 160 ms 7 128 320ms Table 11 MPL3115A2 SetOSR Name MPLSTISA2 SetO5R Prototype void 15 2 SetOSR uint _t osr Param OSR Ratio Return Value Void Description _ Change the OSR Ratio Table 12 MPL3115A2_SetStepTime Name MPLSTISA2 SetStepTime Prototype void MPL3115A2_SetStepTime uint amp 1 step Param Sample Step 2 step Return Value Void Description Change sample step and elementa are Wadena of Premier Farnell pi 5 Premier Farnell pl Al Rights Reserved Freescale and the Freescale logo are trademarks of Freescale Semiconductor Reg US Pat amp Tm Of Exclusively from XTRINSIC SENSE Board Evaluation board for Freescale Sensors elementiu Doc ID XTRINSICRPIUM Rev 0 4 01 09 2014 Data Acquisition Pressure 20 bit in Pascals Altitude 20 bit in meters and Temperature 12 bit in degrees Celsius can be read by functions contained in the following tables and be calculated using the formulas in section 0 Table 13 MPL3115A2_Read_Alt Name MPLSTISA2 Read Ait Prototype vint32 t MPLS11SA2 Read void Param Void Return Value The raw data for Altitude Description Read Alti
17. 098 DMS USB data 3 058 DP3 USB datar GND GND 5 058 PWRA 35V 5 US amp USB data 7 098 DPA USB datat GND GND Page 35 sth MANUAL Date 01 20 2014 Pin Signal Function 1 USE PWRI V B US USB data 3 US amp DPI USB data E GND GND E USB PWRI 35 g 058 DM US8 data 7 USB DP2 USB datar GND GND 23 17 Boot Configuration Select Figure 2 18 Boot Configuration Select Boot Configuration Select Page 36 USER MANUAL Date 01 20 2014 Table 2 17 Boot Configuration Select Wi Pin Signal Function 1 P3VO STBY P3VO STBY 3 VOD NVCC VOD NVCC E VOD NVCC VOD NVCC E VOD NVCC VOD NVCC g VDD_NVCC VOD NVCC 7 VOD NVCC VOD NVCC g VOD NVCC VOD NVCC g EIM DAI 10 _ 1 5 12 EIM_DATA EIM_DAS BT_CrGL_S da DAE BT CFGI 6 15 BOOT_MODEO BOOT 16 BOOT_MODEL MODEL Page 37 usea MANUAL Date 01 20 2014 2 3 18 Reset Switch Figure 2 19 Reset Switch Table 2 18 Reset Switch Pin Signal Function 1 GND GND 1 PORE System reset 3 NC NC E NC NC Page 38 UseR M
18. E a 1 5 s Invalid BAR MS amp BAR BAR_LSB Integer part BAR_MSB x 2 CSB 2 BAR_LSB 2 Decimal part BAR_LSB BITS x0 5 BAR_LSB BIT4 x0 25 Temperature raw data Table 18 Temperature raw data structure 3 7 3 5 s Invalid Invalid T MSB TSB Integer part T_MSB Decimal part T_LSB 2 x 0 0625 Drivers for MAG3110 Driver Interfaces MAG3110 is a digital 3 axis magnetometer from which the data can be read using interfaces contained in Table 19 to Table 24 Table 19 MAG3110 Interface list CE A Uint amp _t MAG3110_Init void 2 void MAG3110 Delnitlvoid 3 uuint32_t MAG3110_ReadRawData_dvaid amp Read raw data int32 t MAG3110_ReadRawData_yiveid 7 uint32 t MAG3110 ReadRawData void Table 20 MAG3110 Init Name MAG3110_Init Prototype Uint t MAGST10 init void Param Void Return Value 0 fail 1 success Description Initialize MAGS110 and elementa are Wadena of Premier Farnell pe 201 Premier Fame pie Al RightsReserved Freescale and the Freescale logo are trademarks of Freescale Semiconductor Reg US Pt amp Tm Exclusively from elementiu XTRINSIC SENSE Board Evaluation board for Freescale Xtrinsi Sensors Doc ID XTRINSICRPIUM Rev 0 4 01 09 2014 Table 21 MAG3110 Delnit
19. GND Ground Push Pull Y Axis 15 Your Tilt Detection Output 16 NC No Connection 17 VOD 38 3 V DC Power Supply 2014 Premier Farnell pie Al RightsReserved Freescale and the Freescale logo are trademarks of Freescale Semiconductor Reg US Pat amp Tm Of Exclusively from XTRINSIC SENSE Board Evaluation board for Freescale Xie Sensors elementiu Doc ID XTRINSICRPIUM Rev 0 4 01 09 2014 18 INT_MAG3110 110 Interrupt 15 NC Na Connection 20 GND Ground 21 NC Na Connection n EN MMABA91 Enable Pin NC Na Connection 24 NC Na Connection 25 GND Ground 36 NC Na Connection Table 3 CN3 RPi Interface Connector UART Interface Pin No Pin Name Description 1 x RPI UART RXDO 2 RPI UART TXDO 3 GND Ground Table 4 RPi UART Interface Connector 2014 Premier Farnell pie Al RightsReserved Freescale and the Freescale logo are trademarks of Freescale Semiconductor Inc Reg US Pat Tm Of Exclusively from XTRINSIC SENSE Board Evaluation board for Freescale Xerinsie Sensors elementiu Doc ID XTRINSICRPIUM Rev 0 4 01 09 2014 Freescale Freedom FRDM KL25Z The FRDM KL2SZ features a 252128 a KL2 family device boasting a max operating frequency of 48MHz 128KB of flash full speed USB controller and loads of analog and digital peripherals The 252 has an
20. Interface Page 26 sth MANUAL Date 01 20 2014 Table 2 9 Camera Interface 19 Pin Signal Function 1 GND GND 2 NC NC 3 NC NC CSIO capture data bit 12 E DATI capture data bit 13 g CSi0_DATIa capture data bit 14 7 DATIS TSiO capture data bit 15 CSI0_DATIE capture data bit 16 CSI0 DATI TSiO capture data bit 17 g capture data bit 18 CSI0_DATIS TSiO capture data bit 19 12 NC NC NC NC GND GND 15 pixel clack 16 GND GND 17 CSI0_HSYNC TSIO RSYNC 18 NC NC 19 CSI0_VSYNE TSIO VSVNC 20 VOD NVCC 33V pi Camera clock n NC NC 3 GND GND 24 NC NC 25 CAM_RST reset 26 CAM EN data enable 27 12 4_5 T2C2 serial data 28 124 50 TAC2 serial clock 25 GND GND 30 PIVE Page 27 usea MANUAL Date 01 20 2014 2310 JTAG Interface Figure 2 11 JTAG Interface JTAG Table 2 10 JTAG Interface Pin Signal Function 1 VoD_NVEC 33V Test mode select 3 GND GND E TIAG Test clock 5 GND GND g 700 Test data output 7 JIAG MOD Test mode g JTAG TDI Test data input 3 nTRST Test system reset 10 RESET N Reset Page 28
21. RIAS jack o o o Page 9 usea MANUAL Date 01 20 2014 2 channel I2C interface Expansion port 2 channel SPI interface Expansion port 3 channel PWM interface Expansion port GPIO Expansion port 10 pin JTAG interface Open SDA Others 1Power LED 1 Open SDA LED 2 User defined LEDs 1DC Jack 1 Reset button Boot configuration interface Page 10 usea MANUAL Date 01 20 2014 2 Hardware Description 24 Processor The MX 6Solo processor represents Freescale Semiconductor s latest achievement in integrated multimedia applications processors which are part of a growing family of multimedia focused products that offer high performance processing and are optimized for lowest power consumption The processor features Freescale s advanced implementation of the single ARM Cortex A9 core which operates at speeds up to 1 GHz It includes 2D and 3D graphics processors 3D 1080p video processing and integrated power management The processor provides 16 32 bit DDR3 LVDDR3 800 memory interface and a number of other interfaces for connecting peripherals such as WLAN Bluetooth GPS hard drive displays and camera sensors 211 Core Features The i MX 6Solo processor is based on the ARM Cortex A9 MPCore platform with the following features ARM Cortex A9 MPCore CPU Processor with TrustZone The core configuration is
22. of i MX 6Solo 212 External memory interfaces 16 32 bit LP DDR2 800 16 32 bit DDR3 800 and LV DDR3 800 amp bit NAND Flash including support for Raw MLC SLC 2 KB 4 and 8 KB page size BA NAND PBA NAND LBA NAND OneNAND and others BCH ECC up to 40 bit 16 32 bit NOR Flash All WEIMV2 pin are muxed on other interfaces 16 32 bit PSRAM Cellular RAM Page 12 UseR MANUAL Date 01 20 2014 2 1 3 Interface to external devices Each i MX 650 processor enables the following interfaces to external devices some of them are muxed and not available simultaneously Displays Total five interfaces available Total raw pixel rate of all interfaces is up to 450 Mpixels sec 24 bpp Up to two interfaces may be active in parallel One Parallel 24 bit display port up to 225 Mpixes sec for example WUXGA at 60 Hz or dual HD1080 and WXGA at 60 He LVDS serial ports One port up to 165 Mpixels sec or two ports up to 85 MP sec for example WUXGA at 60 Hz each HDMI 1 4 port MIPI DSI two lanes at 1 Gbps Color and monochrome E INK up to 1650x2332 resolution and 5 bit grayscale Camera sensors Two parallel Camera ports up to 20 bit and up to 240 MHz CSI 2 serial camera port supporting from Mbps to 1 Gbps speed per data lane The CSI 2 Receiver core can manage one clock lane and up to two data lanes Each iMX 6Solo processor has two
23. serial Page 46 sth MANUAL vio Date 01 20 2014 got MAC address IM 00 00 00 00 00 00 enet_board init phy reset eco PRIME Hit any key to stop autoboot 0 press any key to enter u boot command mode MX6Solo RIOT U Boot gt 1 Display with 9 7 VDS Only Execute the following instructions in u boot made to configure for 9 7 inch display mode MX6Solo RIOT U Boot gt setenv bootargs console ttymxc1 115200 i wxcfbO dev Idb bpr fbmem 10M vmalloc 400M androidboot console ttymxc1 androidboot hardware freescale init init nosmp vide MX6Solo RIOT U Boot gt saveenv 2 Display with HDMI Only Default mode Execute the following instructions in u boot mode to configure for HDMI display mode MX6Solo RIOT U Boot gt setenv bootargs console ttymxc1 115200 3xcfbO dev hdmi 1280x720M 60 bpy video mxcfb1 off fomem 10M vmalloc 400M androidboot console ttymxc1 androidboot hardware freescale MX6Solo RIOT U Boot gt saveenv Page 47 sth MANUAL vio Date 01 20 2014 5 Making Images This Chapter will introduce how to make images by using BSP contained in the ISO The BSP is a collection of binary source code and support files that can be used to create a boot bootloader Linux kernel image and Android file system for i MX 6Solo RIOT Board Note EB The following instructions are all executed unde
24. 1 18 GIO 10 SPIB master input salve output ir Ghio4 19 PIO Tz SP chip select CST SPI chip select 1 Page 31 UseR MANUAL vo Date 01 20 2014 E CELOS SPIZ chip select 1 15 60101 31 910 16 SPI2 master output salve input 17 60105 05 GIO 18 SPI2 master input salve output 19 GPIOS 06 GPIO 20 500 050 chip select 0 21 90105 07 PIO 2 SPI dock 3 GPIOS 08 GPIO 24 UARTS_RXD UARTS receive data 25 26 36 UARTS TXD UARTS transmit data 27 60104 27 GIO 38 UARTA RXD UART receive data 29 RDY data validation 30 UARTA TXD transmit data Vici Sc T203 master serial clock 32 UARTS RXD UARTS receive data TIC3 SDA T2C3 master serial data UARTS TXD UARTS transmit data 35 Ica SCL T2CH master serial clock 36 Pulse Width Modulation 37 SDA TICA master serial data 38 Pulse Width Modulation 38 GND GND 40 PWM Pulse Width Modulation Page 32 USER MANUAL Date 01 20 2014 2 3 14 Mini USB Interface OpenSDA Figure 2 15 Mini USB OpenSDA Interface Mini USB OpensDA Table 2 14 Mini USB OpenSDA Interface Pin Signal Function 1 50 EJ B SDA 058 ON DA USB data 3 SDA
25. 2 XTRINSIC Sense board and Raspberry Pi 13 Pin mapping DRIVERS FOR XTRINSIC SENSE BOARD Driver for MPL31ISA2 Driver Interfaces m Operation Modes Data Acquisition a 16 Raw Structure and Calculations 16 Alt Raw Data 16 Bar raw data Temperature raw dat sd Drivers for MAG3110 17 Driver Interfaces Raw Data Structure and calculations 18 X Axis data 18 Y Axis data a 19 Z Axis data 19 DEMONSTRATION W FRDM KL2SZ 20 Setup and Configuration 20 DEMONSTRATION W RASPBERRY P 26 Setup and Configuration i 26 Sensor Terminal Tests 27 Sensor Web Application Tests 29 Compass Application 30 Temperature Application 32 Running Car Application E MAKE YOUR OWN RPI IMAGE TO SUPPORT XTRINSIC SENSE BOARD CONNECTION Triest and dementia ave waders Premier pic 2014 Premier Farnell pie Al RightsReserved Freescale and the Freescale logo are trademarks of Freescale Semiconductor Reg US Pat amp Tm Exclusively from XIRINSC SENSE Board Evaluation board for Freescale Rinse Sensors elementiu Doc io XTRINSICRPIUM Rev 0 4 01 09 2014 Serur TERMINAL TESTS WEB APPLICATION TESTS HARDWARE Schematic PCB Layout Bill of Materials ESD PRECAUTIONS AND PROPER HANDLING PROCEDURES UST OF FIGURES FIGURE 1 SENSOR BOARD FIGURE 2 SENSOR BOARD TOP VIEW FIGURE 3 FRDM KL2SZ BOARD
26. 6 MPL3115A2 Active Name MPLSTISA2 Active Prototype void 15 2 Active void Param Void Return Value Void Description Put 15 2 into Active Mode Table 7 MPL3115A2 Standby Name MPLSTISA2 Standby Prototype Uint t MPL3115AZ Standby void Param Void Return Value The value of REGI before modification Description Put MPL3115A2 into Standby Table 8 MPL3115A2 Init Alt Name MPLSTISA2 Init Prototype Uint 1 2 Init AIt void Param Vaid Return Value_ 0 fall 1 success Description Initialize MPL3115A2 for Alt mode and elementa are of Pamir Fara pe 2014 Premier Fame pie Al RightsReserved Freescale and the Freescale logo are trademarks of Freescale Semiconductor Inc Res US Pat amp Tm Exclusively from XTRINSIC SENSE Board Evaluation board for Freescale Xie Sensor elementiu Doc io XTRINSICRPIUM Rev 0 4 01 09 2014 Table 9 MPL3115A2 Init Bar Name MPLSTISA2 Init Bar Prototype UintB t MPL115A2 Init Bar void Param Void Return Value 0 fail 1 success Description Initialize MPL3115A2 for Bar mode Over Sampling Output Sample Rate can be set as shown in Table 10 System Output Data Rate Selection Table 10 and 11 contain the functions used for configuring over sampling parameters Table 10
27. ANUAL Date 01 20 2014 23 19 LEDs Figure 2 20 LEDs Table 2 19 LEDs TED Reference Function Da5 User defined LED User defined LED Power LED OpensDA LED Page 39 UseR MANUAL vio Date 01 20 2014 3 Getting Started Before you start to use RloTboard please read the following sections to get yourself familiar with the system images driver code and tools which might be involved during development process NOTE All images and tools for Android and Linux can be downloaded from www element14 com riothoard 34 Software Features The table shown below lists the versions of Linux and Android systems as well as the device drivers Table 3 1 05 and Drivers Types Notes Linux Version 3 0 35 os Ubuntu Version 11 10 Android Version 4 3 Serial Series driver RTC Hardware clack driver Net 10 100 Gb IEEE1588 Ethernet Device Display display ports LVDS and HOMI 14a Drivers MMC SD Two SD 3 0 SDXC card slot amp eMMC USB S High speed USB ports 4xHost 1xOTG Audio Analog headphone amp mic and Digital HMI Camera Two camera ports IxParallel 1x CSI 2 LED User leds driver 3 2 Linux System The following tables list the specific images and eMMC storage patitions required to build a Linux system Table 3 2 Images Required b
28. ANUAL v1 0 Date 01 20 2014 a 18 19 21 22 23 25 26 28 29 35 36 38 39 Page 4 Figure 3 1 COM Properties Figure 4 1 Boot Configuration Switch LIST OF TABLES Table 2 1 Power Interface Table 2 LVDS interface Table 2 3 HDMI Interface Table 2 4 MIC Input Jack Table 2 5 Audio Output Jack Table 26 SD Cord Interface Table 2 7 uSD MMC Card Interface Table 2 8 CS interface Table 2 9 Camera Interface Table 2 10 JTAG interface Table 21 Mini USB Interface Table 2 12 Serial Port Table 2 13 Expansion Port Interface Table 2 14 Mini USB OpensDA interface Table 2 15 RGMII LAN interface Table 2 16 USB Host Interface Table 2 17 Boot Configuration Select Table 2 18 Reset Switch Table 2 19 LEDs Table 3 1 OS and Drivers Table 3 2 Images Required by Linux USER MANUAL v1 0 Date 01 20 2014 42 17 18 19 21 2 23 E 25 27 28 29 30 n 33 35 39 40 40 Page 5 USER MANUAL Date 01 20 2014 Table 3 3 Storage Partitions for Linux at Table 3 4 Images Required by Android a Table 3 5 Storage Partitions for Android Table 4 1 Boot Switch Configuration Serial Download Table 4 2 Boot Switch Configuration eMMC 46 Table 4 3 Boot Switch Configuration 50 46 Table 5 1 Images and Directories E Page 6
29. EEETITETIS python 13115 2 192 213115 Ctrl C to exit test and get back to terminal prompt 7 Test the 84910 sensor by entering the following at the Raspberry Pi s terminal prompt and are Premier Fare pic Premier Fame lights Res Exclusively from XTRINSIC SENSE Board Evaluation board for Freescale Xtrinsi Sensors elementiu Doc ID XTRINSICRPIUM Rev 04 01 09 2014 rpi sensor board sudo python mma8491q py The expected console output will look similar to the following sudo python 16 22 mg 2 ng 15 mg 3 mg 10 mg 15 mg 11 mg 13 mg x 2 MMAB4910 m 9 ng 84910 x g f 19 mg 4910 12 mg Type Ctrl C to exit test and get back to terminal prompt Sensor Web Application Tests These following web application tests require the Raspberry Pi to have network connection to the same network as an available PC s local area network LAN 8 the Raspberry Pi is network connected obtain the IP inet address using the ifconfig command pi raspherrypi rpi sensor board ifconfig The expected terminal display will similar to the following etho Link encapiEthernet Hiaddr bB 27 eb 95 5c 56 inet addr 192 168 2 138 255 255 255 255 Mask 255 255 255 0 UP BROADCAST RUNNING MULTICAST MTU 1500 Metricil RX packets 5644
30. Freescale logo are trademarks of Freescale Semiconductor Ine Reg U S Pat Tm Exclusively from XTRINSIC SENSE Board Evaluation board for Freescale Xtrinsic Sensors elementiu Doc io XTRINSICRPIUM Rev 0 4 01 09 2014 5 Reset the board by pressing the reset button SW1 and you can see the information displayed below tuna 1 TRD AEU RED MAD EST HAW 008 sole 8 External Pin Reset K2580pin Low Power Line with Cortex Size 16KB 1 Bilicon rev 15 Flash poroweler version 0 0 8 0 Flash version 1D 6 0 1 0 Flash size 128 KB program flash amp KB protection reoion Running the blinky project Elenentli amp Freescale Je Dewo Initializing to 059 128 lime Step 2700 Mode Altimeter Stream Polling O WPL3115A2 1 M863110 2 MMRBLS1Q _ 6 Type SO into the terminal through the PC keyboard to try out the MPL3115A2 sensor The terminal will begin to display temperature readings Touch the sensor with your finger and notice that the temperature readings will start to rise At the same time the RGB LED will begin blinking red Touchhere Tat and elementa are Wadena of Farnell 2014 Premier Farnell pl Al RightsReserved Freescale and the Freescale logo are trademarks of Freescale Semiconductor Reg US Pat amp Tm Exclusively from XTRINSIC SENSE Board Evaluat
31. Freescale logo ret Exclusively from XTRINSIC SENSE Board Evaluation board for Freescale Xtrinsi Sensors elementiu Doc ID XTRINSICRPIUM Rev 04 01 09 2014 12 The following should be displayed in the PC s browser Manually rotate the Raspberry Pi board to see corresponding movement on the compass display Tip optional 13 Ifthe compass direction does not appear accurate try calibrating using the following steps Enter in the following at the command prompt pi raspberrypi sensor board sudo python mag3110 calibrate py Console output 14 After exiting the calibration mode try manually turning the Raspberry Pi board again and note the compass direction indicated in the PC browser s display Check for better accuracy Tbs and elementda are Wadena of Pamir Paral ic 2014 Premier Farnell pl Al RightsReserved Freescale and the Freescale logo are trademarks of Freescale Semiconductor Reg US Pat amp Tm Of Exclusively from XTRINSIC SENSE Board Evaluation board for Freescale Sensors elementiu Doc ID XTRINSICRPIUM Rev 0 4 01 09 2014 Temperature Application 15 At the Raspberry Pi s console output choose 2 to test the MPL3115 The console output should display the following output ors tenper html 16 Re direct the network connected PC s browser to the web address indicated above For this example that would be http 192 168 2 138 sensor
32. GDL Linux UpdateVOS Firmware files android for overwriting the files with the same According to the system you want to boot run the corresponding MFG tool on your PC and power up the RloTboard the software window is shown below the PC will install HID driver automatically if it is the first time connecting to the RloTboard For Linux system the MFG tool is located at linux tools fgtools Rel 4 1 0 130816 MX6DI UPDATER For Android system the MFG tool is located at android tools Mfgtools Rel 4 1 0_130816_MX6DL_UPDATER Page 44 sth MANUAL Date 01 20 2014 X gTool KultiPanel Library 2 2 3 Status Invermetion oreet Fated pmo Faire hal o start MFG tool window Click Start in the following window when download process is done click Stop to finish HfeTool_MultiPaiel library 2 2 3 Status Information saal successul cperatbrs D Caloris HiD conpient device Click Start 8 When download process is done click Exit to exit X zTool NultiPanel Library 2 2 3 messed Page 45 uset MANUAL vo Date 01 20 2014 9 Power off the RlaTboard and set the boot switches SWI on it to eMMC boot mode according to the configuration as shown In the following table Table 4 2 Boot S
33. GEO RCOGOSFR O74K7L 1117265 98K7410 Alternate RESISTOR 0503 10K 1 MULTICOMP MCHPOSWAFIO02TSE 1576297 0146844 Preferred VISHAY CREWOGOSIOKOFKEA 1469748 52K8063 Alternate YAGEO RCOGOSFR O710KL 1117235 6840049 Alternate NL HEADER 254MM VERTICAL THT JOWAY MOLEX 90120 0770 9733353 25MS816 Preferred SAMTEC 5 110 1929555 8319016 Alternate CNICNA HEADER 254MM VERTICAL THT SWAY TE 8254333 3417657 990795 Preferred SAMTEC 5 103 1926586 8378997 Alternate HEADER 254MM 2x13 TI254 DISO 850 213 001 Table 28 XTRINSIC SENSE Board BOM list and elementda are Wadena of Premier Farnell pE Premier Farnell pie Al RightsReserved Freescale and the Freescale logo are trademarks of Freescale Semiconductor Reg US Pat amp Tm Of Exclusively from XTRINSIC SENSE Board elementiu Evaluation board for Freescale Xtrinsie Sensors Doc ID XTRINSICRPIUM Rev 04 01 09 2014 ESD PRECAUTIONS AND PROPER HANDLING PROCEDURES This section includes the precautions for mechanical handling and static precautions to be taken to avoid ESD damage Avoid carpets in cool dry areas Leave development kits in their anti static packaging until ready to be installed Dissipate static electricity before handling any system components development kits by touching a grounded metal object such as the system unit unpainted metal chassis
34. NSE Board Evaluation board for Freescale Xtrinsic Sensors elementiu Doc ID XTRINSICRPIUM Rev 0 4 01 09 2014 910 X 129mg Y z 910 X 220 2 910 2 82910 X 2m Y 2 NNAB4910 36mg 7 14484910 X Y 4910 Y 910 X dag y H 10 R 120mg Y 2 910 Her 99mg 910 2 8 910 50mg v 2 82910 131mg 2 4910 184mg i 2 910 X Bins 7 NNR84910 Xi 2 14484910 X Duo Yt Z 84910 X Bing Y 2 82910 B ng 7 910 16 Ye 910 X Jine Yt 910 X 88 v z HHA8491Q X 118mg 2 Mug 910 153mg Yis 2 98 CHE oucs EUEN fee 19910 pas m Figure 11 MMA8491 Demo Tat and elementda are of Premier Farnell pi z 2014 Premier Fame pl Rp Reserved Freescale and the Freescale logo are trademarks of Freescale Semiconductor ne Reg US Pat amp Tm Exclusively from XTRINSIC SENSE Board Evaluation board for Freescale Xtrinsic Sensors elementiu Doc io XTRINSICRPIUM Rev 0 4 01 09 2014 Demonstration w Raspberry Pi The demonstrations detailed below include set up and programming of the Raspberry Pi specifically for use with the XTRINSIC SENSE BOARD The demonstrations Include terminal level demonstrat
35. Pat amp Tm Exclusively from XTRINSIC SENSE Board Evaluation board for Freescale Xtrinsic Sensors elementiu Doc ID XTRINSICRPIUM Rev 0 4 01 09 2014 Make your own RPi image to support XTRINSIC SENSE BOARD connection The following sections provide instructions for editing and constructing a Raspberry Flash image starting with an official image file The instructions include details on how to manually update an official RPI image to support the same terminal and web applications demonstrations detailed in steps 5 thru 21 above This section assumes user knowledge on accessing an official image and programming it to Flash This detail is NOT covered in this document Set up 22 Follow step 1 4 In the previous section to setup connect and power the Raspberry P with XIRINSICSENSE BOARD Terminal tests The XTRINSIC SENSE BOARD communicates with the Raspberry Pi using the I2C interface The I2C interface driver is included in later Raspbian distributions but is not enabled by default You can always enable the 2 driver or you can load it by hand when required To always enable the 2 driver 23 After logging into RPi edit etc modprobe d raspi blacklist conf by typing sudo nano etc modprobe d raspi blacklist conf 24 Inserta hash t at the start of the line blacklist i2c bcm2708 it should be read blacklist i2c bcm2708 Alternatively to load the 2 driver by hand will not be load
36. Ust DP SDA USB datar 3 NC NC E GND GND Note RloTboard has hardware to support Freescale s OpenSDA interface Currently this interface has not been enabled in software Page 33 sth MANUAL vo Date 01 20 2014 2 3 15 RGMII LAN Interface The Ethernet connector contains integrated magnetic which allows the Ethernet IC to auto configure the port for the correct connection to either a switch or directly to a host PC on a peer to peer network It is not necessary to use a crossover cable when connecting directly to another computer The Ethernet connector is shown in Figure 2 16 Figure 2 16 LAN Interface Table 2 15 RGMII LAN interface is Pin Signal Function T TDi output TOT TDT output 3 TDZ output E 02 02 output 5 25V power for TD g RT 25 power for RD 7 51 RDT input 8 RDI RDI input g RDZ input EJ RZ RD2 input Page 34 sth MANUAL vo Date 01 20 2014 GRLA Green LED link signal TZ Power supply for green LED B Yellow LED action signal 14 YEUX Power supply far yellow LED 2316 USB HUB Interface Figure 2 17 USB Host Interface 058 USB Table 2 16 USB Host Interface Pin Signal Function 1 098 PWRS 38V 2
37. ale Semiconductor Reg US Pat amp Tm Exclusively from XTRINSIC SENSE Board Evaluation board for Freescale Xtrinsie Sensors elementiu Doc ID XTRINSICRPIUM Rev 04 01 09 2014 Hardware This document includes the hardware design files for the XTRINSIC SENSE BOARD on the following pages of this document Details on the supported host platforms can be found as noted below Forthe Freescale FRDM KL252 board please refer to http www element14 com community docs DOC 46626 For the Raspberry Pi board please refer to http www element14 com community docs DOC 42993 V raspberry pi single board computer and Gementid wa Vademuris Premier pc 7 2014 Premier Farnell ple Al RightsReserved Freescale and the Freescale logo are trademarks of Freescale Semiconductor Res US Pat amp Tm Exclusively from XTRINSIC SENSE Board Evaluation board for Freescale Xtrinsic Sensors elementiu Doc ID XTRINSICRPIUM Rev 0 4 01 09 2014 Schematic 3 3 Sis X 3 088008800009 uli 3090999990999 g ILI e lt Lll ag n 7 H Ly to Figure 12 Sensor Board Schematic 1 ee Freier 2014 Premier Farnell pic AI igs Reserved Freescale and the Freescale logo are
38. ale Xtrinsic Sensors elementiu Doc io XTRINSICRPIUM Rev 0 4 01 09 2014 TABLE 15 MPLSLISA2 READ TEMP 16 TABLE 16 ALT RAW DATA STRUCTURE 16 TABLE 17 BAR RAW DATA STRUCTURE TABLE 18 TEMPERATURE RAW DATA STRUCTURE TABLE 19 MAG3110 INTERFACE LIST i TABLE 20 MAG3110 INT i TABLE 21 MAG3110 DEINIT 18 TABLE 22 MAG3110_READRAWDATA X 18 TABLE 23 MAG3110_READRAWDATA_Y 18 TABLE 24 110 READRAWDATA 2 18 TABLE 25 X AXIS DATA STRUCTURE 18 TABLE 26 Y AXIS DATA STRUCTURE 19 TABLE 27 Z AXIS DATA STRUCTURE 19 TABLE 28 XTRINSIC SENSE BOARD LIST 43 Tribes and dementia are of Premier Fal pic 2014 Premier Farnell pl Al RightsReserved Freescale and the Freescale logo are trademarks of Freescale Semiconductor Reg US Pat amp Tm Exclusively from XTRINSIC SENSE Board Evaluation board for Freescale Sensors elementiu Doc XTRINSICRPIUM Rev 0 4 01 09 2014 Kit Overview The XTRINSIC SENSE board demonstrates the capabilities of Freesc board includes interfacing and support for the following host platforms Xtrinsic sensors The Xtrinsic Sensor Freescale FRDM KL252 Raspberry Pi Model 8 The software drivers and code enable engineers to easily evaluate and demonstrate the performance of the sensors in a variety of applications including Compass Mobile Phones Tablet Computers Remote Contral Wireless Mouse Game Consoles Navigatio
39. are enabled and accelerated by the following hardware ARM TrustZone including the TZ architecture separation of interrupts memory mapping etc SiC System JTAG Controller Protecting JTAG from debug port attacks by regulating or blocking the access to the system debug features CAAM Cryptographic Acceleration and Assurance Module containing cryptographic and hash engines 16 KB secure RAM and True and Pseudo Random Number Generator NIST certified SNVS Secure Non Volatile Storage including Secure Real Time Clock CSU Central Security Unit Enhancement for the IC Identification Module Will be configured during boot and by eFUSEs and will determine the security level operation mode as well as the TZ policy AHAB Advanced High Assurance Boot Hv with the new embedded enhancements SHA 256 2048 bit RSA key version control mechanism warm boot CSU and TZ initialization 22 Expanded Chip Introduction 221 1 256 16 125 The board has 168 of SDRAM 2 512 8 Micron s MT41K256M16 is 512MB DDR3 Synchronous DRAM ideally suited for the main memory applications which require large memory density and high bandwidth 222 MMPFO100NPAEP The PFO100 Power Management Integrated Circuit PMIC provides a highly programmable configurable architecture with fully integrated power devices and minimal external components With up to six buck converters six linear regulators RTC supply and coin cell charger th
40. ass storage device MSD Flash Programmer OpenSDA Application preinstalled It will appear as a removable storage drive with a volume label of FRDM KL257 Note For more details on setup of the FRDM KL25Z please refer to http www element14 com community docs D0C 49219 lt USB connection 2 Open the FRDM KL25Z drive and drop the image sensors freedom srec into it as seen below ENS sme 3 The MSD Flash Programmer also includes a USB virtual serial port which requires an INF file for proper installation in Windows The necessary INF file is available as part of the P amp E OpenSDA USB Drivers and the FRDM KL25Z removable drive PEMicro Freescale CDC Serial Port Exclusively from XTRINSIC SENSE Board Evaluation board for Freescale Xtrinsic Sensors elementiu Doc io XTRINSICRPIUM Rev 04 01 09 2014 LI Feros LE The serial port will be configured after the driver installation eg in the example A4 Launch the terminal program eg Tera Term with the properties as follows Baud rate 115200 Data bits obit Stop bits Ibit Parity None Flow control None za We Treat and elementa are Premier Farnell x 2014 Premier Farnell pic AI Rights Reserved Freescale and the
41. ctricity before handling any system components development kits by touching a grounded metal object such as the system unit unpainted metal chassis If possible use antistatic devices such as wrist straps and floor mats Always hold a evaluation board by its edges Avoid touching the contacts and components on the board care when connecting or disconnecting cables A damaged cable can cause a short in the electrical circuit Prevent damage to the connectors by aligning connector pins before you connect the cable Misaligned connector pins can cause damage to system components at power on When disconnecting a cable always pull on the cable connector or strain relief loop not on the cable itself Page 52 53 USER MANUAL 22 2 freescale Enabled XTRINSIC SENSE Board Evaluation Board for Freescale Xtrinsic Sensors For use with Freescale FRDM KL25z and Raspbery Pi Host Platforms Exclusively from elementiu Exclusively from XTRINSIC SENSE Board Evaluation board for Freescale Xtrinsic Sensors elementiu Doc ID XTRINSICRPIUM Rev 04 01 09 2014 Table of Contents KITOVERVIEW 5 Kir Contents 5 Xirinsic Sense Board 5 6 MAGSILO MMAS 91Q Pin Definition of Connectors 7 Board Top View Pin Definition a Freescale Freedom FRDM KL252 10 XTRINSIC Sense board and FRDM KL2SZ Pin mapping n Raspberry Duomo 1
42. e PFO100 can provide power for a complete system including applications processors memory and system peripherals ina wide range of applications With on chip One Time Programmable OTP memory the PFO100 is available in pre programmed standard versions or non programmed to support custom programming The PFO100 is defined to power the entire embedded MCU platform solution similar to MX6 based eReader IPTV medical monitoring and home factory automation 223 ARB035 ARBOSS isa single port 10 100 1000 Mbps tri speed Ethernet PHY feaured with low power and low cost AR8035 supports MAC TM RGMII interface and IEEE 802 3az 2010 Energy Efficient Ethernet EEE standard through proprietary SmartEEE technology improving energy efficiency in systems using legacy MAC devices without 802 3az Page 15 Q USER MANUAL vo Date 01 20 2014 support The RIOT Board can be connected to a network hub directly through a cable It also can be directly connected with a computer through a crossover cable which is provided with the kit 224 FELL FEL 1is a USB 2 0 high speed 4 port hub solution It uses USB3320 to provide 4 extended USB interface with support for high speed 480MHz full speed 2MHz and low speed 1 5MHz mode 225 5615000 The 56115000 is a low power stereo Codec with Headphone from Freescale and is designed to provide a complete audio solution for portable products needing line in mic in li
43. ed on reboot Ctri X to save 25 Type in a terminal sudo modprobe i2c bcm2708 26 Next you need to install the sensor drivers Download the driver and python test scripts from git clone http git oschina net embest rpi sensor board git 27 When the downloading finished reboot your Raspberry Pi sudo reboot 28 Then you can test the sensor from terminal Refer to steps 5 thru 7 above to run terminal demonstration tests and elementa are Wadena of Premier Farnell ic x 2014 Premier Farnell pie Al Rights Reserved Freescale and the Freescale logo are trademarks of Freescale Semiconductor Reg US Pat amp Tm Exclusively from XTRINSIC SENSE Board Evaluation board for Freescale Xtrinsic Sensors elementiu Doc io XTRINSICRPIUM Rev 04 01 09 2014 Web application tests 29 Install the web server Install nginx web server by typing sudo apt get install nginx Start the nginx web server typing sudo etc init d nginx start The defualt server root is usr share aginx wew 30 Install the php package Install php by typing sudo apt get update sudo apt get install phps fpm Edit the config file of nginx sudo nano etc nginx sites available default Find the line start with listen 80 delete the hash H it should be read listen 80 listen for Find the line start with index add index php then it should be read index index php index html index htm
44. elementiu RloTboard Web Server Master Class Hardware Kit User Manual This document contail RloTboard User Manual v1 0 XTRINSIC SENSE Board User Manual RIoTboard Revolutionizing the Internet of Things sth MANUAL Date 01 20 2014 Table of Contents 1 BOARD OVERVIEW 11 j 7 12 8 2 HARDWARE DESCRIPTION 21 Processor 211 Core Features 212 External memory interfaces n 213 interface to external devices 214 Advanced Power Management unit n 215 Hardware Accelerators n 22 EXPANDED CHP INTRODUCTION 15 221 MT41K256M16HA 125 E 15 222 MMPFOLOONPAEP 15 223 ARBORS 15 224 FELL 16 225 SGILSOQO 16 23 ExpanDeD CHP Ivrsopucrion 231 Power Input Jock B 17 232 LVDS Interface T 1 233 HDMI Interface 19 234 Microphone Input Jack T B ion 2 235 Audio Output Jack B 2 236 SD Card Interface B 23 237 uSD MMC Cord Interface M 238 CSI terface B 25 238 Camera Interface b 26 Page 2 uset MANUAL vo Date 01 20 2014 23 10 Interface 28 2311 Mini USB interface 29 23 12 SerialPort 30 23 13 Expansion Port Interface i 23 14 Mini USB Interface OpenSDA 33 2315 0 RGMIILAN interface 346 USB HUB Interface as 2317 Boot Configuration Select
45. est the Xtrinsic MAG3110 three Axis digital magnetometer console will output the three axis magnetometer value The mag3110 can be calibrated first running the mag3110_calibrate py script Calibration data will be stored mag_calibration data mpi3i15a2 py Test the Pressure Altitude and Temperature console will output Temperature and Pressure Altitude mmasisie py Test the Xtrinsic MMA8491Q_3 Axis multifunction digital accelerometer console will output the 3 axis accelerometer data 5 Test the MAG3110 sensor by entering the following at the Raspberry Pi s terminal prompt pi raspberrypi cd rpi sensor board and elementda are of Premier Farnell pi E 2014 Premier Fame pie Al RightsReserved Freescale and the Freescale logo are trademarks of Freescale Semiconductor Reg US Pat amp Tm XTRINSIC SENSE Board Evaluation board for Freescale Xtrinsi Sensors Doc ID XTRINSICRPIUM Rev 04 01 09 2014 rpi sensor board sudo python mag3110 py The expected console output will look similar to the following picraspberryps 572 645 0 MAG3110 Type Ctrl C to exit test and get back to terminal prompt 6 Test the MPLA3115A2 sensor by entering the following at the Raspberry terminal prompt pi raspberrypi rpi sensor board sudo python mpl3115a2 py The expected console output will look similar to the following E
46. here it is placed The MAG3110 features an I2C serial interface and is capable of measuring magnetic fields of up to 10 Gauss with an output data rate up to 80Hz The output data rate can vary depending on the sampling intervals and may be adjusted from 12ms to several seconds MMA8491Q The 491 is a low voltage 3 axis low g accelerometer housed in mm by mm QFN package The device accommodate two accelerometer configurations acting as either an easy to implement 45 Tilt Sensor digital 2 output accelerometer In the 45 Tilt Sensor mode it offers extremely easy board implementation by using a single line of output per axis In the digital output mode 14 bit raw data can be read from the device with high 1 mg LSB sensitivity The extreme low power capabilities of the MMA84910 reduce the low data rate current consumption to less than 400 nA per Hz Trak and clementia are waders of Premier Farnell ic 62014 Premier Farnell pic Al igs Reserved Freescale and the Freescale logo are trademarks of Freescale Semiconductor Reg U S Pat amp Tm Exclusively from XTRINSIC SENSE Board Evaluation board for Freescale trinsic Sensors elementiu Doc ID XTRINSICRPIUM Rev 0 4 01 09 2014 Pin Definition of Connectors This section will briefly introduce the connectors used on sensor board and the pins of these connectors in terms of definition function and application Board Top View
47. i 36 23 18 Reset Switch 38 2319 39 3 GETTING STARTED 40 32 0 incerta 40 33 Awmob secu 34 Serr up Terma EATON 4 DOWNLOADING AND RUNNING THE SYSTEM DOWNLOAD AND RUN LINUX OR ANDROID SYSTEM 43 42 DISPLAY MODE CONFIGURATONS FOR LINUX amp ANDROID SYSTEMS 46 MAKING IMAGES 51 Maxis mases ron Liun 48 521 Getting Tools and Source Code 48 5 2 Compiling System Images 48 52 MAKING IMAGES FORAN ANDROID SYSTEM 49 521 Getting Repo Source Code 49 522 Compiling System Images 50 6 ESD PRECAUTIONS AND PROPER HANDLING PROCEDURES Page 3 UST OF FIGURES Figure 1 1 Functional Block Diagram Figure 1 2 RloTboard top view Figure 1 3 RloTboard bottom view Figure 2 1 Block Diagram of LMX 65000 Figure 2 2 Power Interface Figure 2 3 LVDS Interface Figure 2 4 HDMI Interface Figure 2 5 MIC input Figure 2 6 Audio Output Jack Figure 2 7 SD Card Interface Figure 2 8 USD MMC Cord Interface Figure 2 9 CSI interface Figure 2 10 Comera Interface Figure 2 11 JTAG Interface Figure 2 12 Mini USB interface Figure 2 13 Serial Port Figure 2 14 Expansion Port Figure 2 15 Mini USB OpenSDAJinterface Figure 2 16 RGMII LAN interfoce Figure 2 17 USB Host Interface Figure 2 18 Boot Configuration Select Figure 2 19 Reset Switch Figure 2 20 LEDs USER M
48. icro SD Card Connector 17 connects a 4 bit parallel data bus to the 503 port of the 6 processor The micro SD Card is inserted facing up at the location shown in Figure 2 8 Figure 2 8 usD MMC Card Interface USD Card Table 2 7 usD MMC Card Interface 77 Pin Signal Function T 503 Card data2 B 503 Card data 3 3 TMD Card command signal Page 24 sth MANUAL vo Date 01 20 2014 E 5 303 Card dock g Vss GND 7 503 DATO Card data 0 E 503 DATI Card data g 503 0 Card detect 10 PGND GND 238 CSI Interface Figure 2 9 CSI Interface Table 2 8 CSI Interface g Pin Signal Function 1 VIN EJ B SVIN EJ 7 GND GND 3 GND GND Page 25 USER MANUAL v1 0 Date 01 20 2014 E TIVE VGENG 737 g GS clock 7 GND GND g CURT Gireset g GLEN CSI data enable EJ SC serial clock ir Tez serial data 12 GND GND CS differential pairs lock0 3a CSI differential pairs clockO 15 GND ND 16 DOM CS differential pairs datad E CSI differential pairs 3g GND ND 19 TDM CSi differential pairs dataT EJ differential pairs datal 239 Camera Interface Figure 2 10 Camera
49. ion board for Freescale Xtrinsic Sensors elementiu Doc ID XTRINSICRPIUM Rev 0 4 01 09 2014 51 3750 Temp 21 0625 when sensoristouched Sx Stream Polling 0 MPL311582 1 10 2 84910 MPL3115A2 gt 80 51 5625 lem 24 0625 1 51 6875 Temps 24 0625 MPL3115 51 8750 Temp 24 0625 MES Temps Pt feos 51 3750 e temperature wil rise 311 MPL3115 18 8750 24 8125 MPL3115 Alt 9 4975 Temp 25 3125 1 2278625 25 6250 MPL3115 Alt 40 2500 Temp 25 8125 MPL3115 Alt 62 0625 26 0000 3115 Alt 52 6875 Tomp 26 0625 HPL3115 Alt 69 5625 26 1250 Alt 64 4375 Tempe 26 2500 16 flt 78 3750 Temp 26 3125 MPLSLIS Alt 15 0625 25 3750 MPL3LI5 Alt 81 6250 26 5000 Figure 9 MPL3115 demo 7 Press the Enter key on the keyboard to quit the demo and go back to the menu Type SI to try out the MAG3110 sensor Shake the board around and you can see the 3 D magnetic field measurement change At the same time the RGB LED will begin blinking green and elementda are Wadena of Premier Farnell ic z 2014 Premier Farnell pl Al RightsReserved Freescale and the Freescale logo are trademarks of Freescale Semiconductor Reg US Pat amp Tm Exclusively from XTRINSIC SENSE Board
50. ions and web applications demonstrations Note the web application demonstrations require a network connection These demonstrations are enabled though a supplied custom image file for Raspberry Pi to support connection to the XTRINSIC SENSE BOARD The final section includes details on how a user can modify the standard default Raspberry Pi image in order to use the I2C connection to run the same terminal and web application demonstrations NOTE The setup and terminal demonstration tests covered in steps 1 thru 7 below are also provided in the QuickStart Guide A QuickStart Guide fold out accompanies the XTRINSIC SENSE BOARD kit and is also avallable on line here Setup and Configuration 1 Connect the XTRINSIC SENSE BOARD to the Raspberry PI board as shown below Exclusively from XTRINSIC SENSE Board Evaluation board for Freescale Xtrinsic Sensors elementiu Doc ID XTRINSICRPIUM Rev 04 01 09 2014 2 Download the custom operating system image offered and flash it to an SD card 4MB The custom Image for use with XTRINSIC SENSE BOARD is available here http www element14 com mems sense 3 Power on Raspberry Pi with a USB cable connection as shown Provide additional connections for needed peripherals 4 Once in Raspberry Pi console mode enter in username pi and password x Sensor Terminal Tests These following tests are run by executing python demo scripts described here mag3110 py T
51. l pic igs Reserved Freescale and the Freescale logo are trademarks of Freescale Semiconductor Reg US amon Exclusively from XTRINSIC SENSE Board Evaluation board for Fre sic Sensors elementiu D INSICRPIUM 01 09 2014 PCB Layout 9 99 37 34mm Figure 16 Sensor Board PCB TOP View I Exclusively from XTRINSIC SENSE Board Evaluation board for Freescale Xerinsie Sensor elementiu Doc ID XTRINSICRPIUM Rev 0 4 01 09 2014 of Materials Description Farnell Newark UL PRESSURE SENSOR 20 110KPA FREESCALE MPL3115A2 2009084 6117697 Preferred Uz MAGNETOMETER 12C FREESCALE MAGSIIOFCRI 7080492 8312982 Preferred Us ACCELEROMETER SENSOR GFN FREESCALE MMABISIQ 2291592 a7W865 Preferred a 0603 63V 10UF KEMET COGOICIOSMGPACTU 1288201 86K0597 Preferred TANOYUDEN 1463375 30K5476 Alternate AV MOSSDIOSMAT 1867960 2070206 Alternate CELE MIE 16v OF CMAOSK7RIO4KIGAT 1216538 01M7218 Preferred COGOICIOAMRACIU 1650834 64K2836 Alternate MULTICOMP BOGO3RIOAKCT 3406140 3719922 Alternate RLRZRS RESISTOR 0603 4 7K 1 MULTICOMP MCHPOSWAFA701TSE 1576293 O1NG amp 91 Preferred VISHAY CRCWOGOS4K7OFKEA 1469807 52K8494 Alternate YA
52. lanes Expansion cards Four MMC SD SDIO card ports all supporting 1 58 or 4 bit transfer mode specifications for SD and SDIO cards up to UHS 1 SDR 104 mode 104 MB s max Lit 4 bit or 8 bit transfer mode specifications for MMC cards up to 52 MHz in both SDR and DDR modes 104 MB s max use One high speed HS USB 2 0 OTG Up to 480 Mbps with integrated HS USB PHY o Three USB 2 0 480 Mbps hosts One HS host with integrated High Speed PHY Two HS hosts with integrated HS IC USB High Speed Inter Chip USB PHY Expansion PCI Express port PCIe v2 0 one lane PCI Express Gen 2 0 dual mode complex supporting Root complex operations and Endpoint operations Uses x1 PHY configuration Miscellaneous IPs and interfaces o Three DS SSI AC97 up to 1 4 Mbps each Enhanced Serial Audio Interface ESAI up to 1 4 Mbps per channel Five UARTS up to 4 0 Mbps each Providing RS232 interface Supporting 9 bit 15485 multidrop mode Page 13 UseR MANUAL Date 01 20 2014 One of the five UARTs UART1 supports wire while the other four support 4 wire This is due to the SoC IOMUX limitation since all UART IPs are identical Four eCsPI Enhanced CSI Four IC supporting 400 kbps Gigabit Ethernet Controller EEE1588 compliant 10 100 1000 Mbps Four Pulse Width Modulators PWM System JTAG Controller SIC GPIO with interrupt capabilities 8x8 Key Pad Port KPP Sony Phili
53. n Devices Medical Devices Kit Contents Xtrinsic Sense Board Quick Start Guide Xtrinsic Sense Board The sensor board comes equipped with three of Freescale s new generation XTRINSIC MEMS sensors The MPL3115 U1 is designed for accurate measurement of temperature and pressure the MAG3110 U2 for detection of magnetic fields and the MMA8491 U3 for measurement of physical positions pO ER ere locatis elenenti4 Figure 1 Sensor Board Exclusively from XTRINSIC SENSE Board Evaluation board for Freescale Xtrinsic Sensors elementiu Doc ID XTRINSICRPIUM Rev 0 4 01 09 2014 MPL3115 The MPL3115 is a high precision sensor used to provide accurate pressure and altitude data It features an adjustable sampling rate ultra low power consumption and intelligent functions suitable for applications such as mobile medical and security devices MPL3115 is able to provide digitized output two separated wake up interrupts minimum maximum threshold mechanism and autonomous data acquisition The self data processing ability of the MPL3115 reduces the need for communication with MCUs which reduces overall system power consumption MAG3110 The MAG3110 is a small low power digital 3 axis magnetometer featuring a wide measurement range It can measure magnetic fields the overlapped fields consisting of the geomagnetic field and the fields created by components on on each of the 3 axes in the position w
54. nductor Inc Reg US Pat amp Tm Off Exclusively from XTRINSIC SENSE Board Evaluation board for Freescale Xie Sensors elementiu Doc io XTRINSICRPIUM Rev 0 4 01 09 2014 Raspberry Pi The Raspberry Pi features a BCM2835 SoC which includes an 76 26 5 700 processor VideoCore IV GPU and 512 MB of RAM Model B It also includes two USB ports and a 10 100 Ethernet controller The Raspberry Pi has an easy access 26 pin GPIO header 2x13 0 1 center Four additional GPIO available on PS The board also features primary and secondary channels Figure 6 Raspberry Pi board Figure 7 Pinouts of I O headers on Raspberry Pi and elementa are of Fara E 2014 Premier Farnell pie Rp Reserved Freescale and the Freescale logo are trademarks of Freescale Semiconductor Reg US Pat amp Tm Exclusively from XIRINSIC SENSE Board Evaluation board for Freescale Xtrinsie Sensors elementiu Doc ID XTRINSICRPIUM Rev 0 4 01 09 2014 XTRINSIC Sense board and Raspberry Pi Pin mapping SensorBoard Raspberry Pi SensorBoard Raspberry Pi CN3 P1 CN3 1 1 43v3 2 2 50 SDA_SENSOR 3 3 SDAL nc 4 4 500 SCL SENSOR 5 5 scii GND 6 6 GND ne 7 7 GPIO_GCLK 8 8 GND 9 9 GND RX 10 10 RXDO INT MPL3115 11 11 GPIO GENO ZOUT 12 12 GPIO GENI 13 13 GPIO_GEN2 GND 14 14 GND your 15 15 GEN3 16 16
55. ne out headphone out and digital Deriving its architecture from best in class Freescale integrated products currently on the market the 56115000 is able to achieve ultra low power with very high performance and functionality all in one of the smallest footprints available Designed with features such as capless headphone and an integrated PLL to allow clock reuse within the system it helps customers achieve a lower overall system cost Page 16 sth MANUAL Date 01 20 2014 23 Expanded Chip Introduction 234 Power Input Jack AC to DC power supply needs to be plugged into the Power Jack I1 on the board not recommended to use a higher voltage since possible damage to the board may result due to failure of the protection circuitry Figure 2 2 Power Interface Table 2 1 Power Interface n Pin Signal Function 1 GND GND 2 NC NC 3 35V Power supply 45V Type Page 17 sth MANUAL vio Date 01 20 2014 232 LVDS Interface Figure 2 3 LVDS Interface 1 05 The LVDS Interface supports LVDS8000 97C designed by Embest Table 2 2 LVDS Interface E Pin Signal Function T TVDS_TXZP TVDS 43122 3 1005 TON LVDS data7 3 GND GND E TVOS TXL P TVBS 991915 g TVOS TXIN 1 05 datal 7 GND GND 1VOS TX0 P LVDS datade 3 TX
56. nput its signal though the tip of the 3 5mm plug Figure 2 5 MIC Input Table 2 4 MIC Input Jack d Pin Signal Function 1 GND_ANALOG Analog GND B MICI P MIC input analog GND 3 Analog GND 3 GND ANALOG Analog GND 5 MIC input analog GND Page 21 UseR MANUAL Date 01 20 2014 235 Audio Output Jack headphone with a standard 3 5mm stereo jack can be connected to the Audio Output jack at the point shown in Figure 2 6 Figure 2 6 Audio Output Jack Table 2 5 Audio Output Jack 5 Pin Signal Function T GND_ANALOG Analog GND B UNEOUT left output 3 UNEOUT Right output 3 UNEOUT Right output E UNEOUT left output Page 22 sth MANUAL Date 01 20 2014 236 SD Card Interface Figure 2 7 SD Card Interface SD Card Table 2 6 50 Card Interface Ej Pin Signal Function T 502 DATI Card data 3 2 502 CMD Command signal 3 GND GND 3 EEJ 33V E 302 Clock 5 Ves GND 7 02_DATO Card data 0 g 502 DATI Card data 1 E 502 DATI Card daa Page 23 sth MANUAL VO Date 01 20 2014 10 Tard detect ir 302 WP Card write protected 12 GND GND B GND GND 14 GND GND 15 GND GND 23 7 uSD MMC Card Interface The m
57. or with the following features Mechanical Parameters Working Temperature 0 C 50 C Humidity Range 20 90 Dimensions 120mm x 75mm Input Voltage 5V Processor ARM Cortex A9 MPCore Processor at 1 GHz High performing video processing unit which covers SD level and HD level video decoders and SD level encoders as a multi standard video codec engine An OpenGL ES 2 0 3D graphics accelerator with a shader and a 2D graphics accelerator for superior 3D 2D and user interface acceleration Memories 1GByte of 16 bit wide DDR3 BOOMHz 4GBeMMC ns n SeralbebusPor usDCard Expansion Port m n m eset Sith AudiaQutput MiCinput HDMI LVDS Camera Opens Figure 1 2 RloTboard top view Page 8 USER MANUAL VO Date 01 20 2014 Media Interfaces Analog headphone microphone 3 5mm audio jack o HDMI interface Parallel RGB interface Expansion port terface Camera interface Support CCD or CMOS camera MIPI lanes at 1 Gbps 16 SD Card Figure 1 3 RloTboard bottom view Data Transfer Interfaces Debug Ports 3pin TTL level Serial Ports 4 UART3 4 5 3 line serial port TTL Logic Expansion port USB Ports 1xUSB2 0 OTG mini USB high speed 480Mbps 4x USB2 0 HOST Type A high speed 480Mbps USO card interface SD card interface 30M 100M Gb Ethernet Interface
58. ps Digital Interface SPDIF and Tx Two Controller Area Network FlexCAN 1 Mbps each Two Watchdog timers WDOG Audio MUX AUDMUX MediaLB provides interface to MOST Networks MOST25 MOSTSO MOSTISO with the option of OTCP cipher accelerator 0000000000020 214 Advanced Power Management unit The 6Solo processors integrate advanced power management unit and controllers Provide PMU including LDO supplies for on chip resources Use Temperature Sensor for monitoring the die temperature DVFS techniques for low power modes Use SW State Retention and Power Gating for ARM and MPE Support various levels of system power modes Use flexible clock gating control scheme 215 Hardware Accelerators The i MX 6Solo processor uses dedicated hardware accelerators to meet the targeted multimedia performance The use of hardware accelerators is key factor in obtaining high performance at low power consumption numbers while having the CPU core relatively free for performing other tasks The MX 6Solo processor incorporates the following hardware accelerators VPU Video Processing Unit IPUVSH Image Processing Unit version GPUSDvS 3D Graphics Processing Unit OpenGL ES 2 0 version 5 GPU2Dv2 20 Graphics Processing Unit BitBlt 9 ASRC Asynchronous Sample Rate Converter Page 14 sth MANUAL Date 01 20 2014 Security functions
59. r Ubuntu system Each instruction has been put a bullets before it to prevent confusion caused by the long Instructions that occupy more than one line in the context 5 1 Making Images for Linux Please strictly follow the steps listed below to make images for Linux system 5 11 Getting Tools and Source Code 3 Execute the following instructions to get cross compiling toolchain t it clone gt github com embesttech fs linaro toolchain git 2 the following instructions to get u boot source code gate S git done git cthub com embesttech v boot imxgit b 3 035 400 3 Execute the following instructions to get kernel source code m 2 git clone git eihub com embesttech linncimx git b embest im 3 0 35 5 1 2 Compiling System Images 1 Execute the following instructions to compile u boot image ed u bootimx S export ARcH arm lt Sexport CROSS COMPILE sHinaro toolchain bin arm linuxcgnueabi o S make distclean make mi solo riot config Page 48 USER MANUAL LO Date 01 20 2014 T smake u boot mx6solo riot bin After executing the instructions a file u boot mx6solo riotbin can be found in the current directory 2 Execute the following instructions to compile kernel image fo Sexport PATH u boot Sed finuxcime export ARcH arm lt Sexport CROSS COMPILE fHinaro
60. rminal window 3 Set the boot switch SW1 on the RloTboard to Serial Download Mode according to the configurations as shown in the following table Table 4 1 Boot Switch Configuration Serial Download Switch 01 02 07 08 jor or Figure 4 1 Boot Configuration Switch Wy Page 43 sth MANUAL Date 01 20 2014 4 5 Modify the MFG tool configuration Currently the Linux system on the RloTboard supports only booting from EMMC but the Android system supports booting from both eMMC and SD card To select the device you want to program to follow the instruction below Modify the value of name in cfgini under Android flash image tool Mfgtools Rel 4 1 0 130816 MXGDL UPDATER directory eMMC name Android RIOT eMMC so name Android RIOT SD Prepare the image files For Linux Copy the Linux image files oneiric tge u boot mx solo rot bin and umage to the Linux flash image tool Mfgtool Rel 4 1 0_130816_MX6DL_UPDATER Profiles MX6DL Linux Update OS Firmware files to overwrite the files with the same names For Android Copy the Android image files u boot mx6solo riot bin and according to the boot mode SD eMMC to copy the boot img recovery img amd systemimg under SD eMMC directory to Android flash image tool Migtools Rel 4 1 0 130816 MX6DL_UPDATER Profiles MX
61. s temper html 17 The following should be displayed in the PC s browser The temperature is displayed digitally in degrees For example 25 144 Touching or blowing on the MPL3115 refer to Figure 1 should cause the temperature displayed to change Tat and elementa are Wadena of Premier Farnell ic D 2014 Premier Farnell pie Al RightsReserved Freescale and the Freescale logo are trademarks of Freescale Semiconductor Reg US Pat amp Tm Of elementiu Dor XTRINSICRPIUM Rev 0 4 01 09 2014 Running Car Application 18 At the Raspberry console output choose to test the MMA8491 The console output should display the following output apload to xpi IP ull be contr move the car corresponding 19 Re direct the network connected PC s browser to the web address indicated above For this example that would be http 192 168 2 138 sensors gsensorr html 20 The following should be displayed in the PC s browser Move and tilt the Raspberry Pi board to affect position of the car displayed on the screen 21 Enter choice of 0 or Ctrl C to exit the testing This completes the terminal and web application demonstration tests for the XTRINSIC SENSE BOARD with Raspberry Pi Tbs and elementa are Wadena of Premier 3 2014 Premier Farnell pie Rp Reserved Freescale and the Freescale logo are trademarks of Freescale Semiconductor Inc Reg US
62. symmetric where the core includes 32 KByte L1 Instruction Cache 32KByte L1 Data Cache o Private Timer and Watchdog Cortex A9 NEON MPE Media Processing Engine Co pracessor The ARM Cortex A9 MPCore complex includes General Interrupt Controller GIC with 128 interrupt support Global Timer Snoop Control Unit SCU 512 KB unified I D L2 cache Two Master AX 64 bit bus interfaces output of L2 cache NEON MPE coprocessor SIMD Media Processing Architecture 1 NEON register file with 32x64 bit general purpose registers NEON Integer execute pipeline ALU Shift NEON dual single precision floating point execute pipeline FADD FMUL NEON load store and permute pipeline 000000 The memory system consists of the following components Level 1 Cache 32 KB Instruction 32 KB Data cache per core Page 11 UseR MANUAL vio Date 01 20 2014 Level 2 Cache Unified instruction and data 512 KByte On Chip Memory Boot ROM including HAB 96 KB Internal multimedia shared fast access RAM OCRAM 128 Secure non secure 16 KB 1 s Figure 2 1 Block Diagram
63. tition of SD eMMC card with dd command TEXTE age generated rom data TEXTE Tage generated from recovery Can recovery img RECOVERY partition of SD eMMC card with dd command host bin boot nage with padding Note Android image should be built in user mode For more information please visit htto source android com source building html 3 Execute the following instructions to compile boot img source build envsetup sh lunch riot_6solo user make bootimage After executing the instructions boot img image be found under android imx6 jb4 3 1 0 0 out target product riot_6solo Note Copy the bootimg recovery img system img and u boot bin rename this to u boot mx6solo riot bin files created upon compilation to the Android flash tool folder Mfgtools 130816 MXGDL_UPDATER Profiles MXGDL Linux UpdoteOS FirmwareMilesVandroid to overwrite the files with the same names and repeat the operations from step 2 in 4 1 to verify the Android system built Page 51 sth MANUAL Date 01 20 2014 6 ESD PRECAUTIONS AND PROPER HANDLING PROCEDURES This section includes the precautions for mechanical handling and static precautions to be taken to avoid ESD damage Avoid carpets in cool dry areas Leave development kits in their anti static packaging until ready to be installed Dissipate static ele
64. toolchain bin arm fs inuxcgnueabi o makeimes dekconfig make umage After executing the instructions a kernel image named ulmage can be found under arch arm boot Note The mkimage is used to build the kernel and ramfs images are automatically generated and saved under tools after compiling u boot bin So please make sure uboot is compiled first before compiling kernel image E Copy u boot mx solo riotbin and ulmage files that are generated by compiling to linux flash Image tool Mfgtools Rel 4 1 0_130816_MX6DL_UPDATER Profiles MX6DL Linux UpdatelOS Firmware files to overwrite the files with the same names and then start over the operations from step 2 in section 4 1 to verify the Linux system built 5 2 Making Images for an Android System Please strictly follow the steps listed below to make images for Android system 521 Getting Repo Source Code 1 Execute he following instructions to get repo tool mkdie bin curl https raw github com android tools_repo stable repo gt bin repo chmod atx bin repo export PATH bin PATH Page 49 USER MANUAL Date 01 20 2014 2 Execute the following instructions to initialize repo source code mkdir android imx6 jb4 3 1 0 0 cd android imx6 jb4 3 1 0 0 repo init repo url git github com android tools_repo git u zit elthub com embest tech imx manifest git m embest_android_jb4 3_1 0 0
65. trademarks of Freescale Semiconductor Reg U S Pt Tm Exclusively from XTRINSIC SENSE Board Evaluation board for Freescale rns Sensors elementiu Doc ID XTRINSICRPIUM Rev 0 4 01 09 2014 ed EMN al E cls of 8 cg iE Qi 518 8 Figure 13 Sensor Board Schematic 2 Re ed Se ae Pe FATE 62014 Premier Farnell pic Al Rights Reserved Freescale and the Freescale logo are trademarks of Freescale Semiconductor Reg U S Pat amp Tm Off Exclusively from XTRINSIC SENSE Board Evaluation board for Freescale Sensors elementiu Doc D XTRINSICRPIUM Rev 0 4 01 09 2014 b l o E T 8 eR i 8 8 8 saj lt E H T Figure 14 Sensor Board Schematic ae dG ae Waar Pee FATE 62014 Premier Farnell pic igs Reserved Freescale and the Freescale logo are trademarks of Freescale Semiconductor Reg US Pat Tm Exclusively from XTRINSIC SENSE Board Evaluation board for Freescale Xtrinsic Sensors elementiu Doc ID XTRINSICRPIUM Rev 0 4 01 09 2014 mdr 1 T E 8 ER UR lt Figure 15 Sensor Board Schematic 4 and elementa are Wadena of Fara 62014 Premier Farnel
66. tude data from MPL3115A2 Table 14 MPL3115A2 Read Bar Name MPISIISA2 Read Bar Prototype uint32 t 15 2 Read Bar void Param Void Return Value The raw data for Barometer Description Read Barometer data from MPLSTISAT Table 15 MPL3115A2 Read Temp Name MPLSIISA2 Read Temp Prototype uint32 t MPLSIISA2 Read Temp void Param Void Return Value The raw data for temperature Description Read Temperature data from MPLSTISAZ Raw Data Structure and Calculations Alt Raw Data Table 16 Alt raw data structure 3 mr 1 4 e 5 Invalid AUT MSB ALT_CSB AUT 58 Integer part ALT MSB x 2 ALT CSB Decimal part ALT 158 2 0 0625 and elementda are waders of Premier Farnell pi 2014 Premier Farnell pie Al RightsReserved Freescale and the Freescale logo are trademarks of Freescale Semiconductor Res US Pat amp Tm Exclusively from XTRINSIC SENSE Board elementiu Evaluation board for Freescale Xtrinsie Sensors Doc ID XTRINSICRPIUM Rev 0 4 01 09 2014 Bar raw data Table 17 Bar raw data structure 3
67. witch Configuration eMMC Switch 01 02 Jos oz jor jor on Table 4 3 Boot Switch Configuration SD Switch 01 02 55 oz os jor or jor 42 After the switch is set power up the RloTboard to boot the system Display Mode Configurations for Linux amp Android Systems The system supports multiple display modes Users can select an appropriate mode by configuring u boot parameters Please reboot the RIOT Board and press any key on your PC s keyboard when the system prompts you with a countdown in seconds as shown below Bet 2008 0571720187085 CPU Freescale family TOL at 792 Thermal sensor with rai 201 Temperature 42 calibration data Ox5f55765f ma 792MHz ma 28MM pls pli SOME ipgdock 66000000 ipg per clock 65000000H2 tart clock 800000004r cspiclck 8000000092 ahbdock 132000000Hz 198000000Hz slow clock 390000008 39600000042 clock 1980000002 clock 19800000042 clock 19800000092 usdhet clock 19800000042 nfeclock 2400000042 Board MXEDL Solo SABRESD unknown board Board Di61011 POR Boot Device MMC 00 ready DRAM 168 MMC USDHC 0 FSL_USDHC 1 FS1_USDHC 2 S1_USDHC 3 Im
68. y Linux Images Paths ibootimage __ u bootmx solo riot bin kernel image rootfs image oneirictgz Page 40 sth MANUAL Date 01 20 2014 Table 3 3 Storage Partitions for Linux Partition File Name Content type index System wboot ved 1M8 N A m6solo Loader Kernel NJA image Total Primary1 Rootfs Des Partition type index defined in MBR Name only meaningful in Android You can ignore it when creating these partitions Start Offset shows where partition starts with unit in MB 3 3 Android System The following tables list the specific images and eMMC storage patitions required to build an Android system Table 3 4 Images Required by Android Images Paths boot image u boot mx 6solo riot bin boot image bootimg Androidsystemootimage systemimg Recovery root image recoveryimg Table 3 5 Storage Partitions for Android m D me wA Primara mo m rend boating pen Fetow oa sue m pmi ender anten de ps f we eom bettie nee Page 41 sth MANUAL Date 01 20 2014 tion Name stat Sue Content

Download Pdf Manuals

image

Related Search

Related Contents

安全上の注意事項  Epson TM-L500A User's Manual  O2フレンド - 大陽日酸 バイオ・メディカル事業部  Manuale di installazione  Trane Odyssey 6 to 25 Tons Installation and Maintenance Manual  Tripp Lite Cat5e 350MHz Molded Patch Cable (RJ45 M/M) - Blue, 1-ft.  WICHTIGER HINWEIS  RMP-2660 b  Elo TouchSystems 1247L Computer Monitor User Manual  

Copyright © All rights reserved.
Failed to retrieve file