Reply 19# tony_zhang |
Tony,thanks for the clarification.
But even running as root,n3m get's the invalid argument error when exporting "25",so it seems there's some error in the fex configuration.
Can you confirm this part is ok...?
spi_dev_num = 1
modalias = "enc28j60"
max_speed_hz = 12000000
bus_num = 0
chip_select = 0
mode = 0
full_duplex = 0
manual_cs = 0
irq_gpio = 1
gpio_used = 1
gpio_num = 1
gpio_pin_1 = port:PI16<5><default><default><default>
The mux number should be 5 for PI16 EINT,isn't it?
One more thing...there already is a gpio_para in the fex file,so would adding another one like the above,create some conflict?
Can the mux_function number "5" be inserted in the original gpio_para at the correct place instead of creating a new gpio_para?