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.

[参考译文] CC3200:cc3200 Launchpad

Guru**** 2560390 points
Other Parts Discussed in Thread: CC3200, CC3200SDK

请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/wireless-connectivity/wi-fi-group/wifi/f/wi-fi-forum/603082/cc3200-cc3200-launchpad

器件型号:CC3200

您好、

我有 cc3200 launchpad、我正在尝试在 GPIO_PIN_4的上升沿获取 intterupt、但没有成功。 intterupt 太敏感、即使我将它接地、它也会得到 intterup。

有人能帮我解决这个问题吗?

这是我的代码:

空 isrCheck1()

报告("GPIO 1.4上的中断\n");

MAIN ()

GPIOIntTypeSet (GPIOA1_base、GPIO_PIN_3、GPIO_HIGH_LEVEL);
GPIOIntTypeSet (GPIOA1_base、GPIO_PIN_4、GPIO_HIGH_LEVEL);
GPIOIntRegister (GPIOA1_base、isrCheck1);

IntEnable (INT_GPIOA1);
HWREG (0x4402E144)|= 16 << 2;
GPIOIntTypeSet (GPIOA1_base、GPIO_PIN_4、GPIO_HIGH_LEVEL);
GPIOIntEnable (GPIOA1_base、GPIO_INT_PIN_4);

Ohad

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    您好!

    您能否探测引脚以查看发生了什么情况?
    我们还在 SDK 中提供了一个中断示例
    ...\CC3200SDK_1.2.0\cc3200-SDK\examples\interrupt

    此致、
    查尔斯·奥