datasheet - pycom · 3.7 security 04 3.8 hash / encryption 04 4.0 block diagram 04 5.0 pinout 05...
Post on 16-Jul-2020
6 Views
Preview:
TRANSCRIPT
DatasheetVersion 1.0
02Version 1.0
1.0 Overview 03
2.0 Features 03
3.0 Specifications 04
3.1 CPU 043.2 Memory 043.3 WiFi 043.4 Bluetooth 043.5 LoRa 043.6 RTC 043.7 Security 043.8 Hash/encryption 04
4.0 BlockDiagram 04
5.0 Pinout 05
6.0 PinDetails 06
6.1 RemappingPins 07
7.0 ESP32Peripherals 08
7.1 RTC 08
8.0 Programmingthedevice 09
8.1 UART 098.2 Wi–Fi 098.2.1 Telnet 098.2.2 FTP 09
9.0 Bootmodes 09
9.1 Bootloadermode 099.2 Safeboot 09
10.0 Power 10
10.1 Currentconsumptionbypower modes/featuresmeasuredat5V 10
10.2 Deepsleep 10
11.0 MemoryMap 11
11.1 Flash 1111.2 RAM 1111.3 ROMandeFuses 11
12.0 WiFi 12
12.1 Supportedfeatures 1212.2 Specifications 12
13.0 Bluetooth 13
13.1 Supportedfeatures 1313.2 Specification 1313.2.1 Receiver–BasicDataRate 1313.2.2 Receiver–EnhancedDataRate 1413.2.3 Receiver–BluetoothLE 1513.2.4 Transmitter–BasicDataRate 1613.2.5 Transmitter–EnhancedDataRate 1713.2.6 Transmitter–BluetoothLE 18
14.0 LoRa 18
14.1 Supportedfeatures 1814.2 Specifications 1914.2 Specifications 20
15.0 6LoWPAN 24
16.0 ElectricalCharacteristics 24
16.1 Absolutemaximumratings 2416.2 Input/Outputcharacteristics 24
17.0 MinimumRecommendedCircuit 25
18.0 MechanicalSpecifications 26
19.0 RecommendedLandPatterns 26
19.1 Throughhole 2619.2 Surfacemount (LoPywithoutheadersonly) 27
20.0 SolderingProfile 28
20.1 Withheaders 2820.2 Withoutheaders 28
21.0 OrderingInformation 29
22.0 Packaging 29
23.0 Certification 30
23.1 EURegulatoryConformance 3023.2 FederalCommunicationCommission
InterferenceStatement 3023.2.1 RFWarningStatement 3023.2.2 OEMintegratorconditions 3023.2.3 EndProductLabelling 3123.2.4 ManualInformationtotheEndUser 31
24.0 RevisionHistory 31
03Version 1.0
1.0 Overview
WithLoRa,WifiandBLE,theLoPyistheonlytriplebearerMicroPythonenabledmicrocontrolleronthemarkettoday–theperfectenterprisegradeIoTplatformforyourconnectedThings.WiththelatestEspressifchipsettheLoPyoffersaperfectcombinationofpower,friendlinessandflexibility.Createandconnectyourthingseverywhere.Fast.
2.0 Features
– PowerfulCPU,BLEandstateoftheartWiFiradio.1KMWifiRange
– CanalsodoubleupasaNanoLoRagateway – MicroPythonenabled – Fitsinastandardbreadboard(withheaders) – Ultra–lowpowerusage:afractioncomparedto otherconnectedmicrocontrollers
– Availablewithorwithoutpinheaderssolderedon
Size 55mmx20mmx3.5mm (excludingheaders)
Operatingtemperature: –40to85degreescelsius
LoRa transceiver
ESP32DualCoreMicrocontrollerand WiFi/Bluetooth4.2radio
ExternalLoRa antenna connector
WS2812RGBmulti–colourLED
3V3Ultra–Low–Noiseswitchingregulator
32Mbit flash memory
U.FLconnectorResetswitch
RFswitch
InternalWiFiandBluetoothAntenna
04Version 1.0
3.0 Specifications
3.1 CPU – Xtensa®dual–core32–bitLX6microprocessor(s),upto600DMIPS
– Hardwarefloatingpointacceleration – Pythonmulti–threading – AnextraULP–coprocessorthatcanmonitorGPIOs,theADCchannelsandcontrolmostoftheinternalperipheralsduringdeep–sleepmodewhileonlyconsuming25uA.
3.2 Memory – RAM:512KB – Externalflash:4MB
3.3 WiFi – 802.11b/g/n16mbps
3.4 Bluetooth – Lowenergyandclassic
3.5 LoRa – LoRaWAN1.0.2stack-ClassAandCdevices – Noderange:Upto40km – Nano-gateway:Upto22km(Capacityupto100nodes)
3.6 RTC – Runningat150kHz
3.7 Security – SSL/TLSsupport – WPAEnterprisesecurity
3.8 Hash/encryption – SHA – MD5 – DES – AES
4.0 BlockDiagram
Figure 1 – System block diagram
05Version 1.0
5.0Pinout
Figure 2 – Module pinout diagram
Note:TheESP
32supportsremappingitsperipheralstoalternativepins.Seebelow
foradetailedlist.
FCC ID: 2AJMTLO
PY1R
Model: LoPy1.0
WiFi
BluetoothLoRa
Reset ButtonWS2812 LED
WiFi / Bluetooth External Antenna Connector
LoRa External Antenna Connector
22/03/18
Pinout diagram
GND3V3
409
412324213416382218203942
171415131210118765
P0P1P2P3P4
P8P9P10
RX0TX0
TX1RX1
PROGRAMPort
SDASCL
P11P12
CLKMOSI MISO
P23P22P21P20P19P18P17
CLKMOSIMISO
P16P15P14P13
ADC2_6ADC2_8ADC2_9ADC1_5ADC1_4ADC1_6ADC1_7ADC1_3ADC1_2ADC1_1ADC1_0ADCPA
ADCPA
EMACTXD2U0TXD
U0CTS
U0RTSVSPIWPVSPIHD
MTCKMTDI
VSPIQ
VSPICS0MTD0HSPICS0
HSPIWPHSPIQHSPIID
SDDATA2SDDATA3
HS2DATA2HS2DATA3
HSPIHDSDCMD
SDDATA1HS2CMDHS1DATA6
HS2DATA1CLKOUT1RGB_LEDCLKOUT3CLKOUT2 U0RXD
EMACRXD0EMACRXD1
EMACTXCLKEMACRXD2
EMACTXEREMACRXD3EMACRXCLKEMACRXDVEMACTXD0
EMACTXD3EMACRXEREMACTXD1EMACTXEN
ADC2_1ADC2_0ADC2_3
ADC2_7
ADC2_2ADC2_5ADC2_4
RTCIO16RTCIO6RTCIO7RTCIO8RTCIO9RTCIO4RTCIO5RTCIO3RTCIO2RTCIO1RTCIO0
RTCIO11RTCIO10RTCIO13
RTCIO17
RTCIO12RTCIO15RTCIO14
Touch1Touch0Touch3
Touch6 MTMS HSPICLK SDCLK HS2CLKDAC_1DAC_2
Touch8Touch9Touch7
Touch2Touch5Touch4
ChipPURSTGPIO3GPIO1GPIO0GPIO4GPIO15GPIO5GPIO27GPIO19GPIO2GPIO12GPIO13GPIO22GPIO21
GPIO14GPIO25GPIO26GPIO33GPIO32GPIO34GPIO35GPIO39GPIO38GPIO37GPIO36
XTAL32XTAL32VDET1VDET2SensVNSensCNSensCPSensVP
!Only Input pins!No pullup/pulldown internal resistance
!
Absolute MAX per pin 12mArecommended 6mA!
PowerGNDSerial PinAnalog PinControlPhysical PinPort PinTouch PinDAC PinPWM Pin
Distributed and manufactured by Pycom Ltd. Registered office:High Point, 9 Sydenham Road, Guildford, Surrey GU1 3RX, UKCopyright © 2017 by Pycom Ltd. All rights reserved. No part of this
document may be reproduced, distributed, or transmitted in any form or by any means, including photocopying, recording, or other electronic or mechanical methods, without the prior written permission of Pycom Ltd, except in the case of brief quotations
embodied in critical reviews and certain other noncommercial uses permitted by copyright law.
To order contact sales@pycom.io
Low Level BootloaderP2 + GND
Boot modes and safe bootP12 + 3V3
1-3 sec Safe boot, latest firmware is selected
4-6 sec Safe boot, previous user update selected
7-9 sec Safe boot, the factory firmware is selected
Hack your LoPy
Connect to a 10nF capacitor to enable Touch Pin function
Connected to LoRa module
!
SDDATA0
35 VSPICLK HS1DATA7GPIO1825 EMACCLKOUT U2RXD HS1DATA4GPIO1636 VSPIID HS1STROBEGPIO2327 EMACCO180 U2TXD HS1DATA5GPIO17
LoRa ResetExternal Antenna SwitchLoRa InterruptLoRa Select
Internal Functions
Vin (3.5-5.5V)
Up to 1.2-A Maximum Load Capability. Output ONLY.
06Version 1.0
6.0 PinDetails
Table 1 – Module pinout
Module Pin
ESP32 GPIO
PinName
DefaultFunction ADC PWM RTC† Notes
1 – ResetActiveLow,connectedtoon–boardbutton
2 3 P0RX0 (Programming)
Usedbythebootloaderandtoprogramthemodule
3 1 P1TX0(Programming)
Usedbythebootloaderandtoprogramthemodule
4 0 P2 2*IftiedtoGNDduringbootthedevicewillenterbootloadermode.Connectedtotheon–boardRGBLED
5 4 P3 TX1 2*
6 15 P4 RX1 2* JTAGTDO,SDcardCMD
7 5 – LoRaradioSPICLK Notrecommendedforexternaluse
8 27 –LoRaradioSPIMOSI
2* Notrecommendedforexternaluse
9 19 –LoRa/SigfoxradioSPIMISO
Notrecommendedforexternaluse
10 2 P8 2* SDcardDAT0
11 12 P9 SDA 2* JTAGTDI
12 13 P10SCL(I2C)/CLK(SPI)
2* JTAGTCK
13 22 P11 MOSI
14 21 P12Iftiedto3.3Vduringbootthedeviceenterssafebootmode,JTAGMISO
15 36 P13 1 Inputonly
16 37 P14 MISO 1 Inputonly
17 38 P15 1Inputonly,notrecommendedforexternaluse
18 39 P16 1 Inputonly
19 35 P17 1 Inputonly
07Version 1.0
6.0 PinDetails
Table 1 – Module pinout
Module Pin
ESP32 GPIO
PinName
DefaultFunction ADC PWM RTC† Notes
20 34 P18 1 Inputonly
21 32 P19 1
22 33 P20 1
23 26 P21 2* DAC
24 25 P22 2* DAC
25 14 P23 2* JTAGTMS,SDcardSCLK
26 – –Regulated3.3Vsupply
Outputonly,donotfeed3.3Vintothispinoryoucandamagetheregulator
27 – – Ground
28 – – VoltageInput Acceptsavoltagebetween3.5Vand5.5V
– 18 – LoRa reset
– 16 –ExternalWiFi/BTantennaswitch,Low=on–board,High=U.FL
– 23 – LoRaradiointerrupt
– 17 – LoRaradiochipselect
†ThepinsontheRTCpowerdomaincanbeusedduringdeepsleep,specificallyGPIOpinswillmaintaintheirstatewhileindeepsleep.
*ADC2iscurrentlynotsupportedinthemicropythonfirmware
6.1 RemappingPins TheESP32featurescomprehensivepinremapping
functionality.ThisallowsperipheralstobemappedontoalmostanyavailableGPIOpins.Theabovetablemerelyshowsthedefaultassignments.Forexample,thedefaultmappinghastheSPIandI2Cclocksoverlapping,
meaningbothcannotbeusedsimultaneouslywithoutremappingonetoadifferentpin.Foradetailedguideofwhatperipheralcanbeassignedtowhatpinspleaseread“AppendixA–ESP32PinLists”oftheESP32datasheet.
08Version 1.0
7.0 ESP32Peripherals
Table 2 – Peripherals
*RequiresanexternalCANbustransceiver,werecommendtheSN65HVD230fromTexasInstruments.
Peripheral Count Pins
UART 3RemappabletoanyGPIO. Note:P13–18canonlybemappedtoRXorCTSsincetheyareinputonly.
I2C 2 RemappabletoanyGPIOexceptP13–18sincetheyareinputonlyandI2Cisbi–directional.
SPI 3RemappabletoanyGPIO. Note:P13–18canonlybemappedtoMISOsincetheyareinputonly.
CAN* 1RemappabletoanyGPIO. Note:P13–18canonlybemappedtoRXsincetheyareinputonly.
JTAG 1 TDO=P4,TDI=P9,TCK=P10,TMS=P24
PWM 1 AllGPIOexceptP13–18whichareinputonly
ADC 18 Fixedmapping,seeTable1,OnlyADC1issupportedinourmicropythonfirmware.
DAC 2 OnlyavailableonP21andP22
SD 1 DAT0=P8,SCLK=P23,CMD=P4
Figure 3 – External RTC crystal circuits
ForamoredetaileddescriptionoftheESP32peripheralsalongwithperipheralsnotcurrentlysupportedbyourfirmware,pleasechecktheESP32datasheet.
7.1 RTC OurmodulesbydefaultallusetheinternalRCoscillator
at150kHzfortheRTC.Ifyourequirebetteraccuracy/stabilityyoucanconnecta32.768kHzcrystal(orTCXO)externallyonpinsP19andP20(orP19foraTXCO)
09Version 1.0
8.0 Programmingthedevice
8.1 UART Bydefault,themodulesrunaninteractivepythonREPL
onUART0whichisconnectedtoP0(RX)andP1(TX)runningat115200baud.TheeasiestwaytoconnecttotheLoPyisviaourexpansionboard,butanyUSBUARTadapterwillsuffice.CodecanberunviathisinteractiveREPLoryoucanuseourPyMakrpluginforAtomorVisualStudioCodetouploadcodetotheboard.
8.2 Wi–Fi Bydefault,theLoPyalsoactsasaWi–Fiaccesspoint. SSID:lopy–wlan–XXXX Password:www.pycom.io OnceconnectedtotheLoPy’sWi–Finetworkyoucan
accessitintwoways.
8.2.1 Telnet Runningonport23isatelnetserver.Thisactsina
verysimilarwaytotheUART.ItpresentsyouwithaninteractiveREPLandcanalsobeusedtouploadcodeviaPyMakr.
8.2.2 FTP TheLoPyalsorunsaFTPserverthatallowsyoutocopy
filestoandfromthedevice,includeanSDcardifoneisconnected.ToconnecttothisFTPserver,youneedtouseplainFTP(un–encrypted)withthefollowingcredentials: User:micro Password:python
9.0 Bootmodes
9.1 Bootloadermode InordertoupdatethefirmwareoftheLoPydevice,it
needstobeplacedintobootloadermode.Inordertodothis,P2needstobeconnectedtogroundwhenthedevicereboots.OnceinbootloadermodeyoucanusethePycomfirmwareupdatetooltoupdatetothelatestofficialfirmware.Ifyouaredevelopingyourownfirmwarebasedonouropen–sourcefirmware,aflashingscriptisprovidedwiththesourcecode.
9.2 Safeboot Themicropythonfirmwarefeaturesasafebootfeature
thatskipstheboot.pyandmain.pyscriptsandgoesstraighttotheREPL.Thisisusefulifthedeviceisprogrammedwithcodethatcausesthedevicetocrashorbecomeinaccessible.Toaccessthismode,youneedtoconnectP12to3.3Vandresetthedevice.Uponenteringsafebootmode,theon–boardLEDwillbegintoblinkorange.Dependingonthedurationthepinisheldat3.3V,adifferentfirmwarewillberun.
Table 3 – Boot modes
0–3Seconds 3–6Seconds
Currentfirmwarewithoutrunning boot.pyormain.py
PreviousfirmwareifthefirmwarewasuploadedviaOTA (withoutrunningboot.pyandmain.py)
10Version 1.0
10.1 Currentconsumptionbypowermodes/featuresmeasuredat5V
10.2 Deepsleep DuetoacoupleissueswiththeLoPydesignthemodule
drawsmorecurrentthanitshouldwhileindeepsleep.TheDC–DCswitchingregulatoralwaysstaysinhighperformancemodewhichisusedtoprovidethelowestpossibleoutputripplewhenthemodulesisinuse.Inthismode,itdrawsaquiescentcurrentof10mA.WhentheregulatorisputintoECOmode,thequiescentcurrentgoesdownto10uA.Unfortunately,thepinusedtocontrolthismodeisoutoftheRTCdomain,andthereforenotusableduringdeepsleep.ThiscausestheregulatortoalwaysstayinPWMmode,keepingitsquiescentcurrent
at10mA.Alongsidethistheflashchipdoesn’tenterpowerdownmodebecausetheCSpinisfloatingduringdeepsleep.Thiscausestheflashchiptoconsumearound2mAofcurrent.OnlytheWiPY2.0,LoPy1.0andSiPy1.0areaffectedbytheseissues.Toworkaroundthisissuea“deepsleepshield”isavailablethatattachestothemoduleandallowspowertobecutofffromthedevice.Thedevicecanthenbere–enabledeitheronatimerorviapininterrupt.Withthedeepsleepshieldthecurrentconsumptionduringdeepsleepisbetween7uAand10uAdependingonthewakesourcesconfigured.
10.0 Power
TheLoPyfeaturesanon–boardvoltageregulatorthattakes3.5V–5.5VfromtheVINpinandregulatesitto 3.3V.Itisimportanttoonlyusethe3.3Vasanoutput andnottrytofeed3.3Vintothispinasthiscould damagetheregulator.
Table 4 – Power consumption by feature
†Moredetailscanbefoundinsection14.2
* See section 10.2
Mode Min Avg. Max Units
Idle(noradios) – 37 – mA
LoRaTransmit† – 92.6 – mA
WiFiAP – 96.5 – mA
WiFiclient – 107.3 – mA
Bluetooth – 94 – mA
Deepsleep* – 15.1 – mA
Deepsleepwithshield – 531 – μA
11Version 1.0
11.0 MemoryMap
11.1 Flash
11.2 RAM
11.3 ROMandeFuses
Table 5 – Flash memory map
Table 6 – RAM memory map
Table 7 – Miscellaneous memory
Name Description Startaddress Size
NVS Non–volatileRAMarea.UsedbytheNVSAPI 0x9000 0x7000
FirmwareSlot0 Firstfirmwareslot.Factoryfirmwareisflashedhere 0x10000 0x180000
OTAinfo Informationaboutthecurrentactivefirmware 0x190000 0x1000
FirmwareSlot1 Secondfirmwareslot 0x1A0000 0x180000
Filesystem 504KBfilesystemondeviceswith4MBflash 0x380000 0x7F000
Config ConfigareaforLoRa,SigfoxandLTE 0x3FF000 0x1000
Name Description Size
On–chipSRAM InternalRAMmemoryusedbythe2xtensaCPUs 520KB
FastRTCRAMFastRAMareaaccessiblebythextensacoresduringbootandsleepmodes
8KB
SlowRTCRAMSlowRAMareaaccessiblebytheUltra–LowPowerCoprocessorduringdeepsleep
8KB
Name Description Size
On–chipROM Containscorefunctionsandbootcode. 448KB
eFuse
256bitsareusedforthesystem(MACaddressandchipconfiguration)andtheremaining768bitsarereservedforcustomerapplications,includingFlash–EncryptionandChip–ID
1kbit
12Version 1.0
12.0 WiFi
12.1 Supportedfeatures – 802.11b/g/n/e/i – 802.11n(2.4GHz),upto150Mbps – 802.11e:QoSforwirelessmultimediatechnology – WMM–PS,UAPSD – A–MPDUandA–MSDUaggregation – BlockACK – Fragmentationanddefragmentation
– AutomaticBeaconmonitoring/scanning – 802.11isecurityfeatures:pre–authenticationandTSN – Wi–FiProtectedAccess(WPA)/WPA2/WPA2–Enterprise/Wi–FiProtectedSetup(WPS)
– InfrastructureBSSStationmode/SoftAPmode – Wi–FiDirect(P2P),P2PDiscovery,P2PGroupOwnermodeandP2PPowerManagement
12.2 Specifications
Table 8 – WiFi specifications
Description Min Typ. Max Unit
InputFrequency 2412 – 2484 MHz
TxpowerOutputpowerofPAfor72.2Mbps
13 14 15 dBm
OutputpowerofPAfor11bmode 19.5 20 20.5 dBm
Sensitivity
DSSS,1Mbps – – 98 dBm
CCK,11Mbps – – 91 dBm
OFDM,6Mbps – – 93 dBm
OFDM,54Mbps – – 75 dBm
HT20,MCS0 – – 93 dBm
HT20,MCS7 – – 73 dBm
HT40,MCS0 – – 90 dBm
HT40,MCS7 – – 70 dBm
MCS32 – – 89 dBm
Adjacentchannelrejection
OFDM,6Mbps – 37 – dB
OFDM,54Mbps – 21 – dB
HT20,MCS0 – 37 – dB
HT20,MCS7 – 20 – dB
13Version 1.0
13.0 Bluetooth
13.1 Supportedfeatures – CompliantwithBluetoothv4.2BR/EDRandBLEspecification
– Class–1,class–2andclass–3transmitterwithoutexternalpoweramplifier
– Enhancedpowercontrol – +12dBmtransmittingpower – NZIFreceiverwith–97dBmsensitivity – AdaptiveFrequencyHopping(AFH) – StandardHCIbasedonSDIO/SPI/UART – High–speedUARTHCI,upto4Mbps – BT4.2controllerandhoststack
– ServiceDiscoverProtocol(SDP) – GeneralAccessProfile(GAP) – SecurityManageProtocol(SMP) – ATT/GATT – HID – AllGATT–basedprofilesupported – SPP–likeGATT–basedprofile – BLEBeacon – A2DP/AVRCP/SPP,HSP/HFP,RFCOMM – CVSDandSBCforaudiocodec – BluetoothPiconetandScatternet
13.2 Specification
13.2.1 Receiver–BasicDataRate
Table 9 – Receiver (basic data rate) specifications
Parameter Min Typ. Max Unit
Sensitivity@0.1%BER – –94 – dBm
Maximumreceivedsignal@0.1%BER 0 – – dBm
Co–channelC/I – +7 – dB
AdjacentchannelselectivityC/I
F=F0+1MHz – – –6 dB
F=F0–1MHz – – –6 dB
F=F0+2MHz – – –25 dB
F=F0–2MHz – – –33 dB
F=F0+3MHz – – –25 dB
F=F0–3MHz – – –45 dB
Out–of–bandblockingperformance
30Mhz ~ 2000MHz –10 – – dBm
2000MHz ~ 2400MHz
–27 – – dBm
2500MHz ~ 3000MHz
–27 – – dBm
3000MHz ~ 12.5GHz
–10 – – dBm
Intermodulation –36 – – dBm
14Version 1.0
Table 10 – Receiver (basic data rate) specifications
13.2.2 Receiver–EnhancedDataRate
Parameter Min Typ. Max Unit
π/4DQPSK
Sensitivity@0.1%BER – –90 – dBm
Maximumreceivedsignal@0.1%BER – 0 – dBm
Co–channelC/I – 11 – dB
AdjacentchannelselectivityC/I
F=F0+1MHz – –7 – dB
F=F0–1MHz – –7 – dB
F=F0+2MHz – –25 – dB
F=F0–2MHz – –35 – dB
F=F0+3MHz – –25 – dB
F=F0–3MHz – –45 – dB
8DPSK
Sensitivity@0.1%BER – –84 – dBm
Maximumreceivedsignal@0.1%BER – –5 – dBm
C/Ic–channel – 18 – dB
AdjacentchannelselectivityC/I
F=F0+1MHz – 2 – dB
F=F0–1MHz – 2 – dB
F=F0+2MHz – –25 – dB
F=F0–2MHz – –25 – dB
F=F0+3MHz – –25 – dB
F=F0–3MHz – –38 – dB
15Version 1.0
Table 11 – Receiver (BLE) specifications
13.2.3 Receiver–BluetoothLE
Parameter Min Typ. Max Unit
Sensitivity@30.8%PER – –97 – dBm
Maximumreceivedsignal@30.8%PER 0 – – dBm
Co–channelC/I – +10 – dB
AdjacentchannelselectivityC/I
F=F0+1MHz – –5 – dB
F=F0–1MHz – –5 – dB
F=F0+2MHz – –25 – dB
F=F0–2MHz – –35 – dB
F=F0+3MHz – –35 – dB
F=F0–3MHz – –45 – dB
Out–of–bandblockingperformance
30MHz ~ 2000MHz
–10 – – dB
2000MHz ~ 2400MHz
–27 – – dBm
2500MHz ~ 3000MHz
–27 – – dBm
3000MHz ~ 12.5GHZ
–10 – – dBm
Intermodulation –36 – – dBm
16Version 1.0
Table 12 – Transmitter (basic data rate) specifications
13.2.4 Transmitter–BasicDataRate
Parameter Min Typ. Max Unit
RFtransmitpower – 0 – dBm
Gaincontrolstep – ±3 – dBm
RFpowercontrolrange –12 – +12 dBm
+20dBbandwidth – 0.9 – MHz
Adjacentchanneltransmitpower
F=F0+1MHz – –24 – dBm
F=F0–1MHz – –16.1 – dBm
F=F0+2MHz – –40.8 – dBm
F=F0–2MHz – –35.6 – dBm
F=F0+3MHz – –45.7 – dBm
F=F0–3MHz – –40.2 – dBm
F=F0+>3MHz – 45.6 – dBm
F=F0–>3MHz – 44.6 – dBm
Δf1avg – – 155 KHz
Δf2max 133.7 KHz
Δf2avg/Δf1avg – 0.92 – –
ICFT – –7 – KHz
Driftrate – 0.7 – KHz/50μs
Drift(1slotpacket) – 6 – KHz
Drift(5slotpacket) – 6 – KHz
17Version 1.0
Table 13 – Transmitter (enhanced data rate) specifications
13.2.5 Transmitter–EnhancedDataRate
Parameter Min Typ. Max Unit
RFtransmitpower – 0 – dBm
Gaincontrolstep – ±3 – dBm
RFpowercontrolrange –12 – +12 dBm
π/4DQPSKmaxw0 – –0.72 – KHz
π/4DQPSKmaxwi – –6 – KHz
π/4DQPSKmax|wi+w0| – –7.42 – KHz
8DPSKmaxw0 – 0.7 – KHz
8DPSKmaxwi – –9.6 – KHz
8DPSKmax|wi+w0| –10 KHz
π/4DQPSKmodulationaccuracy
RMSDEVM – 4.28 – %
99%DEVM – – 30 %
PeakDEVM – 13.3 – %
8DPSKmodulationaccuracy
RMSDEVM – 5.8 – %
99%DEVM – 20 %
PeakDEVM – 14 – %
In–bandspuriousemissions
F=F0+1MHz – –34 – dBm
F=F0–1MHz – –40.2 – dBm
F=F0+2MHz – –34 – dBm
F=F0–2MHz – –36 – dBm
F=F0+3MHz – –38 – dBm
F=F0–3MHz – –40.3 – dBm
F=F0±>3MHz – – –41.5 dBm
EDRdifferentialphasecoding – 100 – %
18Version 1.0
Table 14 – Transmitter (BLE) specifications
13.2.6 Transmitter–BluetoothLE
14.0 LoRa
14.1 Supportedfeatures
Table 15 – Supported LoRa features
ThecurrentmicropythonfirmwaresupportsLoRaWAN1.0actingaseitheraClassAorClassCnode.
Parameter Min Typ. Max Unit
RFtransmitpower – 0 – dBm
Gaincontrolstep – ±3 – dBm
RFpowercontrolrange –12 – +12 dBm
Adjacentchanneltransmitpower
F=F0+1MHz – –14.6 – dBm
F=F0–1MHz – –12.7 – dBm
F=F0+2MHz – –44.3 – dBm
F=F0–2MHz – –38.7 – dBm
F=F0+3MHz – –49.2 – dBm
F=F0–3MHz – –44.7 – dBm
F=F0+>3MHz – –50 – dBm
F=F0–>3MHz – –50 – dBm
Δf1avg – – 265 KHz
Δf2max 247 – – KHz
Δf2avg/Δf1avg – –0.92 – –
ICFT – –10 – KHz
Driftrate – 0.7 – KHz/50μs
Drift – 2 – KHz
PartNumber FrequencyRange LoRaParameters
Spreadingfactor
BandwidthEffectiveBitrate
Sensitivity
SemtechSX1272 860–1020MHz 6–12125–500
kHz0.24–37.5
kpbs–117to–137
dBm
19Version 1.0
Table 16 – LoRa modem performance
14.2 Specifications
Bandwidth(KHz) SpreadingFactor NominalRb(bps) Sensitivity(dBm)
125 6 9380 –122
125 12 293 –137
250 6 18750 –119
250 12 588 –134
500 6 37500 –116
500 12 1172 –131
20Version 1.0
Table 17 – LoRa electrical characteristics
Symbol Description Conditions Min Typ. Max Unit
IDDR_LSupplycurrentinreceiverLoRamode
LNABoostOff,BW=125KHz – 9.7 – mA
LNABoostOff,BW=250KHz – 10.5 – mA
LNABoostOff,BW=500KHz – 12 – mA
LNABoostOn,BW=125KHz – 10.8 – mA
LNABoostOn,BW=250KHz – 11.6 – mA
LNABoostOn,BW=500KHz – 13 – mA
IDDT_LSupplycurrentintransmittermode
RFOP=13dBm – 28 – mA
RFOP=7dBm – 18 – mA
IDDT_H_LSupplycurrentintransmittermodewithanexternalimpedancetransformer
UsingPA_BOOSTpin
RFOP=17dBm– 90 – mA
BI_LBlockingImmunity,FRF=868MHzCWinterferer
Offset=±1MHz – 82.5 – dB
Offset=±2MHz – 86.5 – dB
Offset=±10MHz – 89 – dB
IIP3_L3rdorderinputinterceptpoint,highestLNAgain,FRF=868MHz,CWinterferer
F1=FRF+1MHz
F2=FRF+1.995MHz– –12.5 – dBm
IIP2_L2ndorderinputinterceptpoint,highestLNAgain,FRF=868MHz,CWinterferer
F1=FRF+20MHz
F2=FRF+20MHz+Δf– 57 – dBm
BR_L Bitrate,Long–RangeModeFromSF6,CR=4/5,BW=500kHztoSF12,CR=4/8,BW=125kHz
0.24 – 37.5 kbps
14.2 Specifications
21Version 1.0
Symbol Description Conditions Min Typ. Max Unit
RFS_L125
RFsensitivity,Long–RangeMode,highestLNAgain,LNAboost,125kHzbandwidthusingsplitRx/Txpath
SF=6 – –121 – dBm
SF=7 – –124 – dBm
SF=8 – –127 – dBm
SF=9 – –130 – dBm
SF=10 – –133 – dBm
SF=11 – –135 – dBm
SF=12 – –137 – dBm
RFS_L250
RFsensitivity,Long–RangeMode,highestLNAgain,LNAboost,250kHzbandwidthusingsplitRx/Txpath
SF=6 – –118 – dBm
SF=7 – –122 – dBm
SF=8 – –125 – dBm
SF=9 – –128 – dBm
SF=10 – –130 – dBm
SF=11 – –132 – dBm
SF=12 – –135 – dBm
RFS_L500
RFsensitivity,Long–RangeMode,highestLNAgain,LNAboost,500kHzbandwidthusingsplitRx/Txpath
SF=6 – –111 – dBm
SF=7 – –116 – dBm
SF=8 – –119 – dBm
SF=9 – –122 – dBm
SF=10 – –125 – dBm
SF=11 – –128 – dBm
SF=12 – –129 – dBm
Table 17 – LoRa electrical characteristics
14.2 Specifications
22Version 1.0
Symbol Description Conditions Min Typ. Max Unit
CCR_LCW
SF=7 – 5 – dB
SF=8 – 9.5 – dB
SF=9 – 12 – dB
SF=10 – 14.4 – dB
SF=11 – 17 – dB
SF=12 – 19.5 – dB
CCR_LL Co–channelrejectionInterfererisaLoRasignalusingthesameBWandSF.Pw=sensitivity+3dB
– –6 – dB
ACR_LCWAdjacentchannelrejectionFRF=868MHz
Interfereris1.5*BW_Lfromthewantedsignalcentrefrequency1%PER,SingleCWtone=Sensitivity+3dB
SF=7 – 60 – dB
SF=12 – 72 – dB
IMR_LCWImagerejectionaftercalibration
1%PER,SingleCWtone=sensitivity+3dB
– 66 – dB
FERR_L
Maximumtoleratedfrequencyoffsetbetweentransmitterandreceiver,nosensitivitydegradation
BW_L=125kHz –30 – 30 kHz
BW_L=250kHz –60 – 60 kHz
BW_L=500kHz –120 – 120 kHz
Table 17 – LoRa electrical characteristics
14.2 Specifications
23Version 1.0
Table 18 – LoRa power consumption
Symbol Description Conditions Min Typ. Max Unit
IDDSL Supplycurrentinsleepmode – 0.1 1 μA
IDDIDLE Supplycurrentinidlemode RCoscillatorenabled – 1.5 – μA
IDDSTSupplycurrentinstandbymode
Crystaloscillatorenabled – 1.4 1.6 mA
IDDFSSupplycurrentinsynthesizermode
FSRx – 4.5 – mA
IDDRSupplycurrentinreceivemode
LnaBoostOff – 10.5 – mA
LnaBoostOn – 11.2 – mA
IDDTSupplycurrentintransmitmodewithimpedancematching
RFOP=+20dBmonPA_BOOST – 125 – mA
RFOP=+17dBmonPA_BOOST – 90 – mA
RFOP=+13dBmonRFOpin – 28 – mA
RFOP=+7dBmonRFOpin – 18 – mA
14.2 Specifications
24Version 1.0
16.0 ElectricalCharacteristics
16.1 Absolutemaximumratings
16.2 Input/Outputcharacteristics
Table 19 – Absolute maximum ratings
Table 20 – Input/Output characteristics
Parameter Symbol Min Typ. Max Unit
SupplyInputVoltage VIN 3.5 – 5.5 V
SupplyOutputCurrent IOUT – – 1.2 A
SupplyOutputVoltage V3V3 – 3.3 – V
StorageTemperature TSTR – – – °C
OperatingTemperature TOPR –40 – 85 °C
MoistureSensitivityLevel MSL – 1 – –
Parameter Symbol Min Typ. Max Unit
Inputlowvoltage VIL –0.3 – 0.25×V3V3 V
Inputhighvoltage VIH 0.75×V3V3 – V3V3+0.3 V
MaxInputsinkcurrent ISINK – 6 12 mA
Inputleakagecurrent IIL – – 50 nA
Inputpincapacitance Cpin – – 2 pF
Outputlowvoltage VOL 0.1×V3V3 – – V
Outputhighvoltage VOH 0.8×V3V3 – – V
MaxOutputsourcecurrent ISOURCE – 6 12 mA
15.0 6LoWPAN
Pycomiscurrentlyworkingonadding6LoWPANsupporttothismoduleandplantoreleaseanewfirmwarewiththisfunctionalityinQ22018.
25Version 1.0
17.0 MinimumRecommendedCircuit
Figure 4 – Minimum required circuit
26Version 1.0
18.0 MechanicalSpecifications
19.0 RecommendedLandPatterns
19.1 Throughhole
Figure 5 – Mechanical drawing (top down view) – Units: mm
Figure 6 – Mechanical drawing (side view) – Units: mm
Figure 7 – Recommended land pattern (through hole) – Units: mm
P13
P14
P15
P16
P17
P18
P19
P20
P21
P22
P23
3V3
GN
D
VIN
P12
P11
P10
P9
P8
MIS
O
MO
SI
55
2.54 5
10
21.02
17.78
9.72
20
12.25
CLKP
4
P3
P2
P1
P0
RS
T55
4.1
35.3
6.59.9
1.2
Ant
enna
KE
EP
OU
T
55
17.78
9.72 12.25
2.54 2
1.02
17.78
5
10
20
27Version 1.0
19.2 Surfacemount(LoPywithoutheadersonly)
Figure 8 – Recommended land pattern (surface mount) – Units: mm
55
2.54
Ant
enna
KE
EP
OU
T
2
1.5
18
9.72
20
12.25
5
10
28Version 1.0
TheaboveprofileisbasedonAlphaCVP–390solderpaste,whichhasbeensuccessfullytestedwithourdevices.
Table 23– Soldering profile temperatures
Stage Duration/Rate Temperature
Ramptosoak 2°C/s Ambient–185°C
Soak 60s 185°C
Ramptopeak 1°C/s 240°C
Reflow 45s >225°C
Cooldown 2°C/s
20.0 SolderingProfile
20.1 Withheaders Thisdeviceisnotrecommendedforreflowsoldering.
Theplasticofthepinheaderswillmelt,insteadpleasehandsolderthemoduleorusesockets.
20.2 Withoutheaders
Figure 9 – Reflow soldering temperature profile (surface mount)
29Version 1.0
22.0 Packaging
21.0 OrderingInformation
Table 21 – Soldering profile temperatures
Figure 10 – Mechanical drawing of packaging – Units: mm
Themodulewillcomeinsideareusableanti–staticbag.Ifthemodulehasheadersit
willalsobeinsertedintoanti–staticfoam.
Totalweightinc.packaging(withheaders):31g
Totalweightinc.packaging(withoutheaders):29g
Formoreproductaccessorieslikeexpansionboardorcasesvisitourwebsite:http://www.pycom.io
ProductEAN Description
0700461341628 LoPy1.0withHeaders
0700461242727LoPy1.0withoutheaders
0700461341703 LoRa Antenna
0700461341680 ExternalWiFiAntenna
0700461341697 IP67AntennaPigtail
Bundle Contents
LoPyMulti–Pack
1xLoPy 1xExpansionBoardor PysenseorPytrack 1xLoRaantenna
Availableinquantitiesof1,2or5
30Version 1.0
23.0 Certification
FCC 2AJMTLOPY1R CE 0700 Copiesofthecertificatescanbefoundonourwebsite.
RegulatorInformation
23.1 EURegulatoryConformance Hereby,PycomLtddeclaresthatthisdeviceisincompliancewiththeessentialrequirementsandotherrelevant
provisionsofDirective1999/5/EC
23.2 FederalCommunicationCommissionInterferenceStatement ThisdevicecomplieswithPart15oftheFCCRules.Operationissubjecttothefollowingtwoconditions:
1. Thisdevicemaynotcauseharmfulinterference.2. Thisdevicemustacceptanyinterferencereceived,includinginterferencethatmaycauseundesiredoperation.
CAUTION:Changesormodificationsnotexpresslyapprovedbythepartyresponsibleforcompliancecouldvoidtheuser’sauthoritytooperatetheequipment.
NOTE:ThisequipmenthasbeentestedandfoundtocomplywiththelimitsforaClassBdigitaldevice,pursuanttoPart15oftheFCCRules.Theselimitsaredesignedtoprovidereasonableprotectionagainstharmfulinterferenceinaresidentialinstallation.Thisequipmentgenerates,usesandcanradiateradiofrequencyenergyand,ifnotinstalledandusedinaccordancewiththeinstructions,maycauseharmfulinterferencetoradiocommunications.However,thereisnoguaranteethatinterferencewillnotoccurinaparticularinstallation.Ifthisequipmentdoescauseharmfulinterferencetoradioortelevisionreception,whichcanbedeterminedbyturningtheequipmentoffandon,theuserisencouragedtotrytocorrecttheinterferencebyoneormoreofthefollowingmeasures:
– Reorientorrelocatethereceivingantenna. – Increasetheseparationbetweentheequipmentandreceiver. – Connecttheequipmentintoanoutletonacircuitdifferentfromthattowhichthereceiverisconnected. – Consultthedealeroranexperiencedradio/TVtechnicianforhelp.
23.2.1 RFWarningStatement TocomplywithFCCRFexposurecompliancerequirements,theantennasusedforthistransmittermustbeinstalled
toprovideaseparationdistanceofatleast20cmfromallpersonsandmustnotbeco–locatedoroperatinginconjunctionwithanyotherantennaortransmitter.
23.2.2 OEMintegratorconditions ThisdeviceisintendedonlyforOEMintegratorsunderthefollowingconditions:
1. Theantennamustbeinstalledsuchthat20cmismaintainedbetweentheantennaandusers,and2. Thetransmittermodulemaynotbeco–locatedwithanyothertransmitterorantenna.
Aslongasthetwoconditionsabovearemet,furthertransmittertestwillnotberequired.However,theOEMintegratorisstillresponsiblefortestingtheirend–productforanyadditionalcompliancerequirementsrequired withthismoduleinstalled.Toensurecompliancewithallnon–transmitterfunctionsthehostmanufacturerisresponsibleforensuringcompliancewiththemodule(s)installedandfullyoperational.Forexample,ifahostwaspreviouslyauthorizedasanunintentionalradiatorundertheDeclarationofConformityprocedurewithoutatransmittercertifiedmoduleandamoduleisadded,thehostmanufacturerisresponsibleforensuringthatthe afterthemoduleisinstalledandoperationalthehostcontinuestobecompliantwiththePart15Bunintentionalradiatorrequirements.
ThemoduleislimitedtoOEMinstallationONLY.Themoduleislimitedtoinstallationinmobileorfixedapplication.WeherebyacknowledgeourresponsibilitytoprovideguidancetothehostmanufacturerintheeventthattheyrequireassistanceforensuringcompliancewiththePart15SubpartBrequirements.
31Version 1.0
IMPORTANTNOTE:Intheeventthattheseconditionscannotbemet(forexamplecertainlaptopconfigurationsorco–locationwithanothertransmitter),thentheFCCauthorizationisnolongerconsideredvalidandtheFCCIDcannotbeusedonthefinalproduct.Inthesecircumstances,theOEMintegratorwillberesponsibleforre–evaluatingtheendproduct(includingthetransmitter)andobtainingaseparateFCCauthorization.
23.2.3 EndProductLabelling Thistransmittermoduleisauthorizedonlyforuseindevicewheretheantennamaybeinstalledsuchthat20cm
maybemaintainedbetweentheantennaandusers.Thefinalendproductmustbelabelledinavisibleareawiththefollowing:“ContainsFCCID:2AJMTLOPY1R”.Thegrantee’sFCCIDcanbeusedonlywhenallFCCcompliancerequirementsaremet.
ThefollowingFCCpart15.19statementhastoalsobeavailableonthelabel:
ThisdevicecomplieswithPart15ofFCCrules.Operationissubjecttothefollowingtwoconditions:
1. thisdevicemaynotcauseharmfulinterferenceand2. thisdevicemustacceptanyinterferencereceived,includinginterferencethatmaycauseundesiredoperation.
23.2.4 ManualInformationtotheEndUser TheOEMintegratorhastobeawarenottoprovideinformationtotheenduserregardinghowtoinstallorremove
thisRFmoduleintheuser’smanualoftheendproductwhichintegratesthismodule.
Intheusermanualoftheendproduct,theenduserhastobeinformedthattheequipmentcomplieswithFCCradio–frequencyexposureguidelinessetforthforanuncontrolledenvironment.
Theenduserhastoalsobeinformedthatanychangesormodificationsnotexpresslyapprovedbythemanufacturercouldvoidtheuser’sauthoritytooperatethisequipment.
Theendusermanualshallincludeallrequiredregulatoryinformation/warningasshowinthismanual.
Themaximumoperatingambienttemperatureoftheequipmentdeclaredbythemanufactureris–40~+85C
Receivercategory3
24.0 RevisionHistory
Table 24 – Document revision history
Version1.0 InitialRelease
top related