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.
Hello ,
I am using TMS320F28335 controller with 100MHz clock for my application .
I wanted to use input qualifier for only GPIO36.
For this I use below code:
GpioCtrlRegs.GPBCTRL.bit.QUALPRD0 = 255; /* 5.1us sample period */ GpioCtrlRegs.GPBQSEL1.bit.GPIO36 = 2; /* 6 sample */
I want this input qualifier to be active for only GPIO36.
But the value in QUALPRD0 is applicable for GPIO32-39.
Will this impact the sampling rate of other GPIO's GPIO32, GPIO33, .. GPIO39?
regards,
Hemanth
If you have any of the other GPIOs between 32 and 39 configured with 3 or 6 samples in GPBQSEL1, they will also have the sample period. If you have them configured as synchronous or asynchronous, they won't be affected.
Whitney
So if GPBQSEL1 is not configured to any value, it takes default "0" (after reset) mean the sampling happens at SYSCLKOUT?
Right, by default they're synchronized to SYSCLKOUT and a sampling window isn't used.
Whitney