Troubleshooting Pinedio LoRa Add-on Case
#1
Hi everyone,

I am trying to run meshtasticd on my Pinephone.
Suddenly tough, the received bytes of the SX1262 are all zero, and I never managed to get the standard 0xA2 answer back.
I2C communication works still, which is why I am suspecting that the radio chip is at fault.
Does anybody know what I was doing wrong or how to debug this?

Onto the details, I simply implemented an SPI device driver which translates to I2C such that mestasticd can communicate with it as if the ATTiny bridge isn't there.
The code for the kernel driver and a dmesg trace with debug output can be found here: https://gist.github.com/pectec/ffddf32ae...041bc92bbe

Any help on this is appreciated Smile

Thank you,
Nick

Edit: I managed to damage it, Pine64 says that there isn't going to be a production batch anytime soon.
My only option is DIY at this point (using a [url=https://www.amazon.de/dp/B0CSFG65MS?psc=1&ref=ppx_yo2ov_dt_b_product_details][/url]Waveshare RP2040), which I'll do when I come around to it, so I'll mark this issue as solved.
  Reply
#2
(06-16-2024, 01:03 AM)nickp Wrote: Hi everyone,

I am trying to run meshtasticd on my Pinephone.
Suddenly tough, the received bytes of the SX1262 are all zero, and I never managed to get the standard 0xA2 answer back.
I2C communication works still, which is why I am suspecting that the radio chip is at fault.
Does anybody know what I was doing wrong or how to debug this?

Onto the details, I simply implemented an SPI device driver which translates to I2C such that mestasticd can communicate with it as if the ATTiny bridge isn't there.
The code for the kernel driver and a dmesg trace with debug output can be found here: https://gist.github.com/pectec/ffddf32ae...041bc92bbe

Any help on this is appreciated Smile

Thank you,
Nick

Edit: I managed to damage it, Pine64 says that there isn't going to be a production batch anytime soon.
My only option is DIY at this point (using a [url=https://www.amazon.de/dp/B0CSFG65MS?psc=1&ref=ppx_yo2ov_dt_b_product_details][/url]Waveshare RP2040), which I'll do when I come around to it, so I'll mark this issue as solved.

You can check out with JF at chatroom, he implemented that Lora backcase i2c to SPI code.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Case for Pinephone totilele 13 8,599 04-11-2024, 11:48 AM
Last Post: gramonyl
  Slip/Zippered Case for PP/KB? jakfish 0 376 03-03-2024, 04:55 PM
Last Post: jakfish
  keyboard case charging but not typing new2pinephone 18 6,666 02-19-2024, 07:30 AM
Last Post: theResonant
  Getting all keys working on pine phone keyboard-case undata 5 2,764 10-08-2023, 12:19 PM
Last Post: mburns
  PinePhone Wallet Case Shane 5 5,342 09-17-2023, 12:52 PM
Last Post: J T
  pinephone keyboard case how to use the = f8 - etc tuxcall 3 1,992 05-02-2023, 05:18 PM
Last Post: undata
  Using Keyboard Case with Mobian (complete instructions) Megamemnon 4 5,311 03-22-2023, 01:47 PM
Last Post: vgnmnky
  Otterbox case for PinePhone car46999 5 3,524 11-18-2022, 09:08 PM
Last Post: car46999
  A Pinephone case that'll actually prevent the screen from cracking mil 24 17,737 11-18-2022, 02:18 PM
Last Post: mil
  Pinephone (Pro) Keyboard Case for sale manubert 0 1,013 09-17-2022, 11:51 AM
Last Post: manubert

Forum Jump:


Users browsing this thread: 1 Guest(s)