Home
Sub-1GHz RF module USB version System - Techno
Contents
1. 5 R w ale s E 3 8 1 mm Fig 1 USB A board type Fig 2 Headers 2 54mm Fig 3 Buttons and Led Figures 1 2 and 3 give the different dimensions and the positions of the main elements connectors buttons and user led of the module 3 2 Connectors The module has four 2 54mm pitch headers numbered P2 P3 P6 and P7 and one USB connector numbered P1 and one U FL connector for external antenna numbered P4 Refer to figure 4 for connectors position and to table 1 for a short description Detailed description of the signals found on each connector pin follow USB A male connector VES 2 pins 2 54mm pitch header Vin and ground input CE 11 pins 2 54mm pitch header Provides 3 3V ground I2C ADC PWM SWD and GPIO from port 0 and 1 U FL external antenna connector SS 3 pins 2 54mm pitch header Provides GPIO from port 0 and 1 ae 3 pins 2 54mm pitch header Provides SPI TABLE 1 Module Connectors Description PI P P3 P4 P7 lechno Techno Innov DomoTab page 5 26 http www techno innov fr RF Subl1GHz mod USB SRM Board v0 3 7 C1224 Ui D Fig 4 Module Connectors 3 2 1 P1 Connector P1 is a male USB A port Refer to the Universal Serial Bus USB page on Wikipedia for pinout and more information on the USB bus and connectors 3 2 2 P2 Co
2. Licence Techno Innov File RF_Sub1G_USB kicad Sheet Title Module RF_SubiG USB Rev 0 3 Id 1 1 Date 6 jul 2015 Size A4 KiCad E D A Licence z Creative Commons CC By SA Techno Innov File RF_Sub1G_USB kicad_pcb Sheet Title Module RF_Sub1G USB Size A4 Date 6 jul 2015 Rev 0 3 KiCad E D A E FE de CO O Ceramic_ANT c13 mimi E Y DE Jas o R9 c12 ZI m L4 ze a E Z PC1224 ATT z P2 P3 P6 and P7 top or bottom mount D2 and D3 The cathode is on the U2 side D2 Green D3 Orange RF Subl1GHz mod USB SRM Board v0 3 7 2 BOM 7 2 1 Block version A A AA LPC1224 LQFP48 LPC1224FBD48 101 1862465 Decoupling capacitors 100nF C2 C3 C4 0402 MCCA000050 1758896 Filter capacitor 10pF 0603 C1608X5R0J106M 2112705 Pull Up resistors 100k Ohms RI R2 0603 MC0063W06031 100K 9330402 Pull Up resistors 1 5k Ohms e SE 0603 MC0063W06031 1K5 9330607 32 768kHz Oscilator ABS10 ABRACON ABS10 32 768KHZ 7 T 2101351 Oscilator capacitors 15pF C8 C9 0402 MCMT15N150F160CT 1856050 Bi color Led resistors 270 Ohms R4 R6 0603 MC0063W06031 270R 9330917 SMD Led Red Green SOT 23 Kingbright KM 23ESGW 1142614 SMD switchs SWI SW2 DTSM 328 B 9471898 Temperature sensor Texas ins TMP101 IC Temperature sensor U5 SOT 23 6 1 een TMP101NA 250G4 1207304 Decoupling capacitors 100nF 0402 MCCA000050
3. 11 RF Transceiver The CC1101 is connected to the LPC1224 micro controller using the SPI interface It shares the SPI signals found on P7 refer to 3 2 6 with any SPI device you would connect but has a dedicated chip select signal PIOO_ 15 It also has the last two GDO GDOO and GDO2 signals connected to GPIO on the LPC1224 micro controller GDO1 is also the SPI_MISO signal GDOO is connected to PIOO_ 6 and GDO2 is connected to PIOO_ 7 Prefer the use of these GDO signals to GDO1 as it will simplify software development of applications when other SPI devices are connected to the Sub 1GHz RF module The CC1101 has a dedicated 26MHz oscilator identified as X1 on the schematics and BOM and is connected to an onboard 868MHz ceramic antenna and a U FL connector standard Hirose connector found on many devices which allow the use of an external antenna Note For use at 915MHz the chip antenna should be replaced by the 915MHz corresponding part 0915AT43A0026 E from Johanson Technology available under reference 1885494 from Farnell 43 RTC The Sub 1GHz RF module includes a 32 768kHz oscilator for RTC operation during deep sleep Refer to section 5 Software and the software interface API manual on our Wiki for more information on the use of the RTC 4 4 Step up voltage regulator The Sub 1GHz RF module has a integrated Step Up voltage regulator which allows operation from a wide range of batteries This circuit was mainl
4. 1758896 Pull Up resistors 1 5k Ohms 0603 MC0063W06031 1K5 9330607 Step Up Voltage Regulator oe Sor ees en Tg SOT23 6 1 Diodes Inc AP1603WL 7 1825335 Decoupling capacitors 100nF 0402 MCCA000050 1758896 Step up inductor 22uH L1 0805 MLZ2012M220WT 2215653 Step up capacitor 47uF C5 C6 0805 GRM21BR60G476ME15 1845737 V dde acon DOE RE 0603 MC0063W0603156K 9331360 RE Transceiver gt gt gt CC1101 RF transceiver QFN 20 CC1101RGPR 2422921 trument j j C10 Cll Decoupling capacitors 100nF C12 C18 0402 4 Multicomp MCCA000050 1758896 26MHz Oscilator 7M 26 000MAAJ T 1842069 Oscilator capacitors 15pF C19 C20 0402 MCMTI15N150F160CT 1856050 Configuration resistor 56k Ohms 0603 MC0063W0603156K 9331360 RF tunning capacitor 100pF 0402 MC0402N101J500CT 1758969 RF tunning capacitor 47pF 0402 MC0402N470J500CT 1758959 RF tunning capacitor 1 5pF C13 C17 0402 MC0402N1R5C500CT 1758931 RF tunning capacitor 1pF 0402 MC0402N1R0C500CT 1758930 RF tunning inductors 18nH L3 L5 0402 LQW15AN18NG00D 1762622 RF tunning inductors 12nH L2 L4 0402 LQW15AN12NG00D 1762619 Ceramic antenna 868MHz P5 SMD 1 Johanson 0868AT43A0020E 1885493 Technology U FL R SMT 1 10 1688077 TABLE 8 BOM by functional block Techno j Techno Innov DomoTab page 23 26 5 http www techno innov fr n RF Subl1GHz mod USB SRM Board v0 3 VLMG1300 GS08 Male headers GPIO 19 pins ae G SL1 025 36Z 9729038 TABLE 9 BOM by functional block conti
5. module has a TMP101 temperature sensor from Texas Instrument on the I C bus address 0x94 0x95 Techno Techno Innov DomoTab page 13 26 http www techno innov fr n RF Subl1GHz mod USB SRM Board v0 3 This temperature sensor has an alert function available through a dedicated pin This pin is routed to a wake up capable pin of the LPC1224 micro controller GPIOO_3 pin 18 which allows the temperature sensor to wake the micro controller from Deep sleep mode Refer to the LPC1224 User Manual from NXP for more information on the Deep sleep mode and to the TMP101 documentation for the temperature alert signal 4 6 User Led and Button yo Bicolor LED Green gt gt gt WW e DA Fig 13 User Led The module has three leds and two buttons The two leds connected to the USB to UART bridge D2 and D3 and the Reset button have dedicated functions and cannot be assigned other functions The remaining led D1 and button ISP can be used as the user wishes The D1 led is a bi color red green led connected to PIOO_28 pin 13 and PIOO_29 pin 14 Both can be turned on at the same time providing a third color orange Note The PIOO_ 28 and PIOO 20 pins are PWM capable so it s possible to create shades between red and green without using a lot of processing power After reset the ISP button can be used by the user to any purpose It s state can be read on pin PIOO_12 pin 27 4 7 USB to UART
6. prove defective you assume the cost of all necessary servicing repair or correction http www techno innov fr Techno F Techno Innov DomoTab page 26 26
7. same as the supply voltage from the 3 3V pin on P3 ADC input 0 is connected to a voltage divider resistors R5 and R7 allowing input voltage tracking when running on battery http www techno innov fr Techno Techno Innov DomoTab page 10 26 RF Subl1GHz mod USB SRM Board v0 3 3 3V GPIO Interface der 74 Fig 10 ADC Input Pins 4 1 6 Reset and ISP mode Reseting the LPC1224 without removing the power can be done with the Reset button SW2 To enter In System Programming ISP mode after reset you must hold the ISP button SW1 when you release the reset button The LPC1224 bootloader considers a LOW level on the PIOO_ 12 pin as an external hardware request to enter ISP mode and start the ISP command handler The sampling of the GPIOO_ 12 pin may take up to 3ms Refer to section 5 3 Uploading binary on target or to the LPC1224 user manual for more information on ISP mode If the ISP button is not held when th Reset button is released and a valid user code is found in Flash memory then the execution is transfered to the user program 4 2 RF transceiver The Sub 1GHz RF module uses the CC1101 RF Transceiver from Texas Instrument as RF transceiver 8 http www ti com product cc1101 Techno F Techno Innov DomoTab page 11 26 http www techno innov fr n RF Subl1GHz mod USB SRM Board v0 3 RF Sub 16 D couplage SE LST ok Pa 19 eg ag e SMA Jack Antena E T DG D 0402 Fig
8. we looked for tools to upload the binaries to the micro controller You must check that the tool you chose to use can take care of the checksum computation 5 3 2 Enter ISP mode In order to allow flashing of the micro controller it must be placed in In System Programming ISP mode after reset Refer to section 4 1 6 Reset and ISP mode for more information on how to enter ISP mode on the Sub 1GHz RF module 5 3 3 Connection with target and upload Usual command line to upload a binary to the micro controller usaste y sie locos EE paean Pare Oxs640c0Zb tound on lines las iow ell Lele Checksum check OK ias size E AO Eelere writing started blecks ot EE user host sws If you want to get information on the connected device use the id command of Ipcprog estos Sw ae o a Cov bey USB0 ce ih Pere ID OK R IR EECH om alme ihe Parte ID 2s 0xs640c0Zb UTA Ses SA Sy OOS SS Oo o ze le Booe eoe vers Tons E user host sws Note The part information definition for each supported micro controller is in the lpctools package See lIpctools readme and Ipcprog or Ipcisp help h option or manpages for more information 13 http git techno innov fr lpctools Techno j Techno Innov DomoTab page 18 26 i http www techno innov fr n RF Subl1GHz mod USB SRM Board v0 3 6 Board revisions history 6 1 vOl This board revision has not been sold First prototype version only in UEXT connector form f
9. 2 Temperature sensor coso osos ENEE IR eee AAA 13 26 User Led and EEN a u s a ad a a a E NN 14 47 USB to UART bridge rr x ewe ee d idd AAA 14 5 Software 15 Si Sample Source Lode III 15 5 1 1 Grab the S0urces assesi e a Ee E e RR is d eee a 6 roada ii 15 512 Sample code content lt oco cr cs crasas mada ss 16 51 3 Sample code entry point 44 266 4 ee eee eR KEE EER EM REESE eee ws 16 92 Je tne T A hk ee he eee EEE OE EEE SHG OER Eee SS 17 pal E II 17 de 2 Build command and ODIOS a es da a aoo E A E A Er a ai 17 9 24 Build procs isis ice ewe EE eR PERE SSR EK Se e EEE See er 17 Da Uploads Vary QU TABS ee eee RR EEE EKA eee REED we Ew Se RY e 18 Sek ON ou scada 18 Sas Enter IG mole ek 4036 8 Ee A AAA 18 Techno Techno Innov DomoTab page 2 26 http www techno innov fr n RF Subl1GHz mod USB SRM Board v0 3 5 3 3 Connection with target and upload ee 18 6 Board revisions history 19 DLE Wiha a44 ton rias aaa Ae Ame Ada a 19 EL We sa eee ee ae a he eee 4 19 DE Pirro AAA A SY a 19 7 Annexes 19 A TH 10 r gt 61 A IEEE 23 7 2 1 Block Vergil socias rra AAA 23 bad Easy order VETO lt lt chk twee eee De AAA 25 Ta Document revision HE ev coa 9 6 8 R b 878 4 d RRR TE RRR Ee a 20 Sy KE TTT 20 http www techno innov fr Techno Techno Innov DomoTab page 3 26 RF Subl1GHz mod USB SRM Board v0 3 1 Introduction You are reading the System Reference Manual for the Su
10. 2619 Pull Up resistors 100k Ohms R1 R2 0603 MC0063W06031 100K 9330402 Pull Up resistors 1 5k Ohms de Gai 0603 MC0063W06031 1K5 9330607 Led resistors 270 Ohms pi Se 0603 MC0063W06031 270R 9330917 Configuration resistor 56k Ohms R5 R7 R9 0603 MC0063W0603156K 9331360 SMD Led Red Green SOT 23 Kingbright KM 23ESGW 1142614 Rx Led Green 0603 VLMG1300 GS08 2951461 Tx Led Orange 0603 VLMO1300 GS08 2251473 Ceramic antenna 868MHz P5 SMD y Johanson 9868AT43A0020E 1885493 Technology U FL R SMT 1 10 1638077 SMD switchs SWI SW2 DTSM 32S B 9471898 USB Type A male MC32605 1696546 Male headers GPIO 19 pins Kohe SL1 025 36Z 9729038 TABLE 10 BOM by reference Note Components used on Board may change for functionnally equivalent references without prior notice Techno Techno Innov DomoTab page 25 26 i http www techno innov fr n RF Subl1GHz mod USB SRM Board v0 3 7 3 Document revision History U 0 3b August 31 2015 31 2015 Natha l Pajani Fix copy paste typo in P7 description E September 10 2015 Natha l Pajani Bs according to code organisation modifica 7 4 Disclaimer The Sub 1GHz RF module is provided as is without warranty of any kind either expressed or implied including but not limited to the implied warranties of merchantability and fitness for a particular purpose The entire risk as to the quality and performance of the Sub 1GHz RF module is with you Should the Sub 1GHz RF module
11. 7 TOld9 551 90V 4 Told X19MS 8T700ld Les 090 vad O AK KT 97 qns yy ANINAVM SQV TOIA ISON LT DO Las OW Id 010MS Z TOId OSIW 9T7001d gt O wee aa ee a r VOS dS pue jasay av 8 T TOId 13SS ST DO oe dd anoa Zav 3 0 TOId YIS 4T7001d haz ITIS 1dS JN CMS m asa ndu 1aM0d ET 001d 13S34 Les y TAV TETOO Id 1NON19 ZT700ld hz asi 2504 67 00ld 19S 0T 00ld res 19S DIZI GOW A 8Z 001d TOX1 67001d rs CN Z 00ld Taxu 8700ld da Ras uo yewuweJboJ TAO 7a 090 sc Ez a Als 13 d Uaalg Ek ie 9Z7001d N1IMS 0S19 2 00ld z 62002 E 037 1010219 LRS or SZ 001d 010MS 014 97001d res 0009 Q i LAMA 7 HZ 001d 0490 5 00ld as 2 e aew y addy gen OWMd sl EC OO 08S0 t 00ld rer AE X 7 Z zz 001d 0410 S001d pagg UN BEE 571 120010 0AX1 Z 001d K XT 14Y0 s LT Ic z 0Z700ld 3 00XX T700ld pap LAVO L v BE D o 0S14 07001d Fez 0 001d9 ACEL 0 NO dS ayoa ayga aqnod 4voot anot 4nT 0 anto anto anoT TN OW peag aja 4D 65 25 13 EI q EI gt JQNOU F3Y4IN J30NOY JYIW Bottom copper layer Top copper layer Top silk screen Bottom silk screen Bottom copper layer rr NOON Top copper layer CN Top silk screen J Ceramic_ANT P7 lacz Bottom silk screen E e gt U o gt Techno Innov SWCLK C lt Ke 3 nv Uu E nv GPI0_0 0 PWM1 PWMO ADC1 ADC2 3 3V crio_1 5 TC by Sh pcb Creative Commons
12. Pinout Note Most P3 pins also provide alternate GPIO input or output functions Refer to the LPC1224 documentation from NXP for full documentation of the alternate functions Note When the board is not connected to a power source USB or P1 the 3 3V is not present on pin 1 of P3 connector It must then be connected to a 3 3V supply 3 2 4 P4 Connector P4 connector is a standard U HF Hirose connector available for use of an external antenna Refer to Hirose documentation for more information on the U FL connector 3 2 5 P6 Connector P6 connector is a standard 2 54mm 0 1 inch pitch header with 1 row of 3 pins and can be populated using either male or female header and mounted either on top or on bottom side of the board P6 connector provides access to GPIO pins from port 0 and 1 of the LPC micro controller y GPIO1_5 GPIO1_4 LPC Pin ps O GPioo_4 GPIO_0 4 LPC pin 18 PIOO_4 GPIO_1 4 LPC pin 40 PIO1_4 GPIO_1 5 LPC pin 41 PIO1_5 Fig 7 P6 Connector TABLE 4 P6 Connector Pinout 4 https en wikipedia org wiki Hirose_U FL Techno Techno Innov DomoTab page 7 26 i http www techno innov fr n RF Subl1GHz mod USB SRM Board v0 3 Note P3 and P6 are aligned and joined so they appear to be one single connector on the module but they are two separate connectors on the schematics and identified as such in this manual and on the board printing Note P6 is present only on the USB vers
13. RF Subl1GHz mod USB SRM Board v0 3 Antenna gt D Ceramic U FL l Tnd Module AA LP IZ24 ARM Cortex MO JER _ Easy GPO access Open Source Fuld Schematics Power BOM Prageann E GH Source Code ASE UART Interface T Dala a Sub 1GHz RF module USB version System Reference Manual RF Subl1GHz mod USB SRN for Board v0 3 September 10 2015 Doc rev 0 3c Author Nat hacl Pajani Techno Innov DomoTab page 1 26 http www techno innov fr RF Subl1GHz mod USB SRM Board v0 3 Table des mati res 1 Introduction 4 2 Licenses 4 2 1 Documentation Inse s x a q WR ER Ow ER EEE F A h AAA EA 4 22 Hardware license 4 23 Tc AL EEE 5 3 Hardware SL DIMENSIONS 8 ss as ss ersak kaara ew ee he ee ee ER oe ee A A A 5 o o EEE 5 SL ELCANO isa roads 6 A e ERE TENE E ESB SEG 6 Soe PO UON AENA 7 dl POE cH b 3 as ora AAA a T Som PO UOMO E ve S 36 96 0 9 36 weet EEN A E 7 20 PT MA 8 4 Electronics 8 Al Hicro contvoller LEC 274 4 4 9244 88 86 8 E Aa AA 9 ALL p v 5 AM 4 2404 der 4 AAA 10 SL mena a e 4 4 4 4 4 cacas aer 10 Als Communication Terang s A RRE EEN EEE EK Kew HE eH we ESD EEK EDS 10 Oat 67 L 0 ewe wee Ghee eee eee eee hb hee eae ee Ae Ee ee ee Se 10 Oa Pl Skew eee eee EEN 10 4 1 6 Reset and ISP mode 11 da RF Siete e e E AAA EE OO 11 D ARRE 12 Am 00 00 voltage E c ocioso RRS EEH EERE EES AAA 12 D See eae hh nee r edt dead ass 13 ADL Kg e EEN 13 4 5
14. actor with footprint error for the LPC1224 package 6 2 v02 This board revision has not been sold First prototype version with USB Missing DC pullups and Rx and Tx signals to USB to UART bridge crossed 6 3 v03 Actual version sold as of writting of this documentation Fixes the v02 mistakes 7 Annexes 7 1 Schematics The board schematics and PCB layout have been created using KiCad EDA software suite You can download the sources on the module page t on Techno Innov fr See on next pages 14 http www kicad pcb org display KICAD 15 http www techno innov fr technique rf sublghz Techno Techno Innov DomoTab page 19 26 i http www techno innov fr n TERIN Ll 0 ABN G L9 21 JW3L YUS DZ CON 195 DEI GOW 9 EZLOS Gn AK KT Josuas 34njesadua KU9 L dY DES 0X7 Jayaauod dn dajs 15009 bn 9 ZLOS KA SJ0 09 JU313JjJIp OM asoou Spa X pue xy Ks 090 031 abuesg SXO Z14 E lo 090 031 CU 91 d0SS V daj PeD y GTOZ In 9 ajeg UO SIZA GSN 9T9NS JN alNPONW 91411 gaus 4IS 9SN 9T9NS JA al AOUU OUuYra SUOWWO 3A1J231 3943917 HUST ZO4O e adAVv d 38 N d adAV U UAV aNd svidd a yn9ad IS Kd TT NNOD o CTL E TTI o N C E ejdno2 q 3384334 Old9 ane ii T0T 8 094922T9d1 69 89 IVLX tcecTtId a S 84d401 ec 100x314 G E 551 NIXOLS Lno1vlx gt Anv K ze 9 told S Old er LOV STOId
15. b 1GHz RF module This module has three different form factors UEXT version for integration in domotics systems USB version for easy prototyping development tests or use with systems with USB interfaces and a standalone version for integration in end user applyances This manual covers the board use and design of the USB version The Sub 1GHz RF module is an electronics development and prototyping platform for Sub 1GHz communication using the LPC1224 micro controller from NXP t and CC1101 RF Transceiver from Texas Instrument The LPC1224 micro controller has a Cortex MO ARM core a minimum of 32KB of flash memory 4KB of internal SRAM and multiple interfaces The CC1101 RF Transceiver is a low power sub 1GHz radio frequency transceiver for the 315 433 868 and 915 MHz frequency bands supporting various modulation formats and data rate up to 600 kbps The module also includes a TMP101 temperature sensor an high efficiency step up voltage regulator a bi color user LED Red Green a reset button an ISP mode select User button 15 GPIO available on 2 54mm pins an RTC oscilator and an USB to UART bridge used for programming and easy communication with the module Binaries for the Sub 1GHz RF module can be generated using a gcc ARM toolchain and uploaded using the serial line or over USB for the USB version and our lpcprog tool or similar tools The Sub 1GHz RF module is designed for users interested in embedded ARM micro con
16. bridge In order to ease the development process and the use of the module we added a USB to UART bridge on board This bridge is made by a FTDI FT230XS chip It provides a 3 3V regulated voltage for the module and is well supported on most operating systems so there is usually no configuration required to use it as a serial line on the host development system removing the need of any additional power source or of specific hardware to program the LPC1224 micro controller and communicate with the module The FTDI chip controls two activity leds for Rx D2 the green one and Tx D3 orange one data over the serial link It is not possible to disconnect the USB to UART bridge from UARTO on the LPC1224 micro controller http www techno innov fr Techno F Techno Innov DomoTab page 1 4 26 RF Subl1GHz mod USB SRM Board v0 3 SSOP 16 USB Type A male WED 0683 Rx and Tx leds Choose two different colors Programmation Fig 14 USB to UART bridge 5 Software The LPC micro controller family uses ARM cores which make them very easy to use Apart from a few wrappers all the code can be written in C and compiled using gcc ARM NXP and other vendors provide sample code but published under many different licences The code we provide for the Sub 1GHz RF module is published under the well known GPLv3 licence 5 1 Sample Source Code 5 1 1 Grab the sources An example application code can be downloaded from our git re
17. e README file for the full list of supported features and interfaces The code has been split in five parts core drivers extdrv apps and lib with the associated directories under include for the headers e core Contains all the required parts and system initialisations Many functions in there are defined as weak aliases of dummy functions so the code compiles even if no drivers are used When these functions are redefined in the driver code they override the weak definition lib Contains the implemented parts of the small C library for our code The micro controller does not run a full Linux system so the gnu libc must not be used and even a pClibc is much more than what s required Most of the code in these files come from the kernel implementations of libc parts drivers Contains the drivers for the different interfaces found on the module extdrv Provides drivers for external components either on the module status led tmp101 temperature sensor CC1101 RF transceiver or to be purshased separately and connected to the module The number of external parts supported will grow with time Note that it may not be possible to use all of them at the same time apps Provides sample applications for the different modules made by Techno Innov which demonstrate either LPC1224 interfaces or external drivers which can be used as base for your own developments Most modules will have their own directory under apps The S
18. he repository root directory and set it to the prefix of your toolchain 5 2 3 Build process The specific information about the target LPC1224 micro controller memory Flash and RAM used by the linker is in the 1pc_link_1pc1224 1d linker script The vector table is defined in the core bootstrap c file but the checksum of the first seven entries in the vector table is left unmodified This checksum must be computed and placed in the eighth vector entry as the bootloader needs to find a valid checksum in the eighth entry to consider the user code as valid and transfer execution to the reset handler first vector table entry This is done by the lpcprog tool before sending the binary to the target 10 http www debian org 11 http crosstoocl ng 0rq 12 http elinux org Toolchains Techno Techno Innov DomoTab page 17 26 i http www techno innov fr n RF Subl1GHz mod USB SRM Board v0 3 5 3 Uploading binary on target 5 3 1 Tools To flash the binary the one with bin to the LPC Flash you can use our Ipctools package packaged for Debian as of 2014 09 10 and available in jessie or newer versions or available in the lpctools git repository 17 Lpctools is released under GPLv3 licence Clone the repository using UsermthOse Sie le clone http ore Lone techno nao oc netos Then build make the tools Note Other tools may be used but have not been tested No tools were found to be open source when
19. hno Innov DomoTab page 8 26 i http www techno innov fr n RF Subl1GHz mod USB SRM Board v0 3 Fig 9 Module Main Compo nents Description LPC1224 ARM Cortex MO micro controller FTDI FT230XS USB to UART bridge AP1603 3 3V step up voltage regulator TMP101 PC temperature sensor CC1101 RF sub 1GHz transceiver User led bicolore red green Green led FTDI Rx activity Orange led FTDI Tx activity Reset button for LPC1224 SW2 ISP mode select button for LPC1224 SW1 TABLE 6 Module Main Components Description 4 1 Micro controller LPC1224 The module s micro controller is a LPC1224 from NXP The LPC1224 version used on the module is the LPC1224FBD48 101 All LPC1224 have an ARM Cortex MO core running at up to 45 MHz The module uses the internal 12 MHz RC Oscillator as main clock Its 1 accuracy is suitable for most applica tions Note Refer to the LPC1224 documentation from NXP for full list and documentation of the LPC1224 features Here are only the descriptions of the features used on the module T http www nxp com products microcontrollers cortex_m0_m0 LPC1224FBD48 html Techno Techno Innov DomoTab page 9 26 p http www techno innov fr n RF Subl1GHz mod USB SRM Board v0 3 4 1 1 Internal RAM The LPC1224FBD48 101 has 4kB of internal SRAM mapped in one block at address 0x1000 0000 4 1 2 Internal Flash The LPC1224FBD48 101 has 32kB of internal FLASH memo
20. ion of the Sub 1GHz RF module The signals are provided for ease of development of applications which target the UEXT version which have the signals fond on P6 routed to the UEXT connector These may be removed in future versions or replaced with UART1 signals 3 2 6 P7 Connector P7 connector is a standard 2 54mm 0 1 inch pitch header with 1 row of 3 pins and can be populated using either male or female header and mounted either on top or on bottom side of the board P7 connector provides access to GPIO pins from port 0 of the LPC micro controller SPIO_SCLK SPIO_MISO SPIO_MOSI LPC Pin MOSI Master Out Slave In for SPI bus LPC pin 32 PIOO_17 MISO Master In Slave Out for SPI bus LPC pin 31 PIOO 16 SCK Clock for SPI bus LPC pin 29 PIOO_ 14 Fig 8 P7 Connector TABLE 5 P7 Connector Pinout Note SPI is used in master mode for communication with the CC1101 RF transceiver and cannot be used as slave Use a GPIO from P3 or P6 as slave select if you need to connect to another device using SPI 4 Electronics The Sub 1GHz RF module has been created using KiCad EDA software suite for the creation of the schematics and printed circuit boards See page 21 in the annexes for the full schematics The sources for the schematics are available for download from the RF sub1GHz module page on Techno Innov fr 5 http www kicad pcb org display KICAD D http www techno innov fr technique rf sublghz Techno Tec
21. nnector LPC Pin GND Ground AAA Vin External unregulated input 0 9V to 2 3 6V Fig 5 P2 Connector TABLE 2 P2 Connector Pinout P2 connector is a standard 2 54mm 0 1 inch pitch header with 2 pins and can be populated using either male or female header and mounted either on top or on bottom of the board P1 connector provides access to Vin and Ground for the onboard step up regulator This lets you power the board using a large variety of power sources Note it is also possible to power the board from 4 2V LiPo batteries though this is not recommended without the use of an LDO or step down regulator 3 http fr wikipedia org wiki Universal_Serial_Bus Techno Techno Innov DomoTab page 6 26 i http www techno innov fr n RF Subl1GHz mod USB SRM Board v0 3 3 2 3 P3 Connector P3 connector is a standard 2 54mm 0 1 inch pitch header with 1 row of 11 pins and can be populated using either male or female header and mounted either on top or on bottom side of the board P3 connector provides access to 3 3V Ground IPC ADC and GPIO pins from port 0 and 1 of the LPC micro controller LPC Pin l a 11 leon spa 3 3V 3 3 Volt A de Bless GND Ground A o JOM GPIO0_0 Cox O Ol GPIO0_26 OlfswDpio Ol GPIOO_25 OllswcLK Ol GPIOO_24 OllPwm1 ON GPIO0_23 OllPwm0 ONGPI00_31 ONADci ONGPI01_0 O JADC2 O GND O GND P3 111 3 3v P310 Fig 6 P3 Connector TABLE 3 P3 Connector
22. nued Led resistors 270 Ohms R3 R10 0603 2 MC0063W06031 270R 9330917 D Note Components used on Board may change for functionnally equivalent references without prior notice http www techno innov fr Techno Techno Innov DomoTab page 24 26 RF Subl1GHz mod USB SRM Board v0 3 7 2 2 Easy order version Module Vendor Farnell LPC1224 LQFP48 NXP LPC1224FBD48 101 1862465 FT230XS USB to UART 16SSOP FTDI FT230XS 2081321 EE SOT23 6 Diodes Inc AP1603WL 7 1825335 TMP101NA 250G4 1207304 rument E exas ins CC1101 RF transceiver QFN 20 CC1101RGPR 2422921 trument 32 768kHz Oscilator ABS10 1 ABRACON E 2101351 1 S zl a 26MHz Oscilator TXC 7M 26 000MAAJ T 1842069 SMD chip bead 0603 MMZ1608R601A 1669700 Decoupling capacitors 100nF C2 C3 C4 CT C10 C11 C12 C15 0402 11 Multicomp MCCA000050 1758896 C18 C23 C24 Filter capacitor 10pF C1 C22 0603 C1608X5R0J106M 2112705 Step up capacitor 47uF C5 C6 0805 GRM21BR60G476ME1f 1845737 Oscilator capacitors 15pF oe 0402 MCMTI5NI150F160CT 1856050 RF tunning capacitor 100pF 0402 MC0402N101J500CT 1758969 RF tunning capacitor 47pF 0402 MC0402N470J500CT 1758959 RF tunning capacitor 1 5pF C13 C17 0402 MC0402N1R5C500CT 1758931 RF tunning capacitor 1pF 0402 MC0402N1ROC500CT 1758930 Step up inductor 22uH 0805 MLZ2012M220WT 2215653 RF tunning inductors 18nH L3 L5 0402 LQW15AN18NG00D 1762622 RF tunning inductors 12nH C LA 0402 LQW15AN12NG00D 176
23. pository using the following clone command Usen those So oie Mones hbo quie ltonee echas anno e mo lies The code for the applications specific to the GPIO Demo module is in the apps base directory Code for other modules may be found in other apps sub directories The code specific to the RF sub1GHz modules is in the apps rf_sub1G sub directory The Sub 1GHz RF module can also use the code from the GPIO Demo module as all the drivers and core code is common to both modules The differences are the external components present on the modules and is reflected in the examples present in the apps sub directories for each module If using code from examples for the GPIO Demo module remember that access to the DC on the GPIO Demo module require additionnal steps which are not necessary on the Sub 1GHz 9 http git techno innov fr p modules a summary Techno F Techno Innov DomoTab page 15 26 i http www techno innov fr n RF SublGHz mod USB SRM RF module 5 1 2 Sample code content This code provides the micro controller definitions Cortex MO specific definitions registers interrupts and the routines required to start the micro controller bootstrap vector table power state flash clocks At the time of writing it also provides a basic set of library functions and the drivers for the interfaces found on the module The list of supported features and interfaces is updated as the development goes on so read th
24. ry mapped at address 0x0000 0000 The flash me mory programming requires no additional hardware thanks to the In System Programming ISP and In Application Programming IAP on chip bootloader software See section 4 1 6 Reset and ISP mode or sections 5 2 Code Compilation and 5 3 Uploading binary on target for more information on internal FLASH memory 4 1 3 Communication interfaces The module makes use of the following communication interfaces found on the LPC1224 e One UART UARTO is connected to the USB to UART bridge UARTO is used for In System Programming of the LPC1224 e One DC bus interface supporting full I C bus specification and Fast mode Plus with a data rate of 1 Mbit s C is connected to P3 header See section 4 5 for more information e One SSP SPI controller with FIFO and multi protocol capabilities The SPI bus is connected to P7 header 4 1 4 GPIO The module gives access to 15 GPIO pins dispatched on P3 P6 and P7 connectors Refer to tables 3 4 and 5 for details about the signals available on these GPIO and to the LPC1224 documentation from NXP for full list of features for each GPIO Note Signals found on P6 are not available on the standalone version of the Sub 1GHz RF module 4 15 ADC GPIO pins 3 and 4 on P3 connector are inputs channels 2 and 1 for the 10 bit ADC of the LPC1224 micro controller The internal ADC uses the voltage on the Vref pin as reference voltage for the conversion which is the
25. troller development using free libre and open source softwares only Every information about the design is available and all components documentations are freely accessible You can download the source files for the Sub 1GHz RF module and modify them using KiCad EDA GPL according to the license terms found in the license section You can create your own Sub 1GHz RF module or a modified version In this document the Sub 1GHz RF module will be referred as the module 2 Licenses 2 1 Documentation license The present document is under Creative Commons CC BY SA 3 0 License It is written in TEX and the PDF version is generated using pdflatex 2 2 Hardware license The Sub 1GHz RF module hardware and schematics are under Creative Commons CC BY SA 3 0 License You can produce your own original or modified version of the Sub 1GHz RF module and use it however you like even sell it for profit 1 http www nxp com products microcontrollers cortex_m0_m0 LPC1224FBD48 html 2 https www ti com product ccll0l1 Techno Techno Innov DomoTab page 4 26 http www techno innov fr n RF Subl1GHz mod USB SRM Board v0 3 2 3 Software license All the software examples created for the Sub 1GHz RF module are under GPLv3 License The lpcprog tool used to program the module is also under GPLv3 License 3 Hardware 3 1 Dimensions
26. ub 1GHz RF module uses the rf_sub1G subdirectory Creating a new app is as easy as creating a new sub directory under apps rf_sub1G with no spaces or special caracters in the name copying the Makefile from one of the other apps in your new app directory and creating your own C source file s maybe starting with a copy of an existing example If you created a new module you should consider creating a new module directory under apps with it s own sub directories for specific apps 5 1 3 Sample code entry point The main loop is in main c in function main as with any C program though main is called by the bootstrap code Reset_Handler in core bootstrap c and could have any name The calls to the system initialisation routines have been put together in the system_init function SELECTED_FREO must be set to one of the FREQ_SEL_ MHz defined in include core system h PRE Omsk LAME e FREQ SEL _24MHz FREO SEL 36MHz FREO SEL 48MHz FREO SEL 60MHz Note The frequency can go up to 60MHz despite what is said in the documentation but the micro controller needs much more power at higher frequencies Note system h provides two sleep functions msleep and usleep These will activate the Note systick with a lms tick if it has not been done yet http www techno innov fr vo Board v0 3 usleep Techno F Techno Innov DomoTab page 16 26 ma RF Subl1GHz mod USB SRM Board v0 3 The pins
27. used by your application should be configured using either the set_pins function and pio_config structures see common_pins in most examples or the config_gpio function for each used pin 5 2 Building the binary 5 2 1 Get a toolchain Build has been tested using gcc and only gcc in the version provided by the Debian project t but any ARM gcc toolchain should do In order to get the Debian ARM gcc cross toolchain you must install package gcc arm none eabi There s no need for the related libc package here the libc does not fit in our micro controller memory Instead have a look at the content of the 1ib directory and add stuff there Alternatively you can download pre compiled gcc toolchains many different projects provide their own or build your own one using crosstool ng or similar projects For more information on what is a cross toolchain have a look at this information page on elinux org 5 2 2 Build command and options Once done with the toolchain installation or if you already have one you should build using the provided Makefile by running the simple make command from any of the apps rf_sub1G sub directory You can also build all apps by running make from repository root directory or make rf_sub1G my_app to compile my_app from the apps rf_sub1G sub directory only rf_sub1G may be replaced by any other module name NoteYou may want to change the CROSS_COMPILE variable from the main Makefile in t
28. y intended for the standalone version of the Sub 1GHz RF module but has been kept for testing purposes The Step Up voltage regulator is able to function from voltages as low as 0 9V and can provide up to 150mA of current which should be enough for most applications Techno Techno Innov DomoTab page 12 26 i http www techno innov fr n RF Subl1GHz mod USB SRM Board v0 3 Note The voltage regulator used AP1603 from Diodes Inc is only a Step Up regulator which means that if you power your module with a 4 2V LiPo or equivalent the supply voltage provided to the LPC1224 micro controller and available on the 3 3V pin will be 4 2V exact voltage depending on the battery charge state This has been tested and works but with no warranty and note also that ADC conversions are made with this voltage as reference voltage 45 PC The Sub 1GHz RF module only has the temperature sensor on the I C bus The Sub 1GHz RF module provides two 1 5kOhms pull up resistors on both SDA and SCL lines 4 5 1 DC Addresses PO Address R W 0x94 0x95 TABLE 7 DC Addresses Table 7 shows all the possible DC Addresses for the components used on the module 4 5 2 Temperature sensor om Temperature sensor ccc A ABV o U5 609193 6 lt gt gt ei e MOD_I2C SEL SCL SDA MOD_I2C SDA EE GND ADO q ee aaa oe oe CTEMP_ ALERT 4 gt lt ALERT gt V SR 10 CORA O E Fig 12 Temperature sensor The
Download Pdf Manuals
Related Search
Related Contents
Consejos para una alimentación saludable 平成24年3月23 日 消 費 者 庁 消費者安全法の重大事故等に係る公表 Whirlpool WMC10007AB Instructions / Assembly LE MANUEL D`UTILISATION Copyright © All rights reserved.
Failed to retrieve file