Home

ML7105 User`s Manual

image

Contents

1. When using the ML7105 in HCI Mode fix the WAKEUP pin to Low 3 2 3 RAM Mode In the RAM Mode the connection to the host is not necessary 3 3 SPI Interface Specifications Table 1 shows the specifications of the SPI interface used in the BACI Mode Table 1 SPI Interface Specifications Parameter Specification Typ 32 768KHz Bitrate Max 1 625MHz MSB First arl mode Positive Edge Data size 8 bits Chip select Low Active FEUL7105 02 12 LAPIS Semiconductor Co Ltd 3 4 UART Interface Specifications Table 2 shows the specifications of the UART interface used in the HCI Mode Table 2 UART Interface Specifications Parameter Specification Baud rate 57600bps Data size 8 bits Parity bit No parity Stop bit 1 stop bit Flow control No 3 5 12C Interface Specifications Table 3 shows the specifications of the I2C interface for connecting an EEPROM Table 3 12C Interface Specifications Parameter Specification Master Slave Master Data rate 220kHz Address bit 7 bit Data bit 8 bit Protocol None 3 6 Low power Clock The Low power clock LPCLK is used in the operation at low power consumption Normally always supply a 3 3 V clock 32 768 KH2z to the LPCLKIN pin Table 4 shows the relationship between the operation mode and the necessity of LPCLK supply Table 4 Necessity of LPCLK Supply for Each Operation Mode ML7105 User s Ma
2. Restore Normal Operation Can Shutdown Yes No Wakeup Pin High Yes Store amp Retention Status Wakeup ML7105 User s Manual Download User Application to CODE_RAM Call Reset Handler LAPIS Semiconductor Co Utd 3 Host Interface Specifications 3 1 General Description ML7105 has the following two types of host interfaces SPI interface BACI Mode ML7105 User s Manual An interface to use the SPI SLAVE of ML7105 By controlling this interface the host system can exchange commands and events through the SPI UART interface HCI Mode An interface to use the UART of ML7105 By controlling this interface the host system can exchange commands and events through the UART 3 2 Connection to Host 3 2 1 BACI Mode The connection to the host consists of the SPI SLAVE interface and three GPIOs The example below shows the configuration when connecting to the host using the SPI SLAVE HOST CPU Application Processor U8 GPIO Input GPIO Output GPIO Input RF ACTIVE WAKEUP IRQ l4 4 GPIOO RF ACTIVE Output GPIO1 WAKEUP Input GPIO2 IRQ Output ML7105 SPICLK Bluetooth LE LSI Input SPIDIN Input SPIDOUT Output SPIXCS Input SCK Output SOUT Output SIN Input GPIO Output The three GPIOs serve the following functions FEUL7105 02
3. defined in Bluetooth Specification Volume 2 Part D Event s generated When the Write EEPROM command has completed a Command Complete event will be generated Common usage FEUL7105 02 43 LAPIS Semiconductor Co Ltd ML7105 User s Manual A 1 7 Erase EEPROM Data Command OCF Command parameters Return parameters HCl VENDOR EEPROM 0x0122 eeprom address Status _ERASE Length Default_data Description This command will erase the specified length Length of EEPROM area with the default data Default Data from the specified EEPROM address eeprom_address Enable I2C commands to be issued before using this command Command parameters eeprom_address Size 4 Octets Value Parameter Description OxXXXXXXXX Valid EEPROM address For ML7105 the valid values are 0x00000000 0x00001FFF Length Size 1 Octet Value Parameter Description 0x01 0x18 Length of data to be erased 1 24 Default_Data Size 1 Octet Value Parameter Description OxXX Default data to be written to the specified EEPROM address area Length Return Parameters Status Size 1 Octet Value Parameter Description 0x00 0xFF Result 0x00 represents success Any other Value represents Error Codes defined in Bluetooth Specification Volume 2 Part D Event s generated When the Erase EEPROM command has completed a Command C
4. ccccccccccesssececeessececsesececnesseeecsesseeeceessaeeeceesseeeesesaeeeesesseeeenesseeeensgas 18 5 3 EERROM ACCESS m M MR 20 5 3 1 EEPROM Access and Power Supply cccccssccccesssececeessececsesececeeseeecsesaeeecnesaseeeesesseeecsesseeeceesaeeeenesaeeeeneaas 20 5 3 2 EEPROM Read Write via BACTI ooooooccconoccncnonoccnononononnnnonnnnnnnnnnnncnnnonnncnnnnnnnnnnnnn near era near a AEE E rsen nnns 21 5 3 3 EEPROM Read Write via HCl enne EEE NEA NEEE EEES EEE E enne 21 o i Power Management 1e tret tete aet cech edet eee te etd eue ce od qe tete n ode ea e as is 22 DA Power Mode as iria ST 22 6 1 1 General Description 5 tette etie tee peeete tee desta ese etae pee etie ene beue e dba ve ad aba RCA adia Ta A 22 6 2 Power State Transition aeee tet ceto cete eorr ie e ep cd sehen ows e ete etes SAR sed 23 0 9 Makeup Factor noter the ts Io arabe Aan 24 6 4 Current Profile x td a pedet teet A cda dd eee A bans CES RM Rd eee outs 24 7 RF Test Mode amp Direct Test Mode cccocononoconnncnnonnnononnononocononnannonononoonncnnnann nn nono nnnnnnan nn nera ncannnanan nn n assesses nnns 25 TOVE EW A A He tec re Po e eed Ur HE e Poe PD Re Poe RE eed destinations 25 FEUL7105 02 iv LAPIS Semiconductor Co Ltd ML7105 User s Manual 7 2 Procedure Using BACI SPI BACI COMMANd ccccon
5. to store programs and 16KB RAM DATA RAM to store data e 12KB RAM CODE RAM to store user programs e Internal baseband controller conforming to Bluetooth LE single mode e UART for Bluetooth Host Controller Interface e SPI SLAVE for Custom Host Controller Interface e EEPROM or DC Master amp Slave for Custom Host Controller Interface GPIO ports shared external pins e System Clock Timer and External Low Power Clock Timer included e Low power consumption mode e Power supply voltage 1 6V to 3 6V Operating temperature 20 C to 70 C e Supply current Deep sleep state 0 7u A Typ Low Power Clock external input Idle state 3 0mA Typ At transmission 9mA Typ At reception 9mA Typ e Package 32 pin WQFN P WQEN32 0505 0 50 A63 Lead Free package conforming to RoHS FEUL7105 02 LAPIS Semiconductor Co Ltd ML7105 User s Manual 1 2 Block Diagram ML7105 po IAN UART TXD UART RXD I2C_SCL I2C SDA SPIDIN Bluetooth LE SPIDOUT Controller SPIXCS SPICLK GPIOO GPIO1 GPIO2 GPIO3 RESETB ay Se oe ery pee ee RO SP Soe Sire E EFUSE REGOUT TMODE LPCLKIN 5 LPCLKBUS VDDIO 5 VDDCORE FEUL7105 02 LAPIS Semiconductor Co Ltd ML7105 User s Manual 1 3 Pin Layout 32 pin WQFN C SCL T RXD T TXD Lye UAR UAR S SPICLK e SPIXCS e SPIDOUT _ SPIDIN N A N N N A I2C SDA 25 GPIOO 26 GPIO1 27 GPIO2 28 GPIO3 29 S Ao Y 9
6. RF ACTIVE WAKEUP IRQ Indicates that Bluetooth communication is being made large current consumption At return to the IDLE state from the power down or Deep Sleep state rush current occurs At return from Deep Sleep by the internal timer this pin notifies the rush current At power on or at return from Deep Sleep by the WAKEUP pin this pin does not notify the rush current After power on if an EEPROM is connected the AUTO calibration is executed During the execution RF ACTIVE turns to High On the other hand if no EEPROM is connected the AUTO calibration is not executed Therefore RF ACTIVE does not turn to High This signal indicates the REQUEST or the READY state from the host to ML7105 When starting the SPI communication REQUEST control this pin as Low This signal indicates the REQUEST or READY state from ML7105 to the host When ML7105 transitions to the READY state for the REQUEST from the host ML7105 toggles this pin to Low The REQUEST from ML7105 is also notified by toggling this pin to Low LAPIS Semiconductor Co Ltd ML7105 User s Manual Each pin behaves as follows WAKEUP Default High REQUEST READY IRQ Default High REQUEST DATA Transfer i DATA Transfer HOST ML7105 i ML7105 HOST SPIXCS Default High E 7 The normal state of the RF ACTIVE pin is Low The normal states of the WAKEUP IRQ and SPIXCS pins are High The SPI communication is perfo
7. RW RAW RW RW Address 0x00 Initial Value Undefined Note Do not change the initial value Description of Bits Field bit POWER CONT2 15 8 Description Specify the transmit power Write the value read from BIT15 8 FUSE7 of RF Register 2 31 FUSE76 For details refer to 7 RF Test Mode amp Direct Test Mode 10 2 2 RF Register 5 Control 15 14 13 12 11 10 9 8 7 6 5 4 3 2 RF x BPKTCTL _ A _ A A _ E Register5 Initial Value O 0 1 0 0 0 0 1 0 0 0 1 0 0 1 0 l RW RW RW RW RW RW RW RW RW RW RAW RW RAN RW RW RW Access Address 0x05 Initial Value 0x2112 Note Do not change the initial value Description of Bits Field bit BPKTCTL 11 8 Description Set 0x07 to activate the continuous transmission state in the RF Test Mode FEUL7105 02 33 LAPIS Semiconductor Co Ltd 10 2 3 RF Register 2 31 FUSE76 ML7105 User s Manual 15 14 13 12 11 10 9 8 6 5 2 1 0 RF FUSE7 Register2 31 Initial Value l Access R R R R R R R R R R R R R Address 0x3F Initial Value Undefined Note Don t care Description of Bits Field bit Description FUSE7 15 8 The read value of Fuse FEUL7105 02 34 LAPIS Semiconductor Co Ltd 10 3 Calibration Related Registers This section descr
8. or devices such as audio visual equipment office automation equipment communication devices electronic appliances and amusement devices The Products specified in this document are not designed to be radiation tolerant While LAPIS Semiconductor always makes efforts to enhance the quality and reliability of its Products a Product may fail or malfunction for a variety of reasons Please be sure to implement in your equipment using the Products safety measures to guard against the possibility of physical injury fire or any other damage caused in the event of the failure of any Product such as derating redundancy fire control and fail safe designs LAPIS Semiconductor shall bear no responsibility whatsoever for your use of any Product outside of the prescribed scope or not in accordance with the instruction manual The Products are not designed or manufactured to be used with any equipment device or system which requires an extremely high level of reliability the failure or malfunction of which may result in a direct threat to human life or create a risk of human injury such as a medical instrument transportation equipment aerospace machinery nuclear reactor controller fuel controller or other safety device LAPIS Semiconductor shall bear no responsibility in any way for use of any of the Products for the above special purposes If a Product is intended to be used for any such special purpose please contact a ROHM sales representative before
9. purchasing If you intend to export or ship overseas any Product or technology specified herein that may be controlled under the Foreign Exchange and the Foreign Trade Law you will be required to obtain a license or permit under the Law Copyright 2013 2014 LAPIS Semiconductor Co Ltd LAPIS Semiconductor Co Ltd 2 4 8 Shinyokohama Kouhoku ku Yokohama 222 8575 Japan http www lapis semi com en FEUL7105 02 1 LAPIS Semiconductor Co Ltd ML7105 User s Manual Preface This user s manual describes the operation and control of ML7105 a 2 4 GHz band radio communication LSI conforming to Bluetooth Low Energy The following related manuals are available and should be referenced as needed ML7105 XXX Datasheet Bluetooth Application Controller Interface BACI Command Manual Application Developer s Guide for ML7105 ML7105 XXX Hardware Design Manual Bluetooth is a registered trademark of Bluetooth SIG Inc All other company and product names are the trademarks or registered trademarks of the respective companies FEUL7105 02 ii LAPIS Semiconductor Classification Numeric value Address 9 Unit O Term Notation Oxnn Obnnnn Oxnnnn nnnn word W byte B Mega M Kilo K uppercase Kilo k lowercase Milli m Micro Nano n Second s lowercase H level L level O Register description Read write attribute R indicates read enabled W indicates write enabled MSB Most
10. returns 0x3 EEPROM_PIN_NOT_ENABLED then issue Enable_12C command and Get EEPROM Status again to confirm the actual status 0x3 EEPROM_NOT_CONNECTED Command parameters Return Parameters Status Size 1 Octet Value Parameter Description 0x00 Get EEPROM Status Command succeeded 0x01 0xFF Get EEPROM Status failed See Error Codes defined in Bluetooth Specification Volume 2 Part D EEPROM Status Size 1 Octet Value Parameter Description 0x00 0x3 0x0 gt EEPROM ENABLED VALID 0x1 gt EEPROM_ENABLED_NOT_VALID 0x2 gt EEPROM_NOT_ENABLED 0x3 gt EEPROM PIN NOT ENABLED EEPROM NOT CONNECTED Event s generated When the Get EEPROM Status command has completed a Command Complete event will be generated Common usage FEUL7105 02 53 LAPIS Semiconductor Co Ltd ML7105 User s Manual A 1 18 Config TX Power Command OCF Command parameters Return parameters HCl VENDOR CONFIG 0x012D type Status TX POWER ix power Description This command used to set the transmit power level used for LE advertising connection channel packets Command parameters type Size 1 Octets Value Parameter Description OxXX Advertising Pkts Tx Power 0x0 Connection Pkts Tx Power 0x1 ix power Size 2 Octet Value Parameter Description OxXXXX Tx Power Register Value Return Parameters Status Size 1 Octet Value Parameter Descripti
11. to ML7105 Step 4 2 HOST CPU issues the DTM command to ML7105 and starts the Direct Test Mode TX ML7105 repeats transmissions at a single channel Transmission test All channel search Step 4 1 HOST CPU issues the Test command Parameter 0x01 Test Mode Enabled to ML7105 Step 4 2 HOST CPU issues the RF Set Tx Hop command Parameter 0x01 Enable Hop for all channels to ML7105 Step 4 3 HOST CPU issues the DTM command to ML7105 and starts the Direct Test Mode TX ML7105 repeats transmissions for all channels incrementing the channel Continuous transmission test Step 4 0 HOST CPU issues the RF Set Tx HOP command Hop 0x00 to ML7105 Step 4 1 HOST CPU issues the Read RF Reg command to read RF Register 2 31 Address Ox3F The value of D 15 8 in this read data is the setting value for D 15 8 of RF Register 0 Address 0x00 described in the next section In this example the case where the read result is 0x00 0x00 0x30 0x is used Step 4 2 HOST CPU issues the Write RF Reg command to set the following to the RF register RF RegisterO Address 0x00 Write Data 0x3005 RF Register5 Address 0x05 Write Data 0x2712 Step 4 3 ML7105 goes to the continuous transmission state Step 4 4 At completion HOST CPU issues the Write RF Reg command to set the following to the RF register RF Register5 Address 0x05 Write Data 0x2112 Step 4 5 HOST CPU issues the RESET command or DTM command LE Test End Command Continuous re
12. 00 Address 0x10 Address 0x20 Address 0x30 Address 0x40 Address 0x50 Address 0x60 Address 0x70 40 71 73 27 27 73 00 00 00 ff ff ff ff ff OO ff OO 18 LAPIS Semiconductor Co Ltd The following are parameters you can change arbitrarily ML7105 User s Manual EEPROM Configuration Default Address Address Value Variable Name Note Hex Hex Hex 0x04 0x01 0x5A eeprom valid code Above mentioned EEPROM VALID CODE Normally do not change the value 0x5A 0x08 0x04 0x6A compid Company ID 0x01 79 0x09 0x05 0x00 0x0A 0x06 0x00 adv ch tx power gain Select the transmitter power setting of the Advertising channel 0x00 0 dBm 0x01 6 dBm 0x02 12 dBm 0x03 18 dBm 0x0B 0x07 0x00 conn_ch_tx_power_gain Select the transmitter power setting of the Connection channel 0x00 0 dBm 0x01 6 dBm 0x02 12 dBm 0x03 18 dBm 0x1C 0x18 0x40 max_effective_ci When Slave Latency is set the Connection 0x1D 0x19 0x06 interval is limited to the maximum of 2 seconds 0x0640 Note Changing the setting of this parameter is prohibited 0x20 0x1C Ox0A wakeup config RF ACTIVE period 7 5 0x0 Set the timing when the GPIOO RF ACTIVE pin 4 2 RF ACTIVE period is toggled to High 1 0 0x2 N 1 5 625usec n Default 2 0x28 0x24 OxDO public_addr Set the Bluetooth Public Address OxD1 0x2D 0x29 0xD2 0xD2 OxD1 OxDO 0x30 0x2C OxD1 satic addr Set the Static Random A
13. 00 0xFF Result 0x00 represents success Any other Value represents Error Codes defined in Bluetooth Specification Volume 2 Part D Data Size lt Length gt Octets Value Parameter Description OxXX Length of data read from specified EEPROM address lt Length gt Event s generated When the Read EEPROM command has completed a Command Complete event will be generated Common usage FEUL7105 02 42 LAPIS Semiconductor Co Ltd ML7105 User s Manual A 1 6 Write EEPROM Data Command OCF Command parameters Return parameters HCl VENDOR EEPROM 0x0121 eeprom address Status WRITE Length Data Description This command will write the specified length of data to the specified EEPROM address Enable I2C commands to be issued before using this command Command parameters eeprom address Size 4 Octets Value Parameter Description OxXXXXXXXX Valid EEPROM address For ML7105 the valid values are 0x00000000 0x00001FFF Length Size 1 Octet Value Parameter Description 0x01 0x18 Length of data to be written 1 24 Data Size Length Octets Value Parameter Description OxXX Length of data to be written to the specified EEPROM address Length Return Parameters Status Size 1 Octet Value Parameter Description 0x00 0xFF Result 0x00 represents success Any other Value represents Error Codes
14. 6 2 94 Debug MOGe O Elea A a A tans hha eae inate aaa aa eee 6 2 4 Boot Sequera A is T 3 Host Interface Specificato cri di pet Ee ea de a cit 9 3 1 General Descrip iii A A AA RA Ri 9 32 Connection to MOS dai da 9 3 21 BACIMOde ui a ii A A A A A a E Read 6 9 3212 HCL MOde comi iS ibas 12 3 23 RAM ModE a A oy ut eden sy eite dete ERR Sena ma 12 3 9 SPI Interface SpecificatiOris 5 e RR A AER ER NERO es A eee EET LUST 12 3 4 ART Interface Specificalioris aba 13 3 5120 Interface SpecifiCaliOris io eee ra treni aae dd ERES Ce eV Te e UR RAM ed 13 3 6 Low power Clock ets D e eii e ded eeu a fete A eee e dela a Wee 13 4 BAGLIInterface metier tua htt ice etel eR ite ede ce E e X eed ite ANT RE Desa aa RM edo ts 14 5 EEPROM Control FUNCIONA etoile A eate d e ee Yeu Ee e eee pete es 15 5 TL EEPROM SUPPO ara etcetera eee eth ee ee e dee dn id coh EA ad rala cu RE Rd cde E ee ddnde da M A 15 5 1 1 User SCONANOS is tn ette dete I eae e Rd ae A de o Pe epe Ra Exc e ee ae et ee a e ux e 15 5 1 1 1 EEPROM IS CONNECTED 8 EEPROM IS VALID ooccccccnnccconcnoncccnnnononononnnccnnnnonnnonnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnncninnnnns 15 5 1 1 2 EEPROM IS NOT CON NE OTE D e t a a aT ea a Eo a p A oe eap a a O A aea i e dee aa e ae E aaa ideas 16 5 2 EEPROM Content Zoila al dit A a ale care 17 521 EEPROM Areas eite lianas 17 5 2 2 EEPROM CONIATO A wis a eee a id dana il db dad dd a a iaa ida 17 5 2 3 EEPROM Configuration Parameters
15. During this transition to the Deep Sleep mode no communication request from HOST is accepted Therefore insert a WAIT of 3 ms or more after toggling the WAKEUP signal to High before toggling it to Low so that a communication request from HOST can be accepted If there is no IRQ signal response to the communication request from HOST perform the retry process toggle the WAKEUP signal back to High and then toggle it to Low again WAIT gt 3ms WAKEUP Default High READY REQUEST IRQ Default High REQUEST j READY DATA Transfer DATA Transfer ML7105 HOST HOST ML7105 SP HEIL TI SPIXCS Default High MITIN ee Deep Sleep an Active ldle Deep Sleep Y Active ldle FEUL7105 02 10 LAPIS Semiconductor Co Ltd ML7105 User s Manual WAKEUP Default High READY READY IRQ DefauttHigh REQUEST REQUEST 1st DATA Transfer 2nd DATA Transfer ML7105 HOST ML7105 HOST SPI i FF SPIXCS Default High Communication request from ML7105 when transmitting two BACI packets continuously 1 ML7105 toggles the IRQ pin to Low 2 When HOST detects IRQ and goes to the READY state HOST toggles the WAKEUP pin to Low 3 HOST starts the SPI communication During the communication HOST toggles the SPIXCS pin to Low ML7105 outputs the dummy data OxFF and then starts the transmission of the BACI packet AONE da When HOST comple
16. E pin outputs High during the period of RF communication or calibration where an increased current is required The RF ACTIVE pin outputs High also at return from Deep Sleep by the internal timer since the current increases due to the rush current The RF ACTIVE pin outputs High during the T rf act period before the current increases The value of T rf act varies depending on the cause to be notified When RF ACTIVE notifies the current increase due to RF communication T rf act is 625 usec 2 about 1 2 msec or 625 usec 3 about 1 8 msec On the other hand T rf act is about 1 msec at return from Deep Sleep The RF ACTIVE pin is toggled to Low when the RF communication is completed or at transition to Deep Sleep While the RF communication continues the RF ACTIVE pin always outputs High At a return from power down or at a return to IDLE from Deep Sleep by the WAKEUP pin the current increases due to the rush current just like the case at the return from Deep Sleep by the internal timer However the RF ACTIVE pin does not output High in this case 3 2 2 HCI Mode The connection to the host consists of the UART interface The example below shows the configuration when connecting to the host using the UART 4GPIOO RF ACTIVE Output GPIO1 WAKEUP Fix Low Input HOST_CPU __ GPIO2 IRQ ML7105 Application Processor ua Bluetooth LE LSI Us TXD UART RXD Output Input RXD UART TXD Input Output
17. EPROM or Write EEPROM These commands can be executed repeatedly Use an Enable I2C command Parameter 0x00 to disable the I2C interface Turn off the power supply of the EEPROM device 5 3 3 EEPROM Read Write via HCI The procedure for the Read Write access to the EEPROM data using the HCI Vendor commands is described below It is assumed that the power of the EEPROM device is turned off during the period when no access to the EEPROM is made Step 1 Step 2 Step 3 Step 4 Step 5 Step 6 Supply the power to the EEPROM device Use the HCI VENDOR ENABLE I2C command Parameter 0x01 to enable the I2C interface Use the HCI VENDOR GET EEPROM STATUS command to check the EEPROM status 0x0 EEPROM ENABLED VALID is returned This command is not always required to be issued Execute HCI VENDOR EEPROM READ or HCI VENDOR EEPROM WRITE These commands can be executed repeatedly Use the HCI VENDOR ENABLE I2C command Parameter 0x00 to disable the I2C interface Turn off the power supply of the EEPROM device FEUL7105 02 21 LAPIS Semiconductor Co Utd ML7105 User s Manual 6 Power Management 6 1 Power Mode 6 1 1 General Description ML7105 has the following operation modes Active mode The Active Mode is a mode used during a period of connection with radio communication during transmission and reception Idle mode ML7105 transits to this mode after a short communication interval which is equal to or less than 15m
18. N 0 When a value is written to this bit ML7105 transits to the Idle mode while the state of PLL is determined by the written value 0 PLL OFF 1 PLL ON For how to use this register refer to 8 1 Calibration Method FEUL7105 02 35 LAPIS Semiconductor Co Ltd ML7105 User s Manual 10 4 Temperature Sensor Battery Monitor Related Registers This section describes the temperature sensor battery monitor related registers For how to use these registers refer to 8 2 Temperature Sensor and 8 3 Battery Monitor 10 4 1 RF Register 7 BlockOn2 15 14 13 12 1 40 9 8 7 6 5 4 3 2 i 0 RF IBIAS GPAD Register7 ON CON Initial Value O 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 l Access RW RW RW RW RW RW RW RW RAN RW RW RW RW RAN RW RW Address 0x07 Initial Value 0x0000 Note Do not change the initial value Description of Bits Field bit Description IBIASON 13 Set this bit to 1 to use the temperature sensor and battery monitor GPADCON 7 Set this bit to 1 to use the temperature sensor and battery monitor 10 4 2 RF Register 17 GPADC CTRL 15 514 13 12 11 10 9 8 7 6 5 4 3 2 i 0 RF TSEN GPAD Register17 SON ADC CHSEL ICSTA GPADC_OUT T Initial Value 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 Access RW RW RW RW RW R R R R R R R R R R R Address 0x11 Initial Value 0x0400 Note Do not change t
19. ROHM GROUP LAPIS SEMICONDUCTOR FEUL7105 02 ML7105 User s Manual Bluetooth Low Energy Issue Date Nov 17 2014 LAPIS Semiconductor Co Utd ML7105 User s Manual NOTES No copying or reproduction of this document in part or in whole is permitted without the consent of LAPIS Semiconductor Co Ltd The content specified herein is subject to change for improvement without notice Examples of application circuits circuit constants and any other information contained herein illustrate the standard usage and operations of the Products The peripheral conditions must be taken into account when designing circuits for mass production Great care was taken in ensuring the accuracy of the information specified in this document However should you incur any damage arising from any inaccuracy or misprint of such information LAPIS Semiconductor shall bear no responsibility for such damage The technical information specified herein is intended only to show the typical functions of and examples of application circuits for the Products LAPIS Semiconductor does not grant you explicitly or implicitly any license to use or exercise intellectual property or other rights held by LAPIS Semiconductor and other parties LAPIS Semiconductor shall bear no responsibility whatsoever for any dispute arising from the use of such technical information The Products specified in this document are intended to be used with general use electronic equipment
20. Semiconductor Co Ltd OxXXXX Valid value for the Baseband register Return Parameters Status Size 1 Octet Value Parameter Description 0x00 Write Baseband Register Command succeeded 0x01 0xFF Write Baseband Register command failed See Error Codes defined in Bluetooth Specification Volume 2 Part D Event s generated When the Write Baseband Register command has completed a Command Complete event will be generated Common usage FEUL7105 02 ML7105 User s Manual 38 LAPIS Semiconductor Co Ltd ML7105 User s Manual A 1 2 Read Baseband Register Command OCF Command parameters Return parameters HCl VENDOR READ B 0x0067 bb address Status reg value B REGISTER Description This command will read the value reg value from the specified Baseband Register address bb address Command parameters bb address Size 2 Octet Value Parameter Description OxXX Valid Baseband address Return Parameters Status Size 1 Octet Value Parameter Description 0x00 Read Baseband Register Command succeeded 0x01 0xFF Read Baseband Register command failed See Error Codes defined in Bluetooth Specification Volume 2 Part D Heg value Size 2 Octets Value Parameter Description OxXXXX Register value read from Baseband register Event s generated When the Read Baseband Register command has complete
21. T gt v Voltage Temperature Measurement Measure the voltage and temperature at fixed intervals Y Voltage Temperature Measurement 2 Voltage Change O 9 2 1 2 V or Temperature Change D 2 25 C Establishing Connection Y Disconnection RF Set Tx HOP ILL ad HOP 0x00 Transmit BACI Command Y Calibration Setup AUTO_CAL_EN 1 During this period the transition to v Deep Sleep is not WAIT 1 second or more performed gt Perform Calibration AUTO_CAL_EN 1 v WAIT 1 second or more v NEM NEN Reset Transmit BACI Command Figure 4 Control Flow of Temperature Voltage Measurement and Calibration in BACI Mode FEUL7105 02 30 LAPIS Semiconductor Co Ltd ML7105 User s Manual 8 2 Temperature Sensor Follow the procedure below to use the temperature sensor function Step O HOST CPU issues the RF Set Tx HOP command Hop 0x00 Step 1 HOST CPU writes 0x9000 to RF Register 17 Address 0x11 to turn ON the temperature sensor Step 2 HOST CPU writes 0x2080 to RF Register 7 Address 0x07 to turn ON GPADC Step 3 HOST CPU writes 0x9000 to RF Register 17 Address 0x11 to convert the GPADC temperature sensor output Step 4 Wait for 20 usec or more Step 5 HOST CPU reads RF Register 17 Address 0x11 Bit 10 GPADCSTAT is set to 1 indicating the complet
22. VooBar 16 VDDCORE 15 EFUSE TMODE 730 11 LPCLKIN RESETB 31 10 LPCLKBUS 5 x nH 6 o O gt a a gt SWOUT E m SWRX PLLLPF EI Al REGOUT mel o TOP VIEW NOTICE GNDPKG shown in the center of the chip is located at the back surface of the chip name Package GND FEUL7105 02 3 LAPIS Semiconductor Co Ltd ML7105 User s Manual 1 4 List of Pins Pin Symbol 1 0 ANA DIG IO TYPE Description Number a m m n ANA DRO aeneratpurpose analog input 2 voo PWR voc PowesumyforRFbek i2V SWR e vooveo Pw 7 Puer OUT ANA Do jutcpHte O O Oo RmEGOUT OUT ANA DRO Regulatorouiput vooear PWR voc Powersupply rom Battery VDDIO 10 LiPOLKBUS OUT ANA DRO owsowrdokouput n LPOLKN NOUT ANA DIO Low power clock pu o 12 REGC OUT ANA DIRIO Decoupling capacitor pin for internal regulator 13 xop mour ANA DIRIO Positive inputoutput for Xtal oscilator biok 14 XON INOUT ANA DRO Negative input output for Xtal oscillator block 15 eruse bi Dimo PowesupytorEFuse Noma GND 16 vopcore PWR voc Powersupplfordigitalcore 12V Paz seon mn DG omo IN SPISlaveDatainput SPIDOUT INOUT E SPI Slave Data output z veo Pwa voc mwersspytrdglO CMOS BiDIR 3 Two ww DG ovos EsMOD W
23. a stored in the EEPROM consists of a header and parameters The basic configuration of Configuration Area is described below Address 0x00 V 7C 00 00 00 5A 50 1B 00 6A 00 A N Configuration header 4Byte Configuration parameters 124Byte Configuration header indicates the size of Configuration parameters In normal cases it is Ox7C 124 The Configuration parameters consists the setting parameters of Baseband and RF FEUL7105 02 17 LAPIS Semiconductor Co Ltd ML7105 User s Manual 5 2 3 EEPROM Configuration Parameters The default Configuration parameters are described below 1 When EEPROM is used Follow the procedure described in 5 1 1 1 EEPROM IS CONNECTED amp EEPROM IS VALID to set the following Configuration parameters to the Configuration Area of EEPROM Default Configuration Parameters for ML7105 XXX Ver4 02 When EEPROM is used EEPROM Address EEPROM Address EEPROM Address EEPROM Address EEPROM Address EEPROM Address EEPROM Address EEPROM Address ff 00 ff 2 When EEPROM is not used Follow the procedure described in 5 1 1 2 EEPROM_IS_NOT_CONNECTED to set the following Configuration parameters to the Configuration Area within ML7105 Default Configuration Parameters for ML7105 XXX Ver4 02 When EEPROM is not used 04 05 06 07 Configuration Configuration Configuration Configuration Configuration Configuration Configuration Configuration FEUL7105 02 Address 0x
24. adPlattorm Register sti td iii lid ici 46 AtA Wire PITO OREA A A eant 47 AtA ARE Set DelODP A tmn es eue eee E 48 A 1 13 Config Write Complete uses erc ence eene onera ne dado red eu ana RR nod A nod CR a mod CR ood CR nod dada a rod CR ono 49 AA T4 Read Contig Dalai Eeri emet eere A aree EC A RARE 50 AA TS Write Contig Dala c ciere edere ten ceret tae eate caseo el tan ede acces eese tage eerie edere da tad 51 ANA Enable on ett niam vet eee mean p HN TS 52 AX Get EEPROM SIalls 22 1d Lee a iden aede ae Deae etre ni dna da tee or ce amd etna e nde ln Ded eps end le 53 ALIS Conii LX POWER iicet ent fee nt cer res eaae endo t NA A teeta beca tene Faria fe eta eee ded Gea eus 54 PS ETO Wake AUTE ERN 55 REVISION HISTORY aieo eee tpe etg eese tt a eds tere ER ge d aeger aces ava aveo eene pert ede 56 FEUL7105 02 v LAPIS Semiconductor Co Utd ML7105 User s Manual 1 1 1 General Description ML7105 is a Bluetooth Low Energy hereafter LE LSI integrating RF Baseband microprocessor core and each peripherals which has Bluetooth LE compliant 2 4 GHz band radio communication capability ML7105 is suitable for use with clocks remote controllers PC peripherals etc which support Bluetooth LE Features e Bluetooth SIG Core Spec v4 0 compliant e Built in low power consumption RF block e Integrated general purpose processor Cortex MO which includes an interrupt controller and Sys Tick Timer e 64KB ROM CODE ROM
25. ake a transition to RF Test Mode is described in Table 5 Table 5 Pin Condition of RF Test Mode via BACI SPI Pin Name Condition Configuration note LPCLKIN o Input SPIDIN icon Hch SPIDOUT re OE SPIXCS CONG M onm SPICLK bs Connected to HOST CPU Not required UART TXD Open UART RXD a ES ROM I2C SCL d Ead l2C SDA dl GPIOO EEAO uius GPIO1 MAK E apni T Required IRQ Output The control procedure of the RF Test using BACI SPI is as follows Step 1 Set ML7105 to BACI Mode and supply the power Step 2 Release the ML7105 reset Step 3 When ML7105 completes the initialization ML7105 outputs a Start Up Event message to HOST_CPU Step 4 HOST_CPU issues the Test command Parameter 0x01 Test Mode Enabled to ML7105 Step 5 HOST_CPU issues the DTM command to ML7105 and starts the Direct Test Mode Step 6 HOST_CPU issues the Test command Parameter 0x00 Test Mode Disabled to ML7105 and completes the RF Test FEUL7105 02 25 LAPIS Semiconductor Co Ltd ML7105 User s Manual The control procedure of the technical conformance test using BACI SPI is as follows Step 1 Set ML7105 to BACI Mode and supply the power Step 2 Release the ML7105 reset Step 3 When ML7105 completes the initialization ML7105 outputs a Start Up Event message to HOST CPU Transmission test Single channel Step 4 1 HOST CPU issues the Test command Parameter 0x01 Test Mode Enabled
26. ception test Step 4 1 HOST CPU issues the Test command Parameter 0x01 Test Mode Enabled to ML7105 Step 4 2 HOST CPU issues the DTM command to ML7105 and starts the Direct Test Mode RX ML7105 continues receptions at a single channel Step 5 HOST CPU issues the Test command Parameter 0x00 Test Mode Disabled to ML7105 and completes the RF Test 7 3 Procedure Using HCI UART HCI Command amp HCI Vendor Command The pin handling to use HCI UART to make a transition to RF Test Mode is described in Table 6 Table 6 Pin Condition of RF Test Mode via HCI UART Pin Name Condition Configuration Note LPCLKIN Dee M SPIDIN iso IDE ERIS ve Not required Low or High Input SPIXCS ae US SPICLK sas ee RD UART_TXD T ic Nos UART RXD Es BET BU lac SCL E ERE CE EUR FEUL7105 02 26 LAPIS Semiconductor Co Ltd ML7105 User s Manual l2C SDA Tc GPIOO o QUU GPIO1 Lo or righ Ug GPIO2 i ni The control procedure of the RF Test using HCI UART is as follows Step 1 Set ML7105 to HCI Mode and supply the power Step 2 Release the ML7105 reset Step 3 HOST CPU issues the LE Receiver Test or LE Transmitter Test command to ML7105 and starts the Direct Test Mode Step 4 HOST CPU issues the LE Test End command to ML7105 and completes the Direct Test Mode The control procedure of the technical conformance test using HCI UART is as follows Step 1 Set ML7105 to HCI Mod
27. ck the amount of change relative comparison relative to the reference voltage at a certain point of time for example immediately after the power on How to conduct a relative comparison In the ADC conversion code VDD BAT 373 decimal is equivalent to a change of about 1 2 V If there is a change of 1 2 V or more perform the calibration following the instructions in the section 8 1 2 FEUL7105 02 31 LAPIS Semiconductor Co Ltd 9 Transmit Power Control 9 1 How to Change Default Setting of Transmit Power ML7105 User s Manual The default transmit power can be changed by setting the Configuration parameters shown in the table below The transmit power can be set to one of four steps 0 6 12 and 18 dBm The initial value is 0 dBm EEPROM Address Hex Configuration Address Hex Default Value Hex Variable Name Note Ox0A 0x06 0x00 adv_ch_tx_power_gain Select the transmitter power setting of the Advertising channel 0x00 0 dBm 0x01 6 dBm 0x02 12 dBm 0x03 18 dBm Ox0B 0x07 0x00 conn ch tx power gain Select the transmitter power setting of the Connection channel 0x00 0 dBm 0x01 6 dBm 0x02 12 dBm 0x03 18 dBm 9 2 How to Dynamically Control Transmit Power The transmit power can be changed dynamically by using the Config TX Power command BACI Command or HCI Vendor Command The transmitter power can be set to one of four
28. d m mese ww DG CMOS IN Reetmet y a as IN ANA DIO Genmapuposeandogmput c ore GN GND Package ND For details of each pin refer to ML7105 XXX Datasheet FEUL7105 02 4 LAPIS Semiconductor Co Utd ML7105 User s Manual 2 Operation Mode 2 1 General Description ML7105 has the following four operation modes BACI Mode Application mode using the SPI SLAVE interface HCI Mode HCI Mode using the UART interface compliant with Bluetooth LE RAM Mode Function extension mode downloading a user program to internal memory Debug Mode Debug Mode to have access to I2C EEPROM write and read 2 2 Operation Mode Configuration When starting of ML7105 set the pin as specified in the table below depending on the operation mode X means that any pin state is acceptable The mode cannot be changed during operation Use reset when changing the mode To switch to the RAM Mode or Debug Mode use the configuration parameters Pin setting value UART RXD BACI Mode Low HCI Mode High RAM Mode X Debug Mode X 1 When using the LSI in HCI Mode fix the WAKEUP pin to LOW Operation Mode 2 3 Description of Operation Mode 2 3 1 BACI Mode The figure below shows the protocol stack configuration when ML7105 is set to the BACI Mode ML7105 can transmit receive various messages commands events data defined by Bluetooth Application Controller Interface BACI described la
29. d a Command Complete event will be generated Common usage FEUL7105 02 39 LAPIS Semiconductor Co Ltd ML7105 User s Manual A 1 3 Read Radio Register Command OCF Command parameters Return parameters HCl VENDOR RF RADI 0x0149 Radio reg address Status reg value O REG READ Description This command will read the value reg value from the specified Radio Register address Radio reg address Command parameters Radio reg address Size 1 Octet Value Parameter Description OxXX Valid Radio Register address offset Return Parameters Status Size 1 Octet Value Parameter Description 0x00 Read Radio Register Command succeeded 0x01 0xFF Read Radio Register command failed See Error Codes defined in Bluetooth Specification Volume 2 Part D Heg value Size 4 Octets Value Parameter Description OxXXXXXXXX Register value read from Radio register Event s generated When the Read Radio Register command has completed a Command Complete event will be generated Common usage FEUL7105 02 40 LAPIS Semiconductor Co Ltd ML7105 User s Manual A 1 4 Write Radio Register Command OCF Command parameters Return parameters HCl VENDOR RF RADI 0x014A Radio reg address Status O REG WRITE reg value Description This command will write the specified value reg value to the specified Radio Register address Radio r
30. ddress 0xD2 0x35 0x31 0xD3 0xD3 0xD2 OxD1 0x38 0x34 0x17 general flags 8bit RAM Mode 7 0x0 0x0 Disabled 6 0x0 0x1 Enabled 5 RAM_Mode BACI over UART 4 0x1 Function for test Set this bit to 0x0 for normal 3 BACI over UART use 2 0x1 Enable DSM 1 0 Enable DSM 0x0 0x1 Reserved 0x2 DSM for RAM Mode 0x3 DSM for BACI HCI Mode Note Set this bit to 0x2 in the RAM Mode or 0x3 in the other modes 0x4E 0x4A 0x39 general_variable Sleep clock accuracy 7 4 0x03 Set the Sleep Clock Accuracy based on the 3 0x1 accuracy of the Lowpower clock which is 2 0 Sleep clock supplied to ML7105 FEUL7105 02 19 LAPIS Semiconductor Co Ltd ML7105 User s Manual EEPROM Configuration Default Address Address Value Variable Name Note Hex Hex Hex accuracy 0x0 LPCLK lt 500ppm 0x1 LPCLK lt 250ppm Default 0x2 LPCLK lt 150ppm 0x3 LPCLK lt 100ppm 0x4 LPCLK lt 75ppm 0x5 LPCLK lt 50ppm 0x6 LPCLK lt 30ppm 0x7 LPCLK lt 20ppm 5 3 EEPROM Access 5 3 1 EEPROM Access and Power Supply The ML7105 start sequence and the power supply procedure to turn off the power of EEPROM are described below Step 1 Supply power to ML7105 and the EEPROM When the ML7105 reset is released ML7105 performs Read Access to the EEPROM device When starting the power supply to ML7105 always start the power supply to the EEPROM device Step 2 ML7105 completes th
31. des defined in Bluetooth Specification Volume 2 Part D Event s generated When the Write Platform Register command has completed a Command Complete event will be generated Common usage FEUL7105 02 47 LAPIS Semiconductor Co Ltd ML7105 User s Manual A 1 12 RF Set Tx HOP Command OCF Command parameters Return parameters HCI_VENDOR_RF_SET_ 0x0128 Hop Status TX_HOP Description This command enable disable Hop for all channels during DTM Test This command should be send before the start of DTM test Command parameters Hop Size 1 Octets Value Parameter Description Oxx Disable Hop for all channels 0x0 default Enable Hop for all channels 0x1 Return Parameters Status Size 1 Octet Value Parameter Description 0x00 RF Set TX HOP Command succeeded 0x01 0xFF RF Set TX HOP command failed See Error Codes defined in Bluetooth Specification Volume 2 Part D Event s generated When the RF Set TX HOP command has completed a Command Complete event will be generated Common usage FEUL7105 02 48 LAPIS Semiconductor Co Ltd A 1 13 Config Write Complete ML7105 User s Manual Command OCF Command parameters Return parameters HCI VENDOR CONFIG WRITE COMPLETE 0x0125 type Status Description This command will indicate the controller that the CONFIG write has been completed Th
32. e access to the EEPROM When ML7105 completes the access to the EEPROM and the initialization of it a Start Up Event message is output to HOST CPU if BACI is used Step 3 HOST CPU issues an Enable I2C command Parameter 0x00 to disable the I2C interface When the I2C interface is disabled ML7105 drives the I2C SCL and I2C SDA pins to Low Step 4 Turn off the power supply of the EEPROM device Step 5 After this follow the steps described in 5 3 2 EEPROM Read Write via BACI or 5 3 3 EEPROM Read Write via HCI to access to the EEPROM and supply the power to it ML7105 does not access to the EEPROM automatically except the time of starting mentioned above After the starting time ML7105 accesses to the EEPROM only when it is directed to do so by any BACI or HCI Vendor command FEUL7105 02 20 LAPIS Semiconductor Co Ltd ML7105 User s Manual 5 3 2 EEPROM Read Write via BACI The procedure for the Read Write access to the EEPROM data using the BACI commands is described below It is assumed that the power of the EEPROM device is turned off during the period when no access to the EEPROM is made Step 1 Step 2 Step 3 Step 4 Step 5 Step 6 Supply the power to the EEPROM device Use the Enable I2C command Parameter 0x01 to enable the I2C interface Use the GET EEPROM Status command to check the EEPROM status 0x0 EEPROM ENABLED VALID is returned This command is not always required to be issued Execute Read E
33. e and supply the power Step 2 Release the ML7105 reset Transmission test Single channel Step 3 HOST CPU issues the LE Transmitter Test command to ML7105 and starts the Direct Test Mode ML7105 repeats transmissions at a single channel Transmission test All channel search Step 3 1 HOST CPU issues the HCI VENDOR RF SET TX HOP command Parameter 0x01 Enable Hop for all channels to ML7105 Step 3 2 HOST CPU issues the LE Transmitter Test command to ML7105 and starts the Direct Test Mode ML7105 repeats transmissions for all channels incrementing the channel Continuous transmission test Step 3 1 HOST CPU issues the HCI VENDOR RF RADIO REG READ command to read RF Register 2 31 Address Ox3F The value of D 15 8 in this read data is the setting value for D 15 8 of RF Register 0 Address 0x00 described in the next section In this example the case where the read result is 0x00 0x00 0x30 Ox is used Step 3 2 HOST CPU issues the HCI VENDOR RF RADIO REG WRITE command to set the following to the RF register RF RegisterO Address 0x00 Write Data 0x3005 RF Register5 Address 0x05 Write Data 0x2712 Step 3 3 ML7105 goes to the continuous transmission state Step 3 3 At completion HOST CPU issues the HCI VENDOR RF RADIO REG WRITE command to set the following to the RF register RF Register5 Address 0x05 Write Data 0x2112 Continuous reception test Step 3 HOST CPU issues the LE Receiver Test command t
34. e controller will update the RETENTION RAM with the updated values Command parameters type Size 1 Octets Value Parameter Description Use EEPROM DATA 0x1 Enable_12C commands to be issued before using this command Oxx Use CONFIG DATA 0x0 default The config data will be updated followed by system reboot The EEPROM config data will be updated followed by system reboot As the system performs auto reboot there is no event generated for this command instead a Startup event will be generated in BACI Mode Event s generated No event generated in hci mode In BACI Mode startup event will be generated Common usage FEUL7105 02 49 LAPIS Semiconductor Co Ltd A 1 14 Read Config Data ML7105 User s Manual Command OCF Command parameters Return parameters HCl VENDOR CONFIG 0x0129 offset address Status READ Length Data Description This command will read the specified length of config data from the specified offset address Command parameters offset address Size 4 Octets Value Parameter Description OxXXXXXXXX Valid Config offset address For ML7105 the valid values are 0x00000000 0x0000XXX sizeof Config Length Size 1 Octet Value Parameter Description 0x01 0x18 Length of data to be read 1 24 Return Parameters Status Size 1 Octet Value Parameter Description 0x00 Read Config C
35. eg address Command parameters Radio reg address Size 1 Octet Value Parameter Description OxXX Valid Radio Register address offset Reg value Size 4 Octets Value Parameter Description OxXXXXXX Valid value for the Radio register Return Parameters Status Size 1 Octet Value Parameter Description 0x00 Write Radio Register Command succeeded 0x01 0xFF Write Radio Register command failed See Error Codes defined in Bluetooth Specification Volume 2 Part D Event s generated When the Write Radio Register command has completed a Command Complete event will be generated Common usage FEUL7105 02 41 LAPIS Semiconductor Co Ltd ML7105 User s Manual A 1 5 Read EEPROM Data Command OCF Command parameters Return parameters HCl VENDOR EEPROM 0x0120 eeprom address Status READ Length Data Description This command will read the specified length of data from the specified EEPROM address Enable I2C commands to be issued before using this command Command parameters eeprom address Size 4 Octets Value Parameter Description OxXXXXXXXX Valid EEPROM address For ML7105 the valid values are 0x00000000 0x00001FFF Length Size 1 Octet Value Parameter Description 0x01 0x18 Length of data to be read 1 24 Return Parameters Status Size 1 Octet Value Parameter Description 0x
36. er 5 Control 2 ida e ab ete b ee ea detest ee dla iaa 33 190 23 RF Register 2 31 FUSE76 ais sao iie oett DE SAD e So a e Ee aad taa ease ao ta Ica Des 34 10 3 Calibration Related RegiSterS ooooooocccconococcnononcnononononononononononn nono ener entere enters r enn nn seen tenes enter seen tenes en nns 35 10 3 1 RF R gister 2 18 GALEN STATE i itte iet tn d tern dee eet e ehe ed dr b thoes 35 10 3 2 RF Register 20 wrOffMode arenira atarra Een EEEE EE EEE TEER no nono nn nn EA T nennen nnns 35 10 4 Temperature Sensor Battery Monitor Related Registers esses enne enne enne 36 10 41 RF Register 7 ABlockONZ densa ertet eret A me A a ee clio 36 10 4 2 RF Register 17 GPADC OTRE ceii enne eene nnns ener aane ener nnns insere nr ense rene enne rennen nnns 36 APpend Dei EI E ES 37 AA HCI Vendor commands de iter is 37 AA Write Baseband Register er tte tete eee e by e dee e ee eer e dis 37 A 1 2 Read Baseband Register ccccccccsssssssececececsseesensenececeeeseesnnaeeeseeeeceseesneaececeeseeseesaeaececeeseneaaaaeceseeseneseaaeas 39 A33 Read Radio REIS ci A Ui AGE EI a tadas 40 ALIA Write Radio Registern nesini ses 41 Als Read EEPROM Dala visita lla ie il dl dae E da ERON O dae ssa dada 42 AAG Write EEPROM Dala escocia dae edo 0509 43 ATT Erase EEPROM Dala e eet tan tete teer ch fetch dE De dE AT Le 44 ACLO SHUTDOWNN io E T ee edes 45 Ae ra A A A ores testet in e o e a au ed dani 45 A10 Re
37. erates in the Active mode during the period of radio communication connection or during the application processing period Short Interval or Application Processing State ML7105 operates in the Idle mode during a short time period E 15msec of waiting for radio communication or during the simple application processing period Long Interval State ML7105 transits to the Deep Sleep mode during a long time period of waiting for radio communication or when no access is made by HOST for a certain time in a non communication period ML7105 operates only with the 32 768 KHz Low Power Clock from an external pin in Deep Sleep mode Note In this state the communication interval is counted by the internal timer enabling ML7105 to return from the Deep Sleep mode temporarily at the timer expiration at about 40 second interval When you want to keep the Deep Sleep state make a transition to the Sleep State FEUL7105 02 23 LAPIS Semiconductor Co Ltd ML7105 User s Manual Sleep State During the Sleep State the 26 MHz clock of RF is stopped and ML7105 waits for Wakeup while operating on the Low Power Clock Typ 32 768 KHz from an external pin When HOST CPU issues the Sleep command ML7105 goes to this state and waits until the Wakeup by HOST CPU Note In the HCI Mode the transition to the Long Interval State or Sleep State is not performed 6 3 Wakeup Factor The return from the Deep Sleep mode or the Application Sleep mode is perfor
38. eter Description OxXXXXXXXX Valid Platform Register address Return Parameters Status Size 1 Octet Value Parameter Description 0x00 Read Platform Register Command succeeded 0x01 0xFF Read Platform Register command failed See Error Codes defined in Bluetooth Specification Volume 2 Part D Reg value Size 4 Octets Value Parameter Description OxXXXXXXXX Register value read from Platform register Event s generated When the Read Platform Register command has completed a Command Complete event will be generated Common usage FEUL7105 02 46 LAPIS Semiconductor Co Ltd ML7105 User s Manual A 1 11 Write Platform Register Command OCF Command parameters Return parameters HCl VENDOR PLATFO 0x0127 platform reg address Status RM WRITE REG reg value Description This command will write the specified value reg value to the specified platform Register address platform reg address Command parameters platform reg adaress Size 4 Octet Value Parameter Description OxXX Valid Platform Register address Heg value Size 4 Octets Value Parameter Description OxXXXXXX Valid value for the Platform register Return Parameters Status Size 1 Octet Value Parameter Description 0x00 Write Platform Register Command succeeded Ox01 OxFF Write Platform Register command failed See Error Co
39. he initial value Note Bits O to 10 are read only When writing write 0 Description of Bits Field bit Description TSENSON 15 Temperature sensor ON OFF control 0 OFF 1 ON ADC_CHSEL 14 12 Select the channel targeted for the ADC conversion Settings other than the following are invalid 0x0 Initial value 0x1 Temperature sensor 0x3 Battery monitor GPADCSTAT 10 Read Only ADC status signal When this bit is set to 1 the value of GPADC OUT 9 0 is fixed GPADC OUT 9 0 Read Only ADC conversion result The value is valid when GPADCSTAT s FEUL7105 02 36 LAPIS Semiconductor Co Utd Appendix A 1 HCI Vendor commands ML7105 User s Manual This section contains the description of the vendor commands supported by the ML7105 Baseband Controller For all these commands the OGF is defined as Ox3F DO Command 0 HCI VENDOR WAKEUP A 1 1 Write Baseband Register Command OCF Command parameters Return parameters HCI VENDOR WRITE B 0x0066 B REGISTER bb address reg value Status Description This command will write the specified value reg value to the specified Baseband Register address bb address Command parameters t ts bb adaress Size 2 Octe Value Parameter Description OxXX Valid Baseband address Reg value Size 2 Octe Value Parameter Description FEUL7105 02 37 LAPIS
40. ibes registers that are related to calibration For how to use these registers refer to 8 1 Calibration Method 10 3 1 RF Register 2 18 CALEN STATE ML7105 User s Manual RF Register2 18 15 44 13 12 1 10 9 8 7 6 5 4 3 2 1 0 AUTO AA kk AA kk AA kk _ A A _ A _ _CAL EN 0 0 1 o 0o 0 0o 0 0 0 0 0 0 0 9 I Initial Value O Access RW RW R R Initial Value 0x1000 Note Do not change the initial value Note The bits 8 to 13 are read only When writing write 0 Address 0x32 Description of Bits R R R R RW RW RW RW RW RW RW RW Field bit Description AUTO_CAL_EN 0 When this bit is set to 1 the calibration is performed To perform the calibration write 0x0001 to this register After the calibration this bit is automatically cleared to 0 The calibration time is about 980 ms For how to use this register refer to 8 1 Calibration Method 10 3 2 RF Register 20 wrOffMode 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RF _ _ _ _ _ ak _ _ PLL_ Register20 EN 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Initial Value O Access RW RW RW RW RW RAN RW RW RW RW RW RW RAN RW RW RW Address 0x14 Initial Va lue 0x0000 Note Do not change the initial value Description of Bits Field bit Description PLL E
41. ined in Bluetooth Specification Volume 2 Part D Event s generated When the Write Config command has completed a Command Complete event will be generated Common usage FEUL7105 02 51 LAPIS Semiconductor Co Ltd ML7105 User s Manual A 1 16 Enable I2C Command OCF Command parameters Return parameters HCI VENDOR ENABLE 0x012B enable Status 12C Description This command will enable or disable 12C including the EEPROM PIN Note If EEPROM is not connected this command can not be used because I2C_SDA and I2C SCL may output low signal Command parameters enable Size 1 Octets Value Parameter Description OxXX 0x0 gt Disable 12C I2C SDA and I2C SCL pins becomes output low 0x1 gt Enable 12C Return Parameters Status Size 1 Octet Value Parameter Description 0x00 Enable I2C Command succeeded 0x01 0xFF Enable 12 command failed See Error Codes defined in Bluetooth Specification Volume 2 Part D Event s generated When the Enable I2C command has completed a Command Complete event will be generated Common usage FEUL7105 02 52 LAPIS Semiconductor Co Ltd ML7105 User s Manual A 1 17 Get EEPROM Status Command OCF Command parameters Return parameters HCI_VENDOR_GET_EE 0x012C Status PROM STATUS EEPROM Staus Description This command will get the EEPROM Status If the Get EEPROM Status
42. ion of GPADC conversion and the values of Bit 9 0 GPADC OUT are enabled Step 6 HOST CPU writes 0x0000 to RF Register 7 Address 0x07 to turn OFF GPADC Step 7 HOST CPU issues the DTM command LE Test End Command Note Use this temperature sensor function in order to check the amount of change relative comparison relative to the reference temperature at a certain point of time for example immediately after the power on How to conduct a relative comparison In the ADC conversion code temperature 66 decimal is equivalent to a change of about 25 C If there is a change of 25 C or more perform the calibration following the instructions in the section 8 1 2 8 3 Battery Monitor Follow the procedure below to use the battery monitor function Step O HOST CPU issues the RF Set Tx HOP command Hop 0x00 Step 1 HOST CPU writes 0x2080 to RF Register 7 Address 0x07 to turn ON GPADC Step 2 HOST CPU writes 0x3000 to RF Register 17 Address 0x11 to convert the GPADC battery monitor output Step 3 Wait for 20 usec or more Step 4 HOST CPU reads RF Register 17 Address 0x11 Bitl0 GPADCSTAT is set to 1 indicating the completion of GPADC conversion and the values of Bit 9 0 GPADC OUT are enabled Step 5 HOST CPU writes 0x0000 to RF Register 7 Address 0x07 to turn OFF GPADC Step 6 HOST CPU issues the DTM command LE Test End Command Note Use this battery monitor function in order to che
43. lowing configuration 120 EEPROM gt Parameters 1 When the Configuration parameters have been written Step 1 Power ON Hardware Reset Step 2 ML7105 detects EEPROM_IS_CONNECTED Step 3 ML7105 configures the I2C interface Step 4 ML7105 reads 1 byte for EEPROM VALID CODE from EEPROM Step5 ML7105 detects EEPROM IS CONNECTED EEPROM IS VALID Step 6 ML7105 configures the BACI interface Step 7 ML7105 reads Configuration parameters from EEPROM Step 8 ML7105 initializes by Configuration Parameters Step 9 ML7105 sends Start Up State 0x80 event message to HOST CPU via BACI State Ox80 indicates that Normal startup Step 10 ML7105 waits BACI Command HOST CPU BACI ML7105 2 When the Configuration parameters have not been written Step 1 Power ON Hardware Reset Step2 ML71053 detects EEPROM IS CONNECTED Step3 ML 7105 configures the I2C interface Step 4 ML7105 reads 1 byte for EEPROM VALID CODE from EEPROM Step 5 ML7105 detects EEPROM IS CONNECTED EEPROM IS NOT VALID Step 6 ML7105 configures the BACI interface Step 7 ML7105 sends Start Up State 0x82 event message to HOST CPU via BACI State 0x82 indicates that EEPROM is connected and the request for Get Configuration parameters Step 8 HOST CPU sends Enable I2C Parameter 0x01 Command Step 9 HOST CPU sends Write EEPROM Command to write the CONFIG parameter
44. med by Wakeup Factor After the detection of the Wakeup Factor of the Low state of the GPIOI WAKEUP pin RF starts a 26 MHz oscillation 6 4 Current Profile The following shows the state transition of operation current starting from the activation from the Deep Sleep mode through the completion of transmission reception and then returning to the Deep Sleep Mode using the case of BACI Mode as an example Current itx Irx Irfinit lidle Tdsm Trash Txo ide X Tboot Trfinit Tinit Trx Tifs Ttx Tdw Status Definition Tdsm Deep sleep period depend on connection interval Trash Spike from voltage regulator wake up Txo idle Start up time for Xtal oscillator block for systems clock 26MHz Tboot System is in booting operation Trfinit Initialize RF register Tinit Pre processing after deep sleep mode Trx Packet reception Tifs Time between RX to TX operation Ttx Packet transmission Tdwn Post processing before moving to deep sleep operation FEUL7105 02 24 LAPIS Semiconductor Co Ltd ML7105 User s Manual 7 RF Test Mode amp Direct Test Mode 7 1 Overview ML7105 transits to the RF Test Mode by execution of the BACI SPI or HCI UART command The RF Test Mode is assumed to be used for the following tests 1 RF Test conforming to Bluetooth Direct Test Mode 2 Technical conformance test in Japan 7 2 Procedure Using BACI SPI BACI Command The pin handling to use BACI SPI to m
45. ms Note Corrections of errors and change correction of expressions are not included FEUL7105 02 56
46. nual Operation mode Necessity of LPCLK supply BACI Mode LPCLK always must be supplied HCI Mode LPCLK does not need to be supplied FEUL7105 02 13 LAPIS Semiconductor Co Utd ML7105 User s Manual 4 BACI Interface In the BACI Mode using the SPI interface various messages commands events and data are exchanged through the BACI interface For details of the BACI interface refer to the document Bluetooth Application Controller Interface BACI Command Manual FEUL7105 02 14 LAPIS Semiconductor Co Utd ML7105 User s Manual 5 EEPROM Control Function 5 1 EEPROM Support At the time of starting ML7105 detects the existence of EEPROM device connected to the I2C interface If an EEPROM device is connected ML7105 further reads EEPROM VALID CODE written to the EEPROM device and detects whether or not to use the EEPROM as the storage memory of Configuration parameters 12C_SDA Pin EEPROM_VALID_CODE Location of Configuration Parameters CEPHONCI None HOST OPY NOT CONNECTED ML7105 receive them via SPI pi is Ox5A EEPROM CONNECTED EEPROM IS VALID ML7105 get them via 12C EE M OxXX HOST CPU CONNECTED EEPROM IS NOT VALID ML7105 receive them via SPI EEPROM VALID CODE is stored at address 0x04 in the EEPROM 5 1 1 User Scenarios 5 1 1 1 EEPROM IS CONNECTED amp EEPROM IS VALID If an EEPROM is used ML7105 operates in the fol
47. o Performing Auto Calibration egister 20 y Idle Mode Deep Sleep Mode PLL OFF State BACI Mode Write 0 to PLL EN RF Register 20 0x0000 Idle Mode Deep Sleep Mode PLL OFF State Figure 2 Calibration after Hardware Reset Release FEUL7105 02 28 LAPIS Semiconductor Co Ltd ML7105 User s Manual 8 1 2 Calibration at Temperature Voltage Change Unlike the calibration after power on if the temperature or voltage changes more than a certain amount make an access to RF Register 2 18 from HOST CPU and perform the calibration The following shows the control flow of temperature voltage measurement and calibration START lt v Voltage Temperature Measurement O id v Measure the voltage and WAIT 9 temperature at fixed intervals v Voltage Temperature Measurement Voltage Change 0 1 2 V or Temperature Change O Q 25 C Establishing Connection Y Disconnection No gt v Calibration Setup AUTO CAL EN 1 Y WAIT 1 second or more v Perform Calibration AUTO CAL EN 1 y WAIT 1 second or more y Write 0 to PLL EN RF Register 20 0x0000 Figure 3 Control Flow of Temperature Voltage Measurement and Calibration in HCI Mode FEUL7105 02 29 LAPIS Semiconductor Co Ltd ML7105 User s Manual STAR
48. o ML7105 and starts the Direct Test Mode ML7105 continues receptions at a single channel Step 4 HOST CPU issues the LE Test End command to ML7105 and completes the Direct Test Mode FEUL7105 02 27 LAPIS Semiconductor Co Utd ML7105 User s Manual 8 Calibration 8 1 Calibration Method 8 1 1 Calibration after Hardware Reset Release When EEPROM is connected When the hardware reset is released the calibration is automatically performed After the hardware reset release set a WAIT of 2 seconds or more as the wait time during the calibration In the HCI Mode write 0x0000 to RF Register 20 Address 0x14 to make ML7105 transit to the Idle Mode PLL OFF state In the BACI Mode if there is no access from HOST ML7105 automatically transits to the Deep Sleep mode Note that RF ACTIVE is kept High during the calibration When EEPROM is not connected When WRITE_CONFIG command is completed the calibration is automatically performed The subsequent procedure 1s the same as the one described above When EEPROM is connected Q When EEPROM is not connected Power ON Power ON v RESETB 0 gt 1 Hardware Reset Release Y RESETB Q gt 1 Hardware Reset Release v gt WAIT 2 seconds or more Y Write Config Performing Auto Calibration Write Config Data Write Config Complete No e NO WAIT 2 seconds or more CENE ie oe
49. occccconoconononononononnnononnnnnnncnononnncnnnnnnnccnnnnnnnnnnnnnnnnnnnnnnncnnnnnnnnnnns 25 7 3 Procedure Using HCI UART HCI Command 8 HCI Vendor Command ccoooocncccononcncnonononcnonononononnnnnonananononanos 26 82 Calibration hia A ERE ei 28 8 1 Calibration MethOd 2 2 3 eene eed etu e tote eoa diga todo cR ad CR eoa CR oda Lcd eod OR mta RR ou CRM eod e aod eaa 28 8 1 1 Calibration after Hardware Reset Release ooooccconococcconocononononnncconnnonononononononnnnnnnnnnnnnnnnnnn nn nnnnnn nn nnnnnncnnnnnnnss 28 8 1 2 Calibration at Temperature Voltage Change esses eee eene nennen ennt en nnne nnne seen 29 8 2 Temperat re SersOt oet ret rrr e OE Gau een n ee e ee ais 31 8 3 Battery Mont iaa 31 9 Transmit Rower Contoh 35 e A ert e Pe ree tv ee dier egrave ee PAR E ve Pete eb eed Pee eve Pas 32 9 1 How to Change Default Setting of Transmit POWer cooooocccnnoccncnonocnnonononnnonononnncnonnnnnnnnnnonnnc nono nn nnnonnnnnncnnnnnnnnnns 32 9 2 How to Dynamically Control Transmit Power ener enne ener ener nnne tnn enne nre 32 Uic Eain 33 10 1 GeneralDescripliOrizz nonae ec te rite ere eee tete cre avira Ce e da ee TAE don Ea 33 10 2 RE Test Related Reglsters e t d Fett rte re eet tor leet bode ptae rie e E er Pet aa she CANA shasta SUP und leads 33 10 2 1 RF Register O RF Charinel 53 iere ac 33 10 22 RF Regist
50. ommand succeeded 0x01 0xFF Read Config command failed See Error Codes defined in Bluetooth Specification Volume 2 Part D Data Size Length Octets Value Parameter Description OxXX Length of data read from specified Config offset address Length Event s generated When the Read Config command has completed a Command Complete event will be generated Common usage FEUL7105 02 50 LAPIS Semiconductor Co Ltd ML7105 User s Manual A 1 15 Write Config Data Command OCF Command parameters Return parameters HCl VENDOR CONFIG 0x012A offset address Status WRITE Length Data Description This command will write the specified length of data to the specified Config offset address Command parameters offset address Size 4 Octets Value Parameter Description OxXXXXXXXX Valid Config offset address For ML7105the valid values are 0x00000000 0x00000XXX size of Config Length Size 1 Octet Value Parameter Description 0x01 0x18 Length of data to be written 1 24 Data Size lt Length gt Octets Value Parameter Description OxXX Length of data to be written to the specified config offset address lt Length gt Return Parameters Status Size 1 Octet Value Parameter Description 0x00 Write Config Command succeeded 0x01 0xFF Write Config command failed See Error Codes def
51. omplete event will be generated Common usage FEUL7105 02 44 LAPIS Semiconductor Co Utd ML7105 User s Manual A 1 8 SHUTDOWN Command OCF Command parameters Return parameters HCl VENDOR SHUTDO 0x0123 None None WN Description This command will SHUTDOWN the system and will not respond to anymore commands Command parameters None Return Parameters None Event s generated None Common usage A 1 9 SLEEP Command OCF Command parameters Return parameters HCI VENDOR SLEEP 0x0124 None None Description This command will put the system in SLEEP mode Command parameters None Return Parameters Status Size 1 Octet Value Parameter Description 0x00 Sleep Command succeeded 0x01 0xFF Sleep command failed See Error Codes defined in Bluetooth Specification Volume 2 Part D Event s generated When the SLEEP command has completed a Command Complete event will be generated Common usage FEUL7105 02 45 LAPIS Semiconductor Co Ltd ML7105 User s Manual A 1 10 Read Platform Register Command OCF Command parameters Return parameters HCl VENDOR PLATFO 0x0126 platform reg address Status reg value RM READ REG Description This command will read the value reg value from the specified Platform Register address platform reg address Command parameters platform reg adaress Size 4 Octet Value Param
52. on 0x00 Config TX power Command succeeded 0x01 0xFF Config TX power command failed See Error Codes defined in Bluetooth Specification Volume 2 Part D Event s generated When the Config TX power command has completed a Command Complete event will be generated FEUL7105 02 54 LAPIS Semiconductor Co Ltd A 1 19 Wake up ML7105 User s Manual Command OCF Command parameters Return parameters HCI VENDOR WAKEUP 0x012bE Status Description This command used to wake up ML7105 Command parameters None Return Parameters Status Size 1 Octet Value Parameter Description 0x00 Wakeup Command succeeded 0x01 0xFF Wakeupr command failed See Error Codes defined in Bluetooth Specification Volume 2 Part D Event s generated When the Wakeup command has completed a Command Complete event will be generated FEUL7105 02 55 LAPIS Semiconductor Co Utd ML7105 User s Manual REVISION HISTORY Page Document No Issue Date Description Previous Current Edition Edition FEUL7105 01 2013 06 10 Final 1 Edition FEUL7105 02 2014 11 17 Updated config parameters Note was added about Communication request from HOST 3 6 Low power Clock Delete the explanation about 32 768 KHz oscillator 10 3 LPCLK Related Registers This item was deleted The threshold of IDLE mode was changed old 40ms gt new 15
53. orage areas of EEPROM vary depending on EEPROM VALID CODE and RAM Mode The basic configuration of EEPROM is described below Address 0x00 Configuration The setting parameters of Baseband and RF are stored in the Area lt Configuration Area Address 0x80 Application Area The Application Area is the area that HOST_CPU can use arbitrarily Address 0x800 CODE_RAM Area lt The program code of RAM_Mode is stored in the CODE_RAM Area The storage area for each combination of EEPROM_VALID_CODE and RAM_Mode flag is described below EEPROM_VALID_CODE RAM Mode flag EEPROM Contents 1 2 ML7105 uses the addresses 0x00 to 0x7E of EEPROM as 0x5A Disable Configuration Area EEPROM IS VALID HOST CPU can use the addresses after 0x80 of EEPROM as Application Area ML7105 uses the addresses 0x00 to 0x7E of EEPROM as Configuration Area and uses the addresses after 0x800 of 0x5A Enable EEPROM as CODE RAM Area EEPROM IS VALID HOST CPU can use the addresses 0x80 to Ox7FF of EEPROM and the areas other than the CODE RAM Area as Application Area OxXX The state where writing Configuration parameters to the EEPROM IS NOT VALID EEPROM is not completed 41 EEPROM VALID CODE is stored at the address 0x04 of EEPROM 42 RAM Mode flag is stored at the address 0x38 of EEPROM The maximum EEPROM address space that ML7105 can access is 64 KB address OxFFFF 5 2 2 EEPROM Config Area The Configuration Are
54. rmed in the following sequence Communication request from HOST 1 HOST toggles the WAKEUP pin to Low 2 When ML7105 detects WAKEUP and goes to the READY state ML7105 toggles the IRQ pin to Low 3 HOST starts the SPI communication During the communication HOST toggles the SPIXCS pin to Low 4 When the SPI communication is completed HOST toggles the WAKEUP pin to High 5 When ML 7105 detects that the WAKEUP pin turns to High ML7105 toggles the IRQ pin to High Note When transmitting dummy data other than BACI packet from HOST be sure to transmit OxFF Please add OxFF at the end of BACI packet from HOST Communication request from ML7105 when transmitting one BACI packet 1 ML7105 toggles the IRQ pin to Low 2 When HOST detects IRQ and goes to the READY state HOST toggles the WAKEUP pin to Low 3 HOST starts the SPI communication During the communication HOST toggles the SPIXCS pin to Low ML7105 outputs the dummy data OxFF and then starts the transmission of the BACI packet 4 ML7105 starts transmitting the BACI packet 5 When HOST completes receiving the BACI packet HOST must toggle the WAKEUP pin to High 6 When ML7105 detects that the WAKEUP pin turns to High ML7105 toggles the IRQ pin to High Timing control when a communication request from HOST is made After toggling the IRQ signal to High ML7105 transitions to the Deep Sleep mode if no communication request from HOST is made for a specified period about 1 ms
55. s to EEPROM This command will be repeated to write all the Configuration parameters 128Byte Step 10 Hardware Reset For the subsequent steps refer to the steps described above in 1 When the Configuration parameters have been written FEUL7105 02 15 LAPIS Semiconductor Co Ltd ML7105 User s Manual 5 1 1 2 EEPROM IS NOT CONNECTED If an EEPROM is not used ML7105 operates in the following configuration HOST CPU Step 1 Step 2 Step 3 Step 4 Step 5 Step 6 Step 7 Step 8 FEUL7105 02 BACI ML7105 gt Parameters Power ON Hardware Reset ML7105 detects EEPROM_IS_NOT_CONNECTED ML7105 configures the BACT interface ML7105 sends Start Up State 0x81 event message to HOST_CPU via BACI State 0x81 indicates that EEPROM is not connected and request for Get Configuration parameters ML7105 waits BACI command for Write_Config from HOST_CPU ML7105 finish the receiving the Configuration Parameters from HOST CPU After finish sending the Configuration parameters HOST CPU sends WRITE CONFIG COMPLETE BACI command ML7105 modifies RETENTION RAM status with valid configuration ML7105 initializes by Configuration Parameters ML7105 sends Start Up State 0x80 event message to HOST CPU via BACI State 0x80 indicates that Normal startup ML7105 waits BACI Command 16 LAPIS Semiconductor Co Ltd ML7105 User s Manual 5 2 EEPROM Contents 5 2 1 EEPROM Areas The data st
56. sec Deep sleep mode ML7105 transits to the Deep Sleep mode after a long communication interval or when no access is made by HOST for a certain time in a non communication period The RF oscillation is stopped and the communication interval is counted by the Low power clock from an external pin Application Sleep During the Application Sleep mode the RF oscillation is stopped and ML7105 is in wait state while operating on the Low power clock from an external pin When HOST CPU issues the Sleep command ML7105 goes to this state and waits until the Wakeup by HOST CPU FEUL7105 02 22 LAPIS Semiconductor Co Ltd ML7105 User s Manual 6 2 Power State Transition The power mode state transition diagram of ML7105 is shown in Figure 1 Power On Power Supply On Hardware Reset Active Boot State Mode Initialization and Parameter Load from EEPROM Short Interval or Application Processing State Connection State Hardware Control Software Control Wakeup Factor Sleep Command Sleep State Long Interval State Figure 1 Power state transition and operating mode Power On When the power supply starts assert the hardware reset for a certain period When the hardware reset is released ML7105 transits to the Boot State Boot State When the hardware reset is released the boot is started The boot program initializes the peripherals and loads the parameters Connection State ML7105 op
57. significant bit in an 8 bit register memory LSB Least significant bit in an 8 bit register memory FEUL7105 02 Co Ltd ML7105 User s Manual Notation Description Represents a hexadecimal number Represents a binary number Represents a hexadecimal number indicates Oxnnnnnnnn word 32 bits 1 byte 8 bits 10 2 1024 10 1000 10 10 10 Second Signal level on the high voltage side indicates the voltage level of Vg and Voy as defined in electrical characteristics Signal level on the low voltage side indicates the voltage level of Vy and Vo as defined in electrical characteristics 111 LAPIS Semiconductor Co Ltd ML7105 User s Manual Table of Contents DOTES 1 E e E A EAE O A E A RES ii Not A N EEO SN T 111 Table or Contents it M U iv 1 General Descrip tica A E A a EE E 1 IN NN 1 1 2 Block DIAM iaire ETC OT C LCS 2 1 3 ne old Layouts ios 3 Tee RT O A PINS iot et ree e la PODE a E 4 2 Operation Mod miii A A tatiana and A ANES and einai 5 211 General Description 28 A A AA LS Ein 5 2 2 Operation Mode Gonfig ratlOri 5 5 cicero a ere ee eoe det Pee thal ER e ee fends edita d 5 2 3 Description of Operation ModE nsise iieii iE aE E Eain EES EEEa E E Ea EE ERS EEEN ASSER ESE 5 PA BAC Mode EP 5 ESO ICI MO lt vier cscs T AEE A E A A E E E E AA E cans AE 6 23353 RAM Mde it EN
58. steps 0 6 12 and 18 dBm Step 1 HOST CPU reads RF Register 17 Address 0x3F Step 2 Calculate the setting value of the transmit power N Read value amp 0x0000FF00 gt gt 8 N 0dBm N 2 6dBm N A 12dBm N 8 18dBm Step 3 Note that this value varies depending on samples Set the result calculated in Step 2 to Tx Power and issue the Config Tx Power command Example When the value read from RF Register 17 Address Ox3F is 0x00003D9C Ox3D OdBm Ox1E 6dBm OxOF 12dBm 0x07 18dBm FEUL7105 02 32 ML7105 User s Manual LAPIS Semiconductor Co Utd 10 RF Register 10 1 General Description The RF registers described in this chapter can be read written by using the BACI Commands or HCI Vendor Commands listed below BACI Command e Write RF Reg e Read RF Reg HCI Vendor Command e HCI VENDOR RF RADIO REG WRITE e HCI VENDOR RF RADIO REG READ 10 2 RF Test Related Registers To activate the continuous transmission state in the RF Test Mode it is necessary to set the RF registers described in this chapter For how to use these registers refer to 7 RF Test Mode amp Direct Test Mode 10 2 1 RF Register 0 RF Channel 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RF A POWER CONT2 RegisterO Initial Value l Access RW RAW RW RAN RW RAW RW RW RAN RW RW RW
59. ted or if the content of EEPROM is not correct the LSI starts in the Debug Mode In this mode the Bluetooth functions cannot be used Only the minimum necessary initialization is performed and the LSI waits for the configuration parameters to be set In this mode it is possible to load the configuration parameters from HOST CPU via BACI or HCI or to initialize write read the EEPROM When EEPROM VALID CODE is not 0x5A EEPROM IS NOT VALID FEUL7105 02 6 LAPIS Semiconductor Co Ltd ML7105 User s Manual 2 4 Boot Sequence The ML7105 boot sequence is shown below Start Power On 8 Hardware Reset Reset Handler Wakeup or Config is Valid Retention Status Register Not Wakeup or Config is Ivalid Check external pins EEPROM IS CONNECTED i baia Yes Load Config from EEPROM 12C_SDA High No EEPROM_IS_NOT_CONNECTED Is Config Valid Check external pins by GPIO EEPROM_IS_NOT_VALID UART_RX High Yes OM IS VALID EEP Check external pins by GPIO is not required SPI SLAVE UARTO HCI BACI Initialization Initialization for Loading I F for Loading I F Load Config Parameters Debug Mode FEUL7105 02 7 LAPIS Semiconductor Co Ltd FEUL7105 02 Check Parameter Value RAM Mode Check external pins by GPIO ROM or RAM Mode ROM Mode UART RX High Disable Pull Down of UART RXD pin
60. ter to from HOST CPU through the SPI interface Profile VSP HRP etc HOST CPU Bluetooth Application Controller Interface BACI Host e T TE SPI BAC L Bluetooth Application Controller Interface BACI Controller ML7105 Bluetooth Low Energy Host GAP GATT SMP etc Bluetooth Low Energy Controller LL etc FEUL7105 02 5 LAPIS Semiconductor Co Ltd ML7105 User s Manual 2 3 2 HCI Mode The figure below shows the protocol stack configuration when ML7105 is set to the HCI Mode ML7105 can transmit receive HCI commands events compliant with Bluetooth LE to from HOST CPU through the UART interface For the HCI Vendor commands of this LSI refer to Appendix A 1 HCI Vendor commands Profile VSP HRP etc HOST CPU Bluetooth Low Energy Host GAP GATT SMP etc du E UART HCl Bluetooth Low Energy Controller LL etc I ML7105 2 3 3 RAM Mode When an EEPROM is connected and the bit that indicates the transition to the RAM Mode see 5 2 3 EEPROM Configuration Parameters is set to Enable the state transitions to the RAM Mode After the transition to the RAM Mode the firmware is downloaded from the CODE RAM area of the EEPROM and executed The figure below shows the protocol stack configuration of RAM Mode Profile VSP HRP etc Bluetooth Low Energy Host GAP GATT SMP etc Bluetooth Low Energy Controller LL etc ML7105 2 3 4 Debug Mode If no EEPROM is connec
61. tes receiving the BACI packet HOST must toggle the WAKEUP pin to High If there are more BACI packets to be transmitted continuously ML7105 keeps IRQ in the Low state When HOST detects that IRQ is in the Low state HOST must toggle the WAKEUP pin to Low HOST starts the SPI communication During the communication HOST toggles the SPIXCS pin to Low ML7105 outputs the dummy data OxFF and then starts the transmission of the second BACI packet oo When HOST completes receiving the BACI packet HOST must toggle the WAKEUP pin to High 9 When ML7105 detects that the WAKEUP pin turns to High ML7105 toggles the IRQ pin to High The RF ACTIVE pin behaves as follows WAKEUP DeepSleep PS CONTORL Connection Procedure Bluetooth Bluetooth Bluetooth TX or RX TX or RX TX or RX Radio Long Interval Long Interval Long Interval RF ACTIVE Default Low T rf act T rf act T rf act T rf act WAKEUP DeepSleep DeepSleep DeepSleep DeepSleep PS CONTROL Connection Procedure i Bluetooth Bluetooth TX or RX i TX or RX Radio Long Interval Long Interval Long Interval RF ACTIVE Default Low i T rf act T rf act T if dat FEUL7105 02 11 LAPIS Semiconductor Co Ltd ML7105 User s Manual The RF ACTIV

Download Pdf Manuals

image

Related Search

Related Contents

USER`S MANUAL - Textfiles.com  Outpak 942-SS2502 Installation Guide  Dynamode Internal PCI (Conexant) ADSL Modem  安全データシート  LAM100 Logiciel d`aide au comptage leucocytaire - Mode d`emploi -    Radial Bedienungsanleitung - Acu-Rite  Dicota BacPac Mission  MOVIDRIVE® MDX60B/61B / Operating Instructions / 2006-09  HDM-555 - ご利用の条件|取扱説明書|ケンウッド  

Copyright © All rights reserved.
Failed to retrieve file