You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

PowerSave.txt 1.4KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. Power Saving
  2. ============
  3. MCU+HHKB Power Comsumption
  4. --------------------------
  5. Battery drive:
  6. idle 18.9mA
  7. active 35.8mA
  8. USB powered:
  9. 40.0mA
  10. HHKB key switch power control
  11. -----------------------------
  12. MOS FET Nch: BSS138 or IRLML6344T, either works and no apparent difference.
  13. Normally on(pull-up) or off(pull-down)? interms of power saving it prefers pull-down?
  14. Pull-down will be better for power saving, normally off.
  15. Used Timer
  16. ----------
  17. 8MHz clock
  18. ----------
  19. 1) 16MHz xtal with system prescaler div2: F_CPU=8MHz, F_USB=16MHz
  20. 2) 8MHz xtal with div1: F_CPU=8MHz, F_USB=8MHz
  21. Hardware USART doesn't work at 115200bps with 8MHz(F_CPU).
  22. workaround:
  23. a) use Sotwre serial for communcation with RN-42
  24. b) reduce baud of RN-42 to lower rate;(factory default is 115200bps)
  25. 10/03
  26. Slave mode
  27. ----------
  28. Discovery/Inquire
  29. Connect/Page
  30. SI,0012
  31. SJ,0012
  32. InqWindw=0100
  33. PagWindw=0100
  34. Sniff mode
  35. ----------
  36. 0.625ms * <hex>
  37. SW,0320 Very sluggish. Type is not lost but very slow to register.
  38. SW,0160 Still sluggish. may transposed? can type but ...
  39. Mouse point move intermittently
  40. SW,0020 feel a bit late like stumble(20ms)
  41. SW,0010 feel no latency(10ms)
  42. Deep sleep
  43. ----------
  44. SW,8010
  45. TX power
  46. --------
  47. SY,fff4
  48. IO pins
  49. -------
  50. S%,1000 status led and connection control don't work
  51. GPIO5: status LED
  52. GPIO6: Connection control
  53. GPIO2: linked status