I am struggling to send an IR signal from my NanoPi Neo AIR.
I have tried LIRC.
I have tried using the PWM GPIO (GPIOA5).
I would like to use ir-ctl, but will use whatever I need to.
I have not yet tried a 3.x kernel, but was hoping to avoid going back that far.
When using PWM GPIO to generate the carrier, and using GPIOA6 with wiringNP to control the mark/space timing, I cannot get a MARK on GPIOA6 for longer than about 100 micro seconds, and can never get a consistent, repeatable transmission.
I have used npi-config to enable PWM and disable UART0.
I have tried with the following modules in various combinations:
sunxi-cir
pwm-ir-tx
Is this a hardware limitation imposed by the Allwinner H3? I have not been unable to find any documentation explaining why /dev/lirc0 cannot send.
Any ideas anyone?
Thanks,
Colin
I have tried LIRC.
I have tried using the PWM GPIO (GPIOA5).
I would like to use ir-ctl, but will use whatever I need to.
I have not yet tried a 3.x kernel, but was hoping to avoid going back that far.
When using PWM GPIO to generate the carrier, and using GPIOA6 with wiringNP to control the mark/space timing, I cannot get a MARK on GPIOA6 for longer than about 100 micro seconds, and can never get a consistent, repeatable transmission.
Code: Select all
pi@NanoPi-NEO-Air:~$ uname -a
Linux NanoPi-NEO-Air 4.14.0 #23 SMP Thu May 10 16:11:19 CST 2018 armv7l armv7l armv7l GNU/Linux
Code: Select all
pi@NanoPi-NEO-Air:~$ ir-ctl -f -d /dev/lirc0
Receive features /dev/lirc0:
- Device can receive raw IR
- Resolution 8 microseconds
Send features /dev/lirc0:
- Device cannot send
I have used npi-config to enable PWM and disable UART0.
I have tried with the following modules in various combinations:
sunxi-cir
pwm-ir-tx
Is this a hardware limitation imposed by the Allwinner H3? I have not been unable to find any documentation explaining why /dev/lirc0 cannot send.
Any ideas anyone?
Thanks,
Colin