I find some mismatch betweent hardware and the SDK driver.
In the schematics, the ENET1_nINT is connected to SNVS_TAMPER5. In the SDK2.0 the boards\evkmcimx6ul\driver_examples\enet\txrx_transfer\pin_mux.c, there define "{pin_num: K13, peripheral: ENET1, signal: enet_1588_event0_in, pin_signal: GPIO1_IO00}".
In fact the pin SNVS_TAMPER5 that only can be set to GPIO5_IO05 in the IOMUX, can't be set to enet_1588_event0_in.
I can't understand how this work , Does anybody know?
已解决! 转到解答。
ENET1_nINT is interrupt from KSZ8081 (U1501 SPF-28616 i.MX6UL EVK schematic),
it is connected to processor gpio and can notfy processor about KSZ8081 state.
In linux seems such codes are not implemented.
Best regards
igor
Hi Joey
>In fact the pin SNVS_TAMPER5 that only can be set to GPIO5_IO05 in the IOMUX, can't be set to enet_1588_event0_in.
seems there is some misunderstanding as define "{pin_num: K13, peripheral: ENET1, signal: enet_1588_event0_in, pin_signal: GPIO1_IO00}" refers to
while ENET1_nINT is connected to SNVS_TAMPER5 is used for GPIO5_IO05 interrupt.
Best regards
igor
Thank you for your answer. Then what is the use for ENET1_nINT PIN? I search the pin-defines in u-boot codes and SDK codes, find 'SNVS_TAMPER5 for GPIO5_IO05' not defined in enet module. Is that means this pin is not needed?
ENET1_nINT is interrupt from KSZ8081 (U1501 SPF-28616 i.MX6UL EVK schematic),
it is connected to processor gpio and can notfy processor about KSZ8081 state.
In linux seems such codes are not implemented.
Best regards
igor