Vadzim Yatskevich

  • Content Count

  • Joined

  • Last visited

  1. Getting compilation error with "interrupts = <0 2 IRQ_TYPE_LEVEL_LOW>;" But when using " interrupts = <0 2 8>; /* PA2 IRQ_TYPE_LEVEL_LOW */ " (is that what Aleksey meant?) compilation is successfull and CAN interface is fully functional on Linux 5.10.16-sunxi
  2. So finally I found a dirty solution to have CAN bus on Orange pi Zero and Orange pi Zero plus 2. Downgrade to kernel version Linux 5.4.x (Linux 5.4.58-sunxi in my case) makes interrupt pins behavior completely adequate. Possible to use PA7 (for Orange pi Zero) and PA2 (Orange pi Zero plus 2).
  3. Can anyone explain strange driver behavior, actual CAN module connection: MCP2515 Opi Zero H2 INT PA7 SCK PA14 SI PA15 SO PA16 CS PA13 GND GND 5V 5V Either I write in overlay pins = "PA2"; or pins = "PA7"; mcp2515 is successfully initialized dasio@orangepizero:~$ dmesg | grep mcp [ 11.495643] mcp251x spi0.0 can0: MCP2515 successf