From ce6698865046c2d5e5fae73a74323048036e7d44 Mon Sep 17 00:00:00 2001 From: tmk Date: Fri, 16 Jan 2015 08:26:59 +0900 Subject: hhkb_rn42: Move doc --- keyboard/hhkb_rn42/PowerSave.txt | 115 ---------------------------------- keyboard/hhkb_rn42/rn42/PowerSave.txt | 76 ++++++++++++++++++++++ 2 files changed, 76 insertions(+), 115 deletions(-) delete mode 100644 keyboard/hhkb_rn42/PowerSave.txt create mode 100644 keyboard/hhkb_rn42/rn42/PowerSave.txt diff --git a/keyboard/hhkb_rn42/PowerSave.txt b/keyboard/hhkb_rn42/PowerSave.txt deleted file mode 100644 index 9aa89f441..000000000 --- a/keyboard/hhkb_rn42/PowerSave.txt +++ /dev/null @@ -1,115 +0,0 @@ -RN-42 -===== - - -12/11 -Power Comsumption -MCU+HHKB --------- -Battery drive: - idle 18.9mA - active 35.8mA - -USB powered: - 40.0mA - - -HHKB key switch power control ------------------------------ -MOS FET Nch: BSS138 or IRLML6344T, either works and no apparent difference. -Normally on(pull-up) or off(pull-down)? interms of power saving it prefers pull-down? - -Pull-down will be better for power saving, normally off. - - - -Used Timer ----------- - -8MHz clock ----------- -1) 16MHz xtal with system prescaler div2: F_CPU=8MHz, F_USB=16MHz -2) 8MHz xtal with div1: F_CPU=8MHz, F_USB=8MHz -Hardware USART doesn't work at 115200bps with 8MHz(F_CPU). - -workaround: -a) use Sotwre serial for communcation with RN-42 -b) reduce baud of RN-42 to lower rate;(factory default is 115200bps) -10/03 - - - -Slave mode ----------- -Discovery/Inquire -Connect/Page - -SI,0012 -SJ,0012 -InqWindw=0100 -PagWindw=0100 - - -Sniff mode ----------- -0.625ms * -SW,0320 Very sluggish. Type is not lost but very slow to register. -SW,0160 Still sluggish. may transposed? can type but ... - Mouse point move intermittently -SW,0020 feel a bit late like stumble(20ms) -SW,0010 feel no latency(10ms) - - -Deep sleep ----------- -SW,8010 - - -TX power --------- -SY,fff4 - - -IO pins -------- -S%,1000 status led and connection control don't work - GPIO5: status LED - GPIO6: Connection control - GPIO2: linked status - - - - - -Ver 6.15 04/26/2013 -(c) Roving Networks -***Settings*** -BTA=00066667BBE9 -BTName=tmkBT-BBE9 -Baudrt(SW4)=115K -Mode =DTR -Authen=1 -Bonded=0 -Rem=001BDC06415B -***ADVANCED Settings*** -SrvName= keyboard/mouse -SrvClass=0000 -DevClass=1F00 -InqWindw=0012 -PagWindw=0012 -CfgTimer=255 -StatuStr=NULL -HidFlags=3c -DTRtimer=8 -KeySwapr=0 -***OTHER Settings*** -Profile= HID -CfgChar= $ -SniffEna=8010 -LowPower=0 S|, -TX Power=fff4 SY, -IOPorts= 0 -IOValues=0 -Sleeptmr=0 -DebugMod=0 -RoleSwch=0 diff --git a/keyboard/hhkb_rn42/rn42/PowerSave.txt b/keyboard/hhkb_rn42/rn42/PowerSave.txt new file mode 100644 index 000000000..8aea1c6dd --- /dev/null +++ b/keyboard/hhkb_rn42/rn42/PowerSave.txt @@ -0,0 +1,76 @@ +Power Saving +============ + + +MCU+HHKB Power Comsumption +-------------------------- +Battery drive: + idle 18.9mA + active 35.8mA + +USB powered: + 40.0mA + + +HHKB key switch power control +----------------------------- +MOS FET Nch: BSS138 or IRLML6344T, either works and no apparent difference. +Normally on(pull-up) or off(pull-down)? interms of power saving it prefers pull-down? + +Pull-down will be better for power saving, normally off. + + + +Used Timer +---------- + +8MHz clock +---------- +1) 16MHz xtal with system prescaler div2: F_CPU=8MHz, F_USB=16MHz +2) 8MHz xtal with div1: F_CPU=8MHz, F_USB=8MHz +Hardware USART doesn't work at 115200bps with 8MHz(F_CPU). + +workaround: +a) use Sotwre serial for communcation with RN-42 +b) reduce baud of RN-42 to lower rate;(factory default is 115200bps) +10/03 + + + +Slave mode +---------- +Discovery/Inquire +Connect/Page + +SI,0012 +SJ,0012 +InqWindw=0100 +PagWindw=0100 + + +Sniff mode +---------- +0.625ms * +SW,0320 Very sluggish. Type is not lost but very slow to register. +SW,0160 Still sluggish. may transposed? can type but ... + Mouse point move intermittently +SW,0020 feel a bit late like stumble(20ms) +SW,0010 feel no latency(10ms) + + +Deep sleep +---------- +SW,8010 + + +TX power +-------- +SY,fff4 + + +IO pins +------- +S%,1000 status led and connection control don't work + GPIO5: status LED + GPIO6: Connection control + GPIO2: linked status -- cgit v1.2.3