Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sx126x support has any hope? #301

Open
addaedans opened this issue Apr 7, 2019 · 9 comments
Open

Sx126x support has any hope? #301

addaedans opened this issue Apr 7, 2019 · 9 comments
Assignees

Comments

@addaedans
Copy link

Hi! Is it possible that there will be support for the SX126x(especially 1262) chip? There is example for ping-pong comm between these chips but it would be quite difficult to implement lorawan into it for me to say the least...The example codes are quite hidden but i can share the links if someone would take a look at it.

@terrillmoore
Copy link
Member

I'm happy to look at the reference code, but I don't have test hardware, or know of a suitable source yet....

@terrillmoore
Copy link
Member

@cstratton found the datasheet for me, thanks. It's not a big project to add support. Steps are:

  1. make an abstract API at the radio.c boundary (the radio() function) -- this is just like the multi-region refactoring, use a macro to point to the real driver.
  2. edit the current sx1272/6 driver to use a new name for the entry point
  3. define HAL ways to get the radio configuration "as wired" pushed into the radio driver.
  4. write the driver.

I don't think any changes are needed in lmic*.c for this. It's all radio.c -> radio_sx127x.c and radio_sx126x.c. I imagine some HAL changes are needed; possibly the whole pinmapping structure has to change because it's 127x-ish.

Next step is to figure out how to find the time (and the suitable reference platform)...

@addaedans
Copy link
Author

addaedans commented Apr 10, 2019

Hi! Sorry for the late reply! Here is the link:
http://www.dorji.com/products-detail.php?ProId=65
At the resources tab there is the reference codes link which has all the files for the ping-pong comm.
Hope you can get it working :)

Edit: oh i see you found it...well that seems others are interested as well ;)

@addaedans
Copy link
Author

Hi! Is there any progress in the support of the 126x chipset?

@terrillmoore
Copy link
Member

Nope, I don't have hardware, and I don't have budget... So unless we can get someone to offer MCCI support to do this, or someone else wants to do the work, it won't happen for a while. Sorry.

Best regards,
--Terry

@addaedans
Copy link
Author

addaedans commented May 8, 2019 via email

@terrillmoore
Copy link
Member

Chips aren't sufficient, alas, we need working systems (CPU + chip + RF, etc.). There's also the issue of funding the engineering work and ongoing support. The cost is likely to be out of reach for an individual, but reasonable for a company. It could be crowd-sourced, I suppose, but I don't have the time to administer that kind of thing; and we spent my pro-bono budget for the year already on pi64.win.

Drop me an email at tmm@mcci.com and we can discuss further if you're interested.

@slavendam
Copy link

Hi,
any news about this?
As I can see, SX1262 became more available and suppliers sending notifications that SX1272 will become outdated soon (not sure what that "soon" really means).

@terrillmoore
Copy link
Member

@slavendam: Technically very possible. No funding. No notifications from MCCI's suppliers about the SX1276, which is what we use.

As said above:

There's also the issue of funding the engineering work and ongoing support. The cost is likely to be out of reach for an individual, but reasonable for a company. It could be crowd-sourced, I suppose, but I don't have the time to administer that kind of thing.

I can easily use the Heltec modules for reference. But without a business case to do this, my time is not available. I had no response to the quoted comment previously, so I assume that there is no commercial interest in this. MCCI can't fund it, and I can't fund this myself; the pandemic era has been challenging. Sorry to disappoint. If someone wants to volunteer to run a fundraising drive (via The Things Network NY, which is a non-profit), then it could be crowd sourced. But I don't have the time to run a crowdsourcing program.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants