想确认CC430 所有的 GPIO 是否都可以Remapping成
还是只能remapping成制定的 如
如P1.3只能是UCB0SIMO和UCB0SDA
我现在遇到的问题是,希望将P2.6和P2.7 Rempping成 UCB0SDA 和 UCB0SCL 没有成功,不知道这样是否可以Remapping
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
想确认CC430 所有的 GPIO 是否都可以Remapping成
还是只能remapping成制定的 如
如P1.3只能是UCB0SIMO和UCB0SDA
我现在遇到的问题是,希望将P2.6和P2.7 Rempping成 UCB0SDA 和 UCB0SCL 没有成功,不知道这样是否可以Remapping
那您的意思,P2.6和P2.7,不能Remapping成
P2SEL |= BIT6 + BIT7;
PMAPPWD = 0x02D52; // Get write-access to port mapping regs
P2MAP6 = PM_UCB0SDA; // Map UCB0SDA output to P2.6
P2MAP7 = PM_UCB0SCL; // Map UCB0SCL output to P2.7
PMAPPWD = 0; // Lock port mapping registers
请问 您的依据是从哪里来的,手册中有说明吗?