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.

有关CC1310串口引脚的问题,求助

Other Parts Discussed in Thread: CC1310

u各位论坛的前辈和TI工程师, 请问CC1310的串口引脚是固定的还是可配置的。比如说,CC1310 7*7封装的串口引脚默认是DIO2和DIO3,那么可不可以通过程序将其配置成DIO3和DIO4,很迷惑吗, 恳请各位解答,谢谢。也就是说CC1310的串口引脚可以重映设到其它引脚吗?谢谢

  • 可以的。

    The MCU IOC can map a number of peripheral modules such as GPIO, SSI (SPI), UART, I2C, and I2S to
    any of the available I/Os.

    To map a peripheral function to DIOn, where n can range from 0 to a maximum of 31, the PORTID and
    pin configuration must be set in the corresponding IOC:IOCFGn register.

    IOCPortConfigureSet(DIOn, PORTID, PIN-CONFIG);