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.

F280025 EQEP 範例2



我在使用EQEP 範例二,發現 epwmISR 測量PWM 跟 EQEP 是不是相同,可是結果都是 fail。

在想是不是設定有問題??

我硬體上的S5 開關都關下就是(J12、J13方向),接線是 GPIO_0_EPWM1_A  ----> QEP2_2A    、  GPIO_1_EPWM1_B -----> QEP2_2B  、 GPIO_2_GPIO2 -----> QEP2_2I

這是設定的腳位。也是對應說明書對應的。

PWM 也有確定輸出打頻率是 440 mhz 。

不知道我還遺漏了甚麼還是哪裡有問題。