Trong datasheet có ghi là "If there is no data loaded to UCBxTXBUF before the acknowledge cycle, the bus is held during the acknowledge cycle with SCL low until data is written into UCBxTXBUF". Trong hàm main của master, bạn thử đưa dòng
UCB0TXBUF = i;
lên trước dòng
while(UCB0CTL1 &...