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

Add support for LR1110 / LR1120 radios #679

Closed
caveman99 opened this issue Feb 9, 2023 · 17 comments
Closed

Add support for LR1110 / LR1120 radios #679

caveman99 opened this issue Feb 9, 2023 · 17 comments
Assignees
Labels
enhancement New feature or request resolved Issue was resolved (e.g. bug fixed, or feature implemented)

Comments

@caveman99
Copy link
Contributor

caveman99 commented Feb 9, 2023

Semtech introduced a new range of wideband radios. The LR1110 is meant for Sub-GHz bands while the LR1120 is a full band chip ranging up to 2.4 GHz. In addition the chips can capture raw GPS data for post processing.

I have a LR1120 dev board here and will be looking into basic support, just opening the issue for others to chime in.

@jgromes
Copy link
Owner

jgromes commented Feb 9, 2023

Thanks for the heads-up - those are some really interesting chips, especially the LR1120. I will have to see if I can get my hands on a development kit (Mouser seems unwilling to sell me one ...).

On the first glance, it loooks like the SPI interface is the same as for the SX126x/8x series, so it should be pretty straight-forward to get thee up and running.

@jgromes jgromes added enhancement New feature or request help wanted If you're looking to help with RadioLib development, these are the issues to work on labels Feb 11, 2023
@jgromes
Copy link
Owner

jgromes commented Feb 19, 2023

@caveman99 FYI in recent commits, I moved parts of the SX126x/8x SPI interface the the Module class, so that could be useful to you should you decide to add the support.

@jgromes jgromes pinned this issue Jul 6, 2023
@alistair23
Copy link
Contributor

This looks like a great development platform for the LR1110: https://wiki.seeedstudio.com/Wio-WM1110_Dev_Kit_Hardware_Overview/

Seeed have even announced a product based on it: https://www.kickstarter.com/projects/seeed/sensecap-t1000-track-what-you-care-with-no-boundaries

@bradjc
Copy link

bradjc commented Nov 30, 2023

On the first glance, it loooks like the SPI interface is the same as for the SX126x/8x series, so it should be pretty straight-forward to get thee up and running.

I just want to note that the LR1110 uses an entirely different SPI interface from the SX12xx chips. The user manual documents the interface.

@jgromes
Copy link
Owner

jgromes commented Dec 1, 2023

@bradjc I meant that the interface "style" seems the same - most functionality is accessed via SPI commands with BUSy signal, just like on the SX126x/8x series (and not via SPI registers like on SX127x), that's the critical thing.

@jgromes
Copy link
Owner

jgromes commented Dec 1, 2023

@caveman99 I recently got my hands on LR1110 dev board, did you start working on this at some point?

@caveman99
Copy link
Contributor Author

caveman99 commented Dec 1, 2023

@jgromes i did start with the wio-wm1110 dev kit but didn't get to the Radio part. The bootloader and base Firmware is almost working ;-)

@jgromes
Copy link
Owner

jgromes commented Dec 29, 2023

@caveman99 I had a bit of time to work on this over the holidays, I have a basic SPI interface to the LR1110 and can read the version info:

11:42:59.592 -> [LR1110] Initializing ... 
11:42:59.592 -> RadioLib Debug Info
11:42:59.592 -> Version:  6.3.0.0
11:42:59.592 -> Platform: Adafruit nRF52
11:42:59.592 -> Compiled: Dec 29 2023 10:06:54
11:42:59.592 -> 
11:42:59.776 -> CMDW	1	1	
11:42:59.776 -> SI			
11:42:59.776 -> SO	5	13	
11:42:59.776 -> CMDR	
11:42:59.776 -> SI	0	0	0	0	0	
11:42:59.776 -> SO	7	22	1	3	7	
11:42:59.776 -> Found LR11x0: RADIOLIB_LR11X0_CMD_GET_VERSION = 0x01
11:42:59.776 -> M	LR11x0

So I guess now it's time to start implement all the commands.

@jgromes jgromes removed the help wanted If you're looking to help with RadioLib development, these are the issues to work on label Feb 15, 2024
@jgromes jgromes self-assigned this Feb 15, 2024
@gc9n
Copy link

gc9n commented Mar 20, 2024

ImportedPhoto_1710859225239-1

LR1121 it's ready to rock but I cannot talk T her. Any news on the support

@jgromes
Copy link
Owner

jgromes commented Mar 20, 2024

@gc9n I got a little bit stuck with my hardware (and somewhat sidetracked with other stuff). I did get the driver to transmit LoRa, but not to receive yet. So still in progress and not ready to be shared yet ;)

@gc9n
Copy link

gc9n commented Mar 21, 2024

Hey @caveman99 did you manage to make your board work?
i mean i dont want to mess with SEMTECH github examples etc , is a nightmare , i need a simple Arduino project , i need a library to talk into LR1121 , my board is connected to a ESP32 , and is ready ,

@gc9n
Copy link

gc9n commented Mar 21, 2024

IMG_20240321_134908
IMG_20240321_134921

@gc9n
Copy link

gc9n commented Mar 21, 2024

@gc9n I got a little bit stuck with my hardware (and somewhat sidetracked with other stuff). I did get the driver to transmit LoRa, but not to receive yet. So still in progress and not ready to be shared yet ;)

Thanks I am looking forward for you to release something, remember , that there is no library out there for this chip (for Arduino IDE)

@jgromes
Copy link
Owner

jgromes commented Apr 14, 2024

More than a year later, but basic LR11x0 support has been added - see https://github.com/jgromes/RadioLib/tree/master/examples/LR11x0

Currently, LoRa transmit and receive is implemented in both blocking as well as interrupt mode. I would also like to implement GFSK support before closing this issue.

Additional features of the LR11x0 like the WiFi and GNSS scanning will be added after that, as I don't yet have a clear idea of what the public API should look like.

@gc9n
Copy link

gc9n commented Apr 14, 2024

FSK is very very important!
Good job

@jgromes
Copy link
Owner

jgromes commented Apr 20, 2024

In the last couple of commits support for GFSK and LoRa CAD was added. With that I think the basic support for LR11x0 can be considered complete. As mentioned above, support for the features specific to LR11x0 will be added gradually, though hopefully before the next update (6.6.0).

@jgromes jgromes closed this as completed Apr 20, 2024
@jgromes jgromes added the resolved Issue was resolved (e.g. bug fixed, or feature implemented) label Apr 20, 2024
@Tipetofficial
Copy link

@gc9n Were you able to get the Semtech LR1121 Devkit running and can share some code?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request resolved Issue was resolved (e.g. bug fixed, or feature implemented)
Projects
None yet
Development

No branches or pull requests

6 participants