1. Introduction
When you write codes with QMSI in Intel® System Studio for Microcontroller for the Intel® Quark™ Microcontroller D2000 CRB, you need to find and match the QMSI pin names and the physical location of pin map in CRB. This document helps you to find and match easily them.
2. Environment
SW : Intel® System Studio for Microcontrollers 2016 Update1 / QMSI 1.1
HW : Intel® Quark™ Microcontroller D2000 CRB Rev D.
3. Pin Map
4. QMSI 1.1
(1) Pin name
/**
* External Pad pin identifiers
**/
QM_PIN_ID_0, /**< Pin id 0. */
QM_PIN_ID_1, /**< Pin id 1. */
QM_PIN_ID_2, /**< Pin id 2. */
QM_PIN_ID_3, /**< Pin id 3. */
QM_PIN_ID_4, /**< Pin id 4. */
QM_PIN_ID_5, /**< Pin id 5. */
QM_PIN_ID_6, /**< Pin id 6. */
QM_PIN_ID_7, /**< Pin id 7. */
QM_PIN_ID_8, /**< Pin id 8. */
QM_PIN_ID_9, /**< Pin id 9. */
QM_PIN_ID_10, /**< Pin id 10. */
QM_PIN_ID_11, /**< Pin id 11. */
QM_PIN_ID_12, /**< Pin id 12. */
QM_PIN_ID_13, /**< Pin id 13. */
QM_PIN_ID_14, /**< Pin id 14. */
QM_PIN_ID_15, /**< Pin id 15. */
QM_PIN_ID_16, /**< Pin id 16. */
QM_PIN_ID_17, /**< Pin id 17. */
QM_PIN_ID_18, /**< Pin id 18. */
QM_PIN_ID_19, /**< Pin id 19. */
QM_PIN_ID_20, /**< Pin id 20. */
QM_PIN_ID_21, /**< Pin id 21. */
QM_PIN_ID_22, /**< Pin id 22. */
QM_PIN_ID_23, /**< Pin id 23. */
QM_PIN_ID_24, /**< Pin id 24. */
/**
* Pin function type. (Mode 0 ~ Mode 3)
*/
QM_PMUX_FN_0, /* Mode 0 */
QM_PMUX_FN_1, /* Mode 1 */
QM_PMUX_FN_2, /* Mode 2 */
QM_PMUX_FN_3, /* Mode 3 */
(2) Examples
/* Mux out STDOUT_UART tx/rx pins and enable input for rx. */
qm_pmux_select(QM_PIN_ID_12, QM_PMUX_FN_2);
qm_pmux_select(QM_PIN_ID_13, QM_PMUX_FN_2);
qm_pmux_input_en(QM_PIN_ID_13, true);
You can download the figure of pin map as well.