

chuvak2007f
-
Content Count
10 -
Joined
-
Last visited
About chuvak2007f
-
Rank
Member
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
-
How to start a soundµphone on the Orange Pi Zero 2+ H3? root@orangepizeroplus2:/# aplay -l aplay: device_list:268: no soundcards found... root@orangepizeroplus2:~# uname -a Linux orangepizeroplus2 4.11.5-sun8i #3 SMP Thu Aug 3 08:36:37 CEST 2017 armv7l armv7l armv7l GNU/Linux root@orangepizeroplus2:~# lsmod Module Size Used by can_raw 16384 1 bluetooth 270336 0 qmi_wwan 24576 0 qcserial 16384 2 usb_wwan 16384 1 qcserial sun8i_codec_analog 24576 0 snd_soc_core 122880 1 sun8i
-
There was a new problem. The system worked with a flash drive. I transferred to internal memory. And orange stopped booting! If I disconnect the interrupt pin, orange is loaded ... In what there can be a problem, how it to win?
-
If you find the time, try different pins for interrupts, for me it is not entirely clear why it was PA2, but when connected to other pins, orange could not reboot
-
Everything worked! I tried various pins to interrupt and with PA2 worked without errors. Thank you all for the help!
-
After all the fixes, errors ceased to appear and the interface can0 appeared! Thank you! root@orangepizeroplus2:~# dmesg|grep mcp [ 8.873365] mcp251x spi1.0 can0: MCP2515 successfully initialized. root@orangepizeroplus2:~# dmesg|grep can [ 8.803670] can: controller area network core (rev 20120528 abi 9) [ 8.873365] mcp251x spi1.0 can0: MCP2515 successfully initialized. root@orangepizeroplus2:~# ifconfig -a can0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 NOARP MTU:16 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame
-
My connection with the module: 4 VCC 6 GND 19 - GPIO 15 - MOSI 21 - GPIO 16 - MISO 23 - GPIO 14 - CLK 24 - GPIO 13 - CS0 It's right? Is it necessary to connect a pin-INT on the module mcp2515, or without it to worked?
-
What pin should I choose?
-
Corrected root@orangepizeroplus2:~# dmesg|grep mcp25 [ 8.346819] mcp251x spi1.0: Error applying setting, reverse things back [ 8.346839] mcp251x: probe of spi1.0 failed with error -22 root@orangepizeroplus2:~# dmesg|grep can [ 8.309157] can: controller area network core (rev 20120528 abi 9) [ 8.346796] sun8i-h3-pinctrl 1c20800.pinctrl: pin PA13 already requested by 1c69000.spi; cannot claim for spi1.0
-
/dts-v1/; /plugin/; / { compatible = "allwinner,sun4i-a10", "allwinner,sun7i-a20", "allwinner,sun50i-a64", "allwinner,sun50i-h5"; fragment@0 { target-path = "/clocks"; __overlay__ { #address-cells = <1>; #size-cells = <1>; can0_osc_fixed: can0_osc_fixed { compatible = "fixed-clock"; #clock-cells = <0>; clock-frequency = <8000000>; }; }; }; fragment@1 { target = <&pio>; __overlay__ { can0_pin_irq: can0_pin_irq { pins = "PA13"; function = "irq"; bias-pull-up; }; }; }; fragment@2 { target = <&a
-
Need help! I'm trying to connect the mcp2515 module to the Orange Pi Zero 2+ H3, but I can not. Dmesg wrote: [8.572220] mcp251x spi0.0: Can not initialize MCP2515. Wrong wiring? [8.572248] mcp251x spi0.0: Probe failed, err = 19 The OS is assembled from a night assembly with CAN-BUS support: Root @ orangepizeroplus2: ~ # uname -a Linux orangepizeroplus2 4.11.9-sun8i # 17 SMP Sat Jul 29 00:21:32 CEST 2017 armv7l armv7l armv7l GNU / Linux I connect modules without problems: Modprobe can Modprobe can-dev Modprobe mcp251x I use this overlay (PA7 is replaced with PA13 according t