smsc_ece1099.txt 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. What is smsc-ece1099?
  2. ----------------------
  3. The ECE1099 is a 40-Pin 3.3V Keyboard Scan Expansion
  4. or GPIO Expansion device. The device supports a keyboard
  5. scan matrix of 23x8. The device is connected to a Master
  6. via the SMSC BC-Link interface or via the SMBus.
  7. Keypad scan Input(KSI) and Keypad Scan Output(KSO) signals
  8. are multiplexed with GPIOs.
  9. Interrupt generation
  10. --------------------
  11. Interrupts can be generated by an edge detection on a GPIO
  12. pin or an edge detection on one of the bus interface pins.
  13. Interrupts can also be detected on the keyboard scan interface.
  14. The bus interrupt pin (BC_INT# or SMBUS_INT#) is asserted if
  15. any bit in one of the Interrupt Status registers is 1 and
  16. the corresponding Interrupt Mask bit is also 1.
  17. In order for software to determine which device is the source
  18. of an interrupt, it should first read the Group Interrupt Status Register
  19. to determine which Status register group is a source for the interrupt.
  20. Software should read both the Status register and the associated Mask register,
  21. then AND the two values together. Bits that are 1 in the result of the AND
  22. are active interrupts. Software clears an interrupt by writing a 1 to the
  23. corresponding bit in the Status register.
  24. Communication Protocol
  25. ----------------------
  26. - SMbus slave Interface
  27. The host processor communicates with the ECE1099 device
  28. through a series of read/write registers via the SMBus
  29. interface. SMBus is a serial communication protocol between
  30. a computer host and its peripheral devices. The SMBus data
  31. rate is 10KHz minimum to 400 KHz maximum
  32. - Slave Bus Interface
  33. The ECE1099 device SMBus implementation is a subset of the
  34. SMBus interface to the host. The device is a slave-only SMBus device.
  35. The implementation in the device is a subset of SMBus since it
  36. only supports four protocols.
  37. The Write Byte, Read Byte, Send Byte, and Receive Byte protocols are the
  38. only valid SMBus protocols for the device.
  39. - BC-LinkTM Interface
  40. The BC-Link is a proprietary bus that allows communication
  41. between a Master device and a Companion device. The Master
  42. device uses this serial bus to read and write registers
  43. located on the Companion device. The bus comprises three signals,
  44. BC_CLK, BC_DAT and BC_INT#. The Master device always provides the
  45. clock, BC_CLK, and the Companion device is the source for an
  46. independent asynchronous interrupt signal, BC_INT#. The ECE1099
  47. supports BC-Link speeds up to 24MHz.