Other Parts Discussed in Thread: AM6442,
Hello TI Team,
Processor SDK Linux RT 09.02.01.10 & board TMDS64EVM (AM6442).
I am working on the AM6442 (TMDS64EVM) and I need to generate a 40 MHz output signal on one of the GPIO pin.
I have already configured a pin as GPIO output through the device tree and verified the signal toggling, but GPIO toggling speed is very low (~64Hz range).
k3-am642-evm.dts configuration:-
main_gpio0_31_pins_default: main-gpio0-31-pins {
pinctrl-single,pins = <
AM64X_IOPAD(0x007C, PIN_OUTPUT, 7) /* GPIO0_31 */
>;
};
&main_gpio0 {
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&main_gpio0_31_pins_default &main_gpio0_52_pins_default>;
gpio-line-names =
"", "", "", "", "", "", "", "", "", "", /* 0-9 */
"", "", "", "", "", "", "", "", "", "", /* 10-19 */
"", "", "", "", "", "", "", "", "", "", /* 20-29 */
"", "GPIO0_31", "", "", "", "", "", "", "", "", /* 30-39 */
"", "", "", "", "", "", "", "", "", "", /* 40-49 */
"", "", "", "", "", "", "", "", "", ""; /* 50-59 */
};
Validated by using using command:
root@am64xx-evm:~# gpioset gpiochip1 31=1
root@am64xx-evm:~# gpioset gpiochip1 31=0
1) What is the maximum supported GPIO toggling(high and low) frequency?
2) What is the recommended hardware block on AM64x to generate a 40 MHz clock/square wave?
3) Provide gpio toogle example on TM6S64EVM board?
Thanks & Regards,
Ravilla Dinesh.