Re: nuttx lora sx127x device use for help

2022-03-07 Thread Alan Carvalho de Assis
> Try to monitor this pin to see it changes status when other device > transmit. Also you can double check if the other device is > transmitting using a RTL-SDR device. > > BR, > > Alan > > On 3/3/22, Prelude wrote: > When I use it, one device sends a command using 'sx127x -t'

Re: nuttx lora sx127x device use for help

2022-03-07 Thread 王国柱
7 | | 收件人 | acas...@gmail.com | | 抄送至 | dev@nuttx.apache.org | | 主题 | Re: nuttx lora sx127x device use for help | I tested the two devices with an oscilloscope and both have signals, but there is no communication between the two devices. One is always sending data, and the other is waiting to receive

Re: nuttx lora sx127x device use for help

2022-03-07 Thread 王国柱
demo/sx127x_demo.c,Is this OK? 回复的原邮件 | 发件人 | 王国柱 | | 日期 | 2022年03月03日 12:17 | | 收件人 | acas...@gmail.com | | 抄送至 | dev@nuttx.apache.org | | 主题 | Re: nuttx lora sx127x device use for help | I tested the two devices with an oscilloscope and both have signals, but there is no communication between t

Re: nuttx lora sx127x device use for help

2022-03-02 Thread 王国柱
I tested the two devices with an oscilloscope and both have signals, but there is no communication between the two devices. One is always sending data, and the other is waiting to receive data. Does the communication between the two devices need to be networked first? That's what it used to be

Re: nuttx lora sx127x device use for help

2022-03-02 Thread Prelude
That's what it used to be, but I used two boards to execute sx127x -r on one of the boards and sx127x -t on the other, expecting communication between the two boards, but it didn't work as expected . Do you need any other configuration? the first board: nsh> sx127x -t Start sx127x_demo LORA modul

Re: nuttx lora sx127x device use for help

2022-03-02 Thread Alan Carvalho de Assis
If you configure created the initialization file, like: boards/arm/stm32/stm32f4discovery/src/stm32_sx127x.c And added the SPI chip to control your device, see CONFIG_LPWAN_SX127X at: see boards/arm/stm32/stm32f4discovery/src/stm32_spi.c Then the communication should work. Do you have a logic

Re: nuttx lora sx127x device use for help

2022-03-02 Thread Alan Carvalho de Assis
You just need two devices a tx and a rx. Look the sx127x demo app source code, you need to run the other as tx. BR, Alan On Monday, February 28, 2022, 王国柱 wrote: > > sx127x has been executed successfully > nsh> sx127x > Start sx127x_demo > LORA modulation > Set frequency to 93000 > Set po

nuttx lora sx127x device use for help

2022-03-02 Thread 王国柱
sx127x has been executed successfully nsh> sx127x Start sx127x_demo LORA modulation Set frequency to 93000 Set power to 14 Waiting for data But keep waiting for data,There should be more than two devices for communication here. How to set it up?

Re: nuttx lora sx127x device use for help

2022-03-02 Thread 经天纬地
Then I use two same STM32 boards to test Lora sx127x, one for receiving and one for sending. How should I set it, in nuttx code or menuconfig? 回复的原邮件 | 发件人 | MIGUEL ALEXANDRE WISINTAINER | | 日期 | 2022年02月28日 21:55 | | 收件人 | 经天纬地 | | 抄送至 | | | 主题 | Re: nuttx lora sx127x device use for

Re: nuttx lora sx127x device use for help

2022-03-02 Thread 王国柱
ig? 回复的原邮件 | 发件人 | MIGUEL ALEXANDRE WISINTAINER | | 日期 | 2022年02月28日 21:55 | | 收件人 | 经天纬地 | | 抄送至 | | | 主题 | Re: nuttx lora sx127x device use for help | Well, I tested the receive with other module transmitting lora, but not running NUTTX Enviado do meu iPhone Em 28 de fev. de 2022

Re: nuttx lora sx127x device use for help

2022-02-28 Thread MIGUEL ALEXANDRE WISINTAINER
e or menuconfig? 回复的原邮件 发件人 MIGUEL ALEXANDRE WISINTAINER<mailto:tcpipc...@hotmail.com> 日期 2022年02月28日 21:55 收件人 经天纬地<mailto:wgz_z...@163.com> 抄送至 主题 Re: nuttx lora sx127x device use for help Well, I tested the receive with other module transmitting lora, but not runn

Re: nuttx lora sx127x device use for help

2022-02-28 Thread MIGUEL ALEXANDRE WISINTAINER
复的原邮件 发件人 MIGUEL ALEXANDRE WISINTAINER<mailto:tcpipc...@hotmail.com> 日期 2022年02月28日 21:55 收件人 经天纬地<mailto:wgz_z...@163.com> 抄送至 主题 Re: nuttx lora sx127x device use for help Well, I tested the receive with other module transmitting lora, but not running NUTTX En

Re: nuttx lora sx127x device use for help

2022-02-26 Thread MIGUEL ALEXANDRE WISINTAINER
https://ttn-gateway-lora.blogspot.com/2022/01/wisol-lom204a02-mandando-e-recebendo.html?m=1 Enviado do meu iPhone Em 26 de fev. de 2022, à(s) 20:40, 王国柱 escreveu: The driver of Lora sx127x, the SPI peripheral we used was used in STM32, and it was successfully registered as a character device,

nuttx lora sx127x device use for help

2022-02-26 Thread 王国柱
The driver of Lora sx127x, the SPI peripheral we used was used in STM32, and it was successfully registered as a character device, but it kept reporting an error when it was opened. 1、The following is my configuration information: 2、The registered device name is /dev/sx127x 3、The error mess