Closed TelDragon closed 6 months ago
What shield are you using and how is it connected to your Raspberry Pi?
What shield are you using and how is it connected to your Raspberry Pi?
raspberry pi (cm4) - boot/config.txt
dtoverlay=spi0-1cs
dtoverlay=spi1-1cs
raspberry pi SPI explain
dev list
ls -ll /dev/spidev*
crw-rw---- 1 root spi 153, 0 May 6 16:30 /dev/spidev0.0
crw-rw---- 1 root spi 153, 1 May 6 16:30 /dev/spidev1.0
spidev0.0 For my 14 inch LCD screen :
VCC == 5V == 5V GND == GND == GND DIN == MOSI == 19 CLK == SCLK == 23 CS == CE0 == 24 DC == 25 == 22 RST == 27 == 13 BL == 18 == 12
spidev1.0 SX1302 Inside
SX1302_RESET == GPIO22 SX1302_SPI1_MISO == GPIO19 SX1302_CS == GPIO18 SX1302_SPI1_MOSI == GPIO20 SX1302_SPI1_SCLK == GPIO21
How can I customize my dev path to reset GPIO values in the configuration file? Instead of using the default.
But which brand / model concentrator shield do you have?
On Tue, May 7, 2024, 02:28 cloud-dragon @.***> wrote:
What shield are you using and how is it connected to your Raspberry Pi?
raspberry pi (cm4) - boot/config.txt
dtoverlay=spi0-1cs dtoverlay=spi1-1cs
dev list
ls -ll /dev/spidev* crw-rw---- 1 root spi 153, 0 May 6 16:30 /dev/spidev0.0 crw-rw---- 1 root spi 153, 1 May 6 16:30 /dev/spidev1.0
spidev0.0 For my 14 inch LCD screen :
VCC == 5V == 5V GND == GND == GND DIN == MOSI == 19 CLK == SCLK == 23 CS == CE0 == 24 DC == 25 == 22 RST == 27 == 13 BL == 18 == 12
spidev1.0 SX1302 Inside
— Reply to this email directly, view it on GitHub https://github.com/chirpstack/chirpstack-concentratord/issues/152#issuecomment-2097195886, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABIM6IBPCUKIP3OB4RMLF3ZBAU4PAVCNFSM6AAAAABGXLTBXSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJXGE4TKOBYGY . You are receiving this because you commented.Message ID: @.***>
But which brand / model concentrator shield do you have? … On Tue, May 7, 2024, 02:28 cloud-dragon @.> wrote: What shield are you using and how is it connected to your Raspberry Pi? raspberry pi (cm4) - boot/config.txt dtoverlay=spi0-1cs dtoverlay=spi1-1cs dev list ls -ll /dev/spidev crw-rw---- 1 root spi 153, 0 May 6 16:30 /dev/spidev0.0 crw-rw---- 1 root spi 153, 1 May 6 16:30 /dev/spidev1.0 spidev0.0 For my 14 inch LCD screen : VCC == 5V == 5V GND == GND == GND DIN == MOSI == 19 CLK == SCLK == 23 CS == CE0 == 24 DC == 25 == 22 RST == 27 == 13 BL == 18 == 12 spidev1.0 SX1302 Inside — Reply to this email directly, view it on GitHub <#152 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABIM6IBPCUKIP3OB4RMLF3ZBAU4PAVCNFSM6AAAAABGXLTBXSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJXGE4TKOBYGY . You are receiving this because you commented.Message ID: **@.***>
For the expansion board connecting Raspberry Pi CM4, we create our own expansion board to supplement our products. Not using expansion boards from mature and well-known brands in the market.
we create our own expansion board to supplement our products
In that case, you might want to make some modifications as the Concentratord keeps track of each Vendor / model profile. Please note that different gateway models might have different calibration values. These calibration tables make sure that when the gateway is requested to transmit with tx power X, that tx power X is feed into the antenna. Example:
If you decide to use an existing model, then you can override the reset pins using the following options:
E.g. under the [gateway]
section in the TOML config, you can add:
[gateway]
sx1302_reset_chip="/dev/gpiochip0"
sx1302_reset_pin=17
sx1302_power_en_chip="/dev/gpiochip0"
sx1302_power_en_pin=18
Dear author, hello. I am using Raspberry Pi 4 product. I want to implement the lorawan function. Currently, it is running using lora_pkt_fwd I have noticed your subroutine, but I have identified a small issue It defaults to using the spi dev address of/dev/spidev0.0, and the reset address is 7 But my/dev/spidev0.0 and gpio 7 have already been occupied. How can it be customized and changed in the toml configuration file?
error log info
Perhaps there may be configuration fields present