Page 2
These products are not, unless specifically authorized by Oki, authorized for use in any system or application that requires special or enhanced quality and reliability characteristics nor in any system or application where the failure of such system or application may result in the loss or damage of property, or death or injury to humans.
Page 3
Preface This user’s manual describes the operation of the hardware of the ML7065-033, a ZigBee® short-distance radio communication IC that conforms to IEEE802.15.4. The following related manual is available. Read it as required. ML7065 Design Guide Contains the hardware information that should be referenced when designing circuits.
Page 4
Notation Classification Notation Description Numeric value 0xnn Represents a hexadecimal number. 0bnnnn Represents a binary number. Address 0xnnnn_nnnn Represents a hexadecimal number. (Indicates 0xnnnnnnnn) Unit Word, W 1 word = 32 bits Byte, B 1 byte = 8 bits Mega, M Kilo, K (uppercase) = 1024 Kilo, k (lowercase)
Chapter 1 General Description General Description The ML7065-033 supports the 2.4 GHz band and complies with IEEE802.15.4. It is an IC that can be used for has short-distance radio communication where the RF section, IF section, modem section, PHY section, MAC section, and MCU data interface section are integrated into one chip.
PLL LFI XOUT PLL LFO Outline Description of Blocks The ML7065-033 consists mainly of the following blocks: RF Block The RF block comprises the RF circuit, IF circuit, and Analog circuit and is equipped with 2.4 GHz radio transmission/reception functions.
ML7065-033 User’s Manual Chapter 1 General Description 1.4.3 Power Supply Pins Active Pin No. Symbol At reset Description Level Power supply pin for PA, LNA, SW, and IQMOD VDD_RF (Typ. 2.5 V) Power supply pin for the synthesizer VCO (Typ.
Note: Do not connect anything to the N.C. pins. 1.4.5 Handling of Unused Pins See below for handling of unused pins. Such handling as leads to impair the basic operation of the ML7065-033 are not included. Handling of Unused Pins Symbol...
Circuit section for the external circuit for the RESETN pin. Also at a timing other than at power-up, the internal circuit can be reset by inputting a reset signal to the RESETN pin. After reset, the ML7065-033 enters the normal state after the oscillation circuit and the PLL circuit are stabilized by the clock stabilization circuit.
ML7065-033 User’s Manual Chapter 3 Power Management Function Power Management Function The ML7065-033 transitions to the following four states besides the normal communication states (receiving state and transmitting state). (1) Total-stop state Indicates a reset state. The internal circuit is in the initialized state.
ML7065-033 User’s Manual Chapter 4 Mode Setting Mode Setting The following normal operation modes and test modes are available for the ML7065-033. Normal operation mode Pin setting Mode Description No. MODE1 MODE2 MODE3 SCI: LSB data input/output CLKOUT pin: No OSC clock is output after reset release.
ML7065-033 User’s Manual Chapter 5 IEEE802.15.4 Modulation IEEE802.15.4 Modulation 5.1 Block Diagram of the Modulator Circuit Quadrature Modulated Binary Bit-to- Symbol Pulse Modulator Signal Data Symbol -to-Chip Shaping Symbol Symbol Symbol ,•••) ,•••••,c ,•••••,c (1) Binary data for transmission to be input to a modem is mapped to the 16 types of symbols “0” to “F” every four bits in the order the binary data is input.
ML7065-033 User’s Manual Chapter 5 IEEE802.15.4 Modulation 5.2 Chip Order For the 32 chips corresponding to each symbol, chips in the even-number order of c ,•••••, c configured as I data and the chips in the odd-number order of c , •••••, c...
ML7065-033 User’s Manual Chapter 5 IEEE802.15.4 Modulation 5.4 Packet Format The general packets that are sent from the ML7065-033 are structured as follows. Refer to IEEE802.15.4-2003 for the detail specification of the format. Start of frame Frame length Reserved Preamble...
The interrupt pin, SINT, is used for reading data from the ML7065-033 to the host. Waveform definition: The SCI that is incorporated in the ML7065-033 is applied to a slave mode only and the input clock from the host is applied to the rising edge only.
Page 20
1st transfer byte The host sends a request to the ML7065-033, and, at the same time, the ML7065-033 sends a status to the host. A request and a status use bits 3 to 0 only (positive logic) as shown below and other bits become Don't Care. See the table below for details.
Page 21
Command Data(Length-1) • ML7065-033→Host Transfer Data Format sintn scen sclk ML7065-033→Host. Data Read (RAM) (Little endian, 2-byte transfer, command 0x0a, data 0x07) sintn scen sclk Host→ML7065-033. Data Write (RAM) (Little endian, 2-byte transfer, command 0x0a, data 0x07) * During transfer, do not release ("1") scen. If it is released, the transfer data becomes invalid.
Page 22
ML7065-033 User’s Manual Chapter 6 Synchronous Communication Interface (SCI) Function sintn scen sclk ML7065-033→Host. Data Read (Config) (Little endian, 2-byte transfer, command 0x0a, data 0x07) sintn scen sclk Host→ML7065-033. Data Write (Config) (Little endian, 2-byte transfer, command 0x0a, data 0x07) * During transfer, do not release ("1") scen.
ML7065-033 User’s Manual Chapter 7 Commands Commands 7.1 List of Commands The following table shows the commands that can be entered from the SCI interface required for normal data transmission/reception. Command Address Command name Function Access type symbol 0xF000 0x1B...
ML7065-033 User’s Manual Chapter 7 Commands 7.2.3 CLK_CTL0 Function: Controls clocks. Command: 0x1D Address: 0xF004 Access: Config Initial value: 0x0000 Register name Function Initial value Stops all the clocks including OSC. SLEEP 0: Operate 1: Stop Stops all the clocks except OSC and PLL...
ML7065-033 User’s Manual Chapter 7 Commands 7.3 MAC Commands The data that flows on SCI comprises a header and a payload. The figure below shows the format of the entire data. SCI header Payload Data Format See below for the header format of the data that is transmitted from a host system to MAC.
Page 27
ML7065-033 User’s Manual Chapter 7 Commands See below for the format of the data that is transmitted from MAC to the host system. SCI header Payload Field name Status Length Primitive Code Payload Value subtracted by 1 from the value of...
ML7065-033 User’s Manual Chapter 7 Commands 7.3.1 MCPS-DATA.request Function: Requests the transfer of MSDU Command symbol: 0x40 Access: bMAC Parameter Type Value range Description Addressing mode of the transfer source 0x00: No address SrcAddrMode 0x00 – 0x03 0x01: Reserved 0x02: 16-bit short address...
ML7065-033 User’s Manual Chapter 7 Commands 7.3.3 MCPS-DATA.indication Function: Posts the transfer of MSDU Command symbol: 0x42 Access: MAC Parameter Type Value range Description Addressing mode of the transfer source 0x00: No address SrcAddrMode 0x00 – 0x03 0x01: Reserved 0x02: 16-bit short address...
ML7065-033 User’s Manual Chapter 7 Commands 7.3.6 MLME-ASSOCIATE.request Function: Requests an association with a coordinator Command symbol: 0x45 Access: MAC Parameter Type Value range Description Selected from among Logical channel on which to attempt LogicalChannel available channels that PHY association...
ML7065-033 User’s Manual Chapter 7 Commands 7.3.8 MLME-ASSOCIATE.indication Function: Posts the reception of an association request command Command symbol: 0x47 Access: MAC Parameter Type Value range Description Address of the device that requests an DeviceAddress 64-bit extended address association Capabilities of the device that requests...
ML7065-033 User’s Manual Chapter 7 Commands 7.3.13 MLME-BEACON-NOTIFY.indication Function: Posts a beacon Command symbol: 0x4C Access: MAC Parameter Type Value range Description 0x00 – 0xFF Beacon sequence number PANDescript PAN descriptor of the received PANDescriptor or value beacon (Refer IEEE 802.15.4,...
ML7065-033 User’s Manual Chapter 7 Commands 7.3.16 MLME-GTS.request Function: Makes a request to allocate or deallocate a GTS Command symbol: 0x4F Access: MAC Parameter Type Value range Description (Refer to IEEE 802.15.4, Section Bit stream indicating the GTSCharacteristics B0 – B7 7.3.3.1.2)
ML7065-033 User’s Manual Chapter 7 Commands 7.3.19 MLME-ORPHAN.indication Function: Posts the presence of an orphaned device Command symbol: 0x52 Access: MAC Parameter Type Value range Description OrphanAddress[0] OrphanAddress[1] OrphanAddress[2] OrphanAddress[3] U8×8 64-bit extended address Address of the orphaned device OrphanAddress[4]...
ML7065-033 User’s Manual Chapter 7 Commands 7.3.22 MLME-RESET.confirm Function: Reports the results of the reset operation Command symbol: 0x55 Access: MAC Parameter Type Value range Description SUCCESS or Status Status indicating the results of the reset operation DISABLE_TRX_FAILURE 7.3.23 MLME-RX-ENABLE.request...
ML7065-033 User’s Manual Chapter 7 Commands 7.3.25 MLME-SCAN.request Function: Performs a channel scan over a given list of channels Command symbol: 0x58 Access: MAC Parameter Type Value range Description Scan Type 0x00: ED scan (FFD only) ScanType B0 – B1 0x00 –...
ML7065-033 User’s Manual Chapter 7 Commands 7.3.27 MLME-COMM-STATUS.indication Function: Posts the communication results Command symbol: 0x5A Access: MAC Parameter Type Value range Description PANId 0x0000 – 0xFFFF 16-bit PANidentifier Addressing mode of the communication source 0x00: No address SrcAddrMode 0x00 – 0x03...
ML7065-033 User’s Manual Chapter 7 Commands 7.3.29 MLME-SET.confirm Function: Reports the results of the attempt to set PIB attribute information Command symbol: 0x5C Access: MAC Parameter Type Value range Description SUCCESS, Status indicating the results of the Status UNSUPPORTED_ATTRIBUTE, attempt to set PIB attribute information...
ML7065-033 User’s Manual Chapter 7 Commands 7.3.31 MLME-START.confirm Function: Reports the results of the attempt to start using a new superframe configuration Command symbol: 0x5E Access: MAC Parameter Type Value range Description SUCCESS, NO_SHORT_ADDRESS, Status indicating the results of the attempt...
ML7065-033 User’s Manual Chapter 7 Commands 7.3.35 MLME-POLL.confirm Function: Reports the results of a request to poll the coordinator for data Command symbol: 0x62 Access: MAC Parameter Type Value range Description SUCCESS, CHANNEL_ACCESS_FAILURE, NO_ACK, Status indicating the results of a request...
ML7065-033 User’s Manual Chapter 7 Commands 7.3.37 PANDescriptor Details Parameter Type Value range Description Addressing mode of the coordinator CoordAddrMode 0x02 – 0x03 0x02: 16-bit short address 0x03: 64-bit extended address CoordPANId[0] 0x0000 – 0xFFFE PAN identifier of the coordinator...
ML7065-033 User’s Manual Chapter 7 Commands 7.3.38 Status Details The status parameters of primitives are shown below. Status Code value SUCCESS 0 x 00 BEACON_LOSS 0 x E0 CHANNEL_ACCESS_FAILURE 0 x E1 DENIED 0 x E2 DISABLE_TRX_FAILURE 0 x E3...
Page 44
ML7065-033 User’s Manual Chapter 7 Commands 7.4 MAC PIB Attribute Specifications MAC PIB attributes are specified by a one-byte identifier as shown in Table 7.4.1. These attributes are read or written by using an MLME-GET.REQUES primitive or an MLME-SET.REQUST primitive. Refer to IEEE 802.15.4-2003 for more details.
Page 45
ML7065-033 User’s Manual Chapter 7 Commands Table 7.4.1 MAC PIB Attribute (2) Identifier Attribute Range Description Default 0x48 macBeaconTxTime 0x000000- The symbol time when the coordinator has sent 0x000000 0xFFFFFF the last beacon. Do not set this PIB. 0x49 macBSN...
Page 46
ML7065-033 User’s Manual Chapter 7 Commands Table 7.4.1 MAC PIB Attribute (3) Identifier Attribute Range Description Default 0x52 macRxOnWhenIdle 0 or 1 This indicates if MAC will enable the receiver during an idle period. If '1' is set in an MLME-SET.REQUEST, the receiver becomes RX_ON.
Page 47
ML7065-033 User’s Manual Chapter 7 Commands 7.4.1 MAC PIB Security Attribute Specifications MAC PIB security attributes are specified by a one-byte identifier as shown in Table 7.4.2. These attributes are read or written by using an MLME-GET.REQUES primitive or an MLME-SET.REQUST primitive.
Page 48
ML7065-033 User’s Manual Chapter 7 Commands Table 7.4.3 ACL Entry descriptor Name Range Description Default ACLExtendedAddress Exetended address A 64-bit address of the device. Device (64-bit Address) Specific ACLShortAddress 0x0000–0xFFFF A 64-bit address of the device. 0xFFFF ACLPANId 0x0000–0xFFFF PANId of the device...
Page 49
ML7065-033 User’s Manual Chapter 7 Commands 7.5 MAC Security Specifications 7.5.1 MAC Security Mode No-security mode, ACL mode, and security mode are available for MAC. Set a mode by using macSecurityMode (PIB-ID: 0x76) of MACPIB. 7.5.1.1 No-security Mode MAC will not execute security processing even if it has received a request primitive for security from the HOST.
Page 50
ML7065-033 User’s Manual Chapter 7 Commands • Receive Frame Processing When secured MAC frames are received, MAC will execute security processing (combination) to the receive frames. In order to combine the received frames, MAC will search for ACLExtendedAddress, or ACLShortAddress and ACLPANId, that would match with the source addresses from the ACL entry. If the retrieval is successful, MAC will use the security suite and the security material from ACLEntryDescriptor, combine the received frames, and then transmit them to the HOST.
Page 51
ML7065-033 User’s Manual Chapter 7 Commands 7.6 Power-Saving Feature The power-saving feature includes the default power-saving function and the expanded power-saving function (suspend and sleep). Settings for this feature can be made with 0x80 of the unique MAC PIB ID. Table 7.6.1 shows the details.
Page 52
ML7065-033 User’s Manual Chapter 7 Commands 7.6.1 Notes on the power-saving feature The power-saving feature can be set to the default power-saving function, suspend function, or sleep function before PAN and ASSOCIATE are executed (the default power-saving function will be in effect after the power is turned on).
Page 53
ML7065-033 User’s Manual Chapter 7 Commands 7.7 Usage of MAC This section describes the basic MAC usage. 7.7.1 PAN Initiation Procedure. To activate the PAN coordinator, first set the PIB attribute in the following procedure and then execute an MLME-START.REQUEST.
Page 54
ML7065-033 User’s Manual Chapter 7 Commands MLME-SET.REQUEST: macAssociationPermit SCI header Payload Primitive Field name Request Length PIBAttribute PIBAttributeValue Code Code 0x02 0x03 0x5B 0x41 0x01 MLME-SET.CONFIRM SCI header Payload Primitive Field name Status Length status PIBAttribute Code Code 0x03 0x03...
Page 55
ML7065-033 User’s Manual Chapter 7 Commands MLME-START.REQUEST SCI header Payload PAN Coordinator, BatteryLife Primitive Logical Extension, Field name Request Length PANId Code Channel Coord Realignment, Security Enable Code 0x02 0x06 0x5D 0xEE-0xEE 0x0B 0x11 0x01 * Set BO/SO to 0xFF to initiate PAN with no beacons.
Page 56
ML7065-033 User’s Manual Chapter 7 Commands 7.7.2 PAN Entry Procedure To enter PAN, first set a PIB attribute in the following procedure and then execute an MLME-ASSOCIATE.REQUEST. After receiving an MLME-ASSSOCIATE.INDICATION, the PAN coordinator must input an MLME-ASSOCIATE.RESPONSE. Transmit an MLME-RESET.REQUEST. (SetDefaultPIB: TRUE) Set a device specific 64-bit adress.
Page 57
ML7065-033 User’s Manual Chapter 7 Commands MLME-SCAN.REQUEST SCI header Payload Primitive Scan Scan Field name Request Length Scan Type Code Channel Duration Code 0x02 0x07 0x58 0x02 0x00-0xF8-0xFF-0x07 0x05 * Set all channels to passive setting. MLME-SCAN.CONFIRM SCI header Payload...
Page 58
ML7065-033 User’s Manual Chapter 7 Commands 7.7.3 Synchronization with Beacon PAN To establish synchronization with the beacon PAN, first set the PIB attribute in the following procedures and then execute an MLME-SYNC.REQUEST. Set the beacon order for the MAC PIB attribute.
Page 59
ML7065-033 User’s Manual Chapter 7 Commands 7.7.4 Operating MAC in Non-discriminating Mode When operating MAC in non-discriminating mode, make sure to reset hardware or execute an MLME-RESET.request. Non-discriminating mode starts when Promiscuous mode (PIB-ID: 0x51) of the MAC PIB attribute is set to 1 or 2.
Page 60
ML7065-033 User’s Manual Chapter 7 Commands MLME-SET.REQUEST: Promiscuous mode SCI header Payload Primitive Field name Request Length PIBAttribute PIBAttributeValue Code Code 0x02 0x03 0x5B 0x51 0x01 MLME-SET.CONFIRM SCI header Payload Primitive Field name Status Length status PIBAttribute Code Code 0x03...
Page 61
ML7065-033 User’s Manual Chapter 7 Commands 7.7.5 ACL Setting Procedure To make the ACL entry settings, macSecurityMode must be set to “0” beforehand. The ACL setting procedure is as follows: Set security mode to non-secure mode. (PIB-ID: 0x76 macSecurityMode) Set an ACL entry number. (PIB-ID: 0x7F macACLEntry-DescriptorNumber) Set ACL entry information.
Page 62
ML7065-033 User’s Manual Chapter 7 Commands MLME-SET.CONFIRM SCI header Payload Primitive Field name Status Length status PIBAttribute Code Code 0x03 0x03 0x5C 0x00 0x70 MLME-SET.REQUEST: macSecurityMode SCI header Payload Primitive Field name Request Length PIBAttribute PIBAttributeValue Code Code 0x02 0x03...
Page 63
ML7065-033 User’s Manual Chapter 7 Commands 7.7.6 Recovery after Generation of MLME-PROTOCOL-ERROR.indication 7.7.6.1 When MLME-PROTOCOL-ERROR.indication is Generated in the Coordinator If the MAC layer issues an MLME-PROTOCOL-ERROR.indication notification before starting PAN, PAN can be resumed in the following procedure. PAN can also be started in the procedures described in Section 7.7.1.
ML7065-033 User’s Manual Chapter 7 Commands 7.7.6.2 When MLME-PROTOCOL-ERROR.indication is Generated in the Device If the MAC layer issues an MLME-PROTOCOL-ERROR.indication notification after PAN entry is made, re-entry can be made in the following procedure. PAN entry can also be made in the procedure described in Section 7.7.2...
ML7065-033 User’s Manual Chapter 8 Electrical Characteristics Electrical Characteristics 8.1 Absolute Maximum Ratings Parameter Symbol Condition Rating Unit Power supply voltage (I/O) −0.3 to +4.6 DDIO (*1) Power supply voltage −0.3 to +3.6 DDCORE (CORE)(*2) Power supply voltage −0.3 to +3.6...
ML7065-033 User’s Manual Chapter 8 Electrical Characteristics 8.2 Absolute Maximum Ratings Parameter Symbol Condition Min. Typ. Max. Unit Power supply voltage (I/O) VDD_IO pin (*6) DDIO Power supply voltage VDD_CORE pin (*6) 2.75 DDCORE (CORE) VDD_RF pin,VDD_MIX pin Power supply voltage (RF) 2.75...
ML7065-033 User’s Manual Chapter 8 Electrical Characteristics 8.3 Supply Current Specification (See “Power supply voltage condition (*9)”, Ta = –25 to +70°C) Parameter Symbol Condition Min. Typ. Max. Unit Total-stop state (*10) µA Sleep state (*10) µA...
ML7065-033 User’s Manual Chapter 8 Electrical Characteristics 8.4 DC Characteristics (See “Power supply voltage condition (*9)”, Ta = –25 to +70°C) Parameter Symbol Condition Min. Typ. Max. Unit DDIO (*12)(*13)(*14)(*15) DDIO X0.75 “H” level input voltage (*16), plus when configured DDIO ...
ML7065-033 User’s Manual Chapter 8 Electrical Characteristics 8.5 RF Characteristics (See “Power supply voltage condition (*9)”, Ta = 25°C) Parameter Symbol Condition Min. Typ. Max. Unit Transmitter DDCORE DDRF –3 DDRFD DDANA =2.25 to 2.75 V Transmit power...
ML7065-033 User’s Manual Chapter 8 Electrical Characteristics 8.6 Synchronous Communication Interface (SCI) Characteristics (See “Power supply voltage condition (*9)”, Ta = –25 to +70°C) Parameter Symbol Condition Min. Typ. Max. Unit SCLK clock frequency Except when in 0.032 SCLK1 suspended state Power saving ...
Page 71
ML7065-033 User’s Manual Chapter 8 Electrical Characteristics When SCLK is a positive clock SCEN or F SCLK1 SCLK2 CESU WCKL SCLK WCKH DISU SDIN MSB IN BITS6-1 LSB IN CEDIS CKOD CEEN0 MSB OUT BITS6-1 LSB OUT (*24)
Page 72
ML7065-033 User’s Manual Chapter 8 Electrical Characteristics When SCLK is a negative clock SCEN or F SCLK1 SCLK2 WCKL SCLK WCKH CESU DISU SDIN MSB IN BITS6-1 LSB IN CKOD CEDIS CKOD CEEN1 (*24) MSB OUT BITS6-1 LSB OUT *24: Although the output value is not specified, MSB data is output in the case of input/output from the MSB indicated above.
ML7065-033 User’s Manual Chapter 8 Electrical Characteristics 8.7 Reset Characteristics (See “Power supply voltage condition (*9)”, Ta = –25 to +70°C) Parameter Symbol Condition Min. Typ. Max. Unit RESETN delay time (at power ON) Applies to all power supply pins.
ML7065-033 User’s Manual Chapter 8 Electrical Characteristics 8.8 Clock Output Characteristics (See ”Power supply voltage condition (*9)”, Ta = –25 to +70°C) Parameter Symbol Condition Min. Typ. Max. Unit At the time reset is CLKOUT clock output time released Note: All the timings are measured at the 20% and 80% levels of VDDIO.
The surface mount type packages are very susceptible to heat in reflow mounting and humidity absorbed in storage. Therefore, before you perform reflow mounting, contact Oki’s responsible sales person on the product name, package name, pin number, package code and desired mounting conditions (reflow method, temperature and times).
ML7065-033 User’s Manual Chapter 10 Appendixes 10.2 About Bypass Capacitors Bypass capacitors should be connected as close to an LSI pin as possible. When the operating power supply voltages are V = 3.0 V and V = 2.5 V DDIO...
ML7065-033 User’s Manual Revision History Revision History Page Document No. Date Description Previous Current Edition Edition FEUL7065_033-01 Sep. 15, 2005 – – Final edition 1...