firmware icon indicating copy to clipboard operation
firmware copied to clipboard

lora setup

Open maxim1470 opened this issue 11 months ago • 1 comments

how to connect lora to m5stickplus 2 and t embed cc1101 plus and how to change pins where is the settings of it.Thanks if you reply

maxim1470 avatar Jan 04 '26 00:01 maxim1470

T-Embed cc1101 plus

T-Embed cc1101 plus do not have GPIO available to add Lora, because to use it you would need to use a SDCard Sniffer to extract the SPI Bus, and need 2 extra pins for CS and IRQ (DIO0/1).. but these pins (43/44) are already assigned to nRF24 (CE/CS respectively), which would lead to SPI Bus interference and it probably wouldn't work, even connecting Lora CS to 43 and IRQ on 44, because the IRQ normal state is LOW, signaling interruptions with IRQ with high state.. this would make the nRF24 being active during this time, and the SPI MISO bus being "jammed" to read from LoRa chip, as nRF24 and LoRa will answer at the same time

M5StickCPlus2

M5StickCPlus2 can use the same pinout as CC1101/nRF24 in legacy mode, where GDO0 is the IRQ (DIO0 or DIO1, depending on the module) pin..

You can use SX1276 or SX1262 modules on StickCPlus2

	;Lora setup pins
	LORA_SCK=0
	LORA_MISO=33
	LORA_MOSI=32
	LORA_CS=26
	LORA_RST=-1 (not connected)
	LORA_DIO0=25

@gato001k1 can help you with the StickCPlus 2 connections, as he uses a SX1276 on his device.

bmorcelli avatar Jan 05 '26 11:01 bmorcelli