{"action":"closed","issue":{"url":"https://api.github.com/repos/energia/Energia/issues/698","labels_url":"https://api.github.com/repos/energia/Energia/issues/698/labels{/name}","comments_url":"https://api.github.com/repos/energia/Energia/issues/698/comments","events_url":"https://api.github.com/repos/energia/Energia/issues/698/events","html_url":"https://github.com/energia/Energia/issues/698","id":100158367,"number":698,"title":"Wrong I2C Pins for MSP430 with MKII BoosterPack","user":{"login":"vmanohar","id":13066871,"avatar_url":"https://avatars.githubusercontent.com/u/13066871?v=3","gravatar_id":"","url":"https://api.github.com/users/vmanohar","html_url":"https://github.com/vmanohar","followers_url":"https://api.github.com/users/vmanohar/followers","following_url":"https://api.github.com/users/vmanohar/following{/other_user}","gists_url":"https://api.github.com/users/vmanohar/gists{/gist_id}","starred_url":"https://api.github.com/users/vmanohar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vmanohar/subscriptions","organizations_url":"https://api.github.com/users/vmanohar/orgs","repos_url":"https://api.github.com/users/vmanohar/repos","events_url":"https://api.github.com/users/vmanohar/events{/privacy}","received_events_url":"https://api.github.com/users/vmanohar/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/energia/Energia/labels/LaunchPad%20MSP430F5529","name":"LaunchPad MSP430F5529","color":"0b02e1"},{"url":"https://api.github.com/repos/energia/Energia/labels/LaunchPad%20MSP430FR4133","name":"LaunchPad MSP430FR4133","color":"0b02e1"},{"url":"https://api.github.com/repos/energia/Energia/labels/LaunchPad%20MSP430FR5739","name":"LaunchPad MSP430FR5739","color":"0b02e1"},{"url":"https://api.github.com/repos/energia/Energia/labels/LaunchPad%20MSP430FR5969","name":"LaunchPad MSP430FR5969","color":"0b02e1"},{"url":"https://api.github.com/repos/energia/Energia/labels/LaunchPad%20MSP430FR6989","name":"LaunchPad MSP430FR6989","color":"0b02e1"},{"url":"https://api.github.com/repos/energia/Energia/labels/LaunchPad%20MSP430G2...","name":"LaunchPad MSP430G2...","color":"0b02e1"},{"url":"https://api.github.com/repos/energia/Energia/labels/Library%20BoosterPack","name":"Library BoosterPack","color":"02e10c"},{"url":"https://api.github.com/repos/energia/Energia/labels/Type%20Question","name":"Type Question","color":"e10c02"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-10T20:11:40Z","updated_at":"2015-10-09T12:55:45Z","closed_at":"2015-10-09T12:55:45Z","body":"https://github.com/energia/Energia/blob/master/hardware/msp430/variants/launchpad/pins_energia.h\r\n\r\nIn pins_energia.h, lines 44 and 45 are currently:\r\n\r\nstatic const uint8_t TWISDA  = 14;  /* P1.6 */\r\nstatic const uint8_t TWISCL  = 15;  /* P1.7 */\r\n\r\nInstead, they should be:\r\n\r\nstatic const uint8_t TWISDA  = 10;  /* P3.0 */\r\nstatic const uint8_t TWISCL  = 9;  /* P3.1 */\r\n\r\nIn addition, lines 48 and 49 are currently:\r\n\r\n#define TWISDA_SET_MODE  (PORT_SELECTION0 | PORT_SELECTION1 /* | INPUT_PULLUP*/) /* do not enable the pull ups for this device */\r\n#define TWISCL_SET_MODE  (PORT_SELECTION0 | PORT_SELECTION1 /* | INPUT_PULLUP*/)\r\n\r\nThey should be:\r\n\r\n#define TWISDA_SET_MODE (PORT_SELECTION0| (PM_UCB0SDA << 8)\r\n#define TWISCL_SET_MODE (PORT_SELECTION0| (PM_UCB0CLK << 8)\r\n\r\nMaking these changes will allow the MKII BP to be compatible with MSP430 LPs by using pins 9 and 10 for I2C instead of 14 and 15."}}