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.

CC2358 I/O 配置问题

Other Parts Discussed in Thread: CC2538-SW

主要目的: 配置 PD0 输出方波。

问题: 波形输出电压幅度不够,只有1V左右。 尝试过使用其它引脚也一样的问题。

输入工作电压: 2.5V

I/O配置流程:

    // Set the clocking to run directly from the external crystal/oscillator.
    // (no ext 32k osc, no internal osc)
    //
    SysCtrlClockSet(true, true, SYS_CTRL_SYSDIV_16MHZ);

    //
    // Set IO clock to the same as system clock
    //
    SysCtrlIOClockSet(SYS_CTRL_SYSDIV_16MHZ);

   GPIOPinTypeGPIOOutput(GPIO_D_BASE,GPIO_PIN_0);

  小弟第一次使用 这个片子有点不清楚,忘各位指点,谢谢