Hi Devin, I changed the INPUT5 source to GIPO6 '0x6'. But sill the value of GPIO6 is always 1 which is not the same waveform with the ouput GPIO6 from master. The INPUT5 is connected to the GPIO5 via the OUTPUT3-bar. The waveform of GPIO5 is same with input GPIO6. So the problem is still in setting the input GPIO6. The width of sync pulse generated every 0.1ms is around 40ns. Is the sampling frequency of input GPIO6 too low? According to the manual, if the pin is configure as GPIO input and the asynchronous option is selected then the qualification defaults to synchronization to SYSCLKOUT. Therefore, I selected the asynchronous option by using the following command: GpioCtrlRegs.GPAQSEL1.bit.GPIO6 = 3; Thanks. Jiacheng
↧