RE: Serial RX DMA polling

2022-03-07 Thread Michal Lenc
Hi David, > https://github.com/PX4/PX4-Autopilot/blob/master/boards/px4/fmu-v5x/src/ init.cpp#L243-L247 that´s exactly what I was looking for, thanks! Best regards, Michal Lenc -- Původní e-mail -- Od: David Sidrane Komu: dev@nuttx.apache.org Datum: 7. 3. 2022 15:20:08 Pře

Re: SPI problem

2022-03-07 Thread Roberto Bucher
Sorry! Forgot my previous error! devtype was 23 and not 0x23!!! My fault Best regards Roberto On 3/7/22 16:48, Roberto Bucher wrote: Thanks Petro! This solve one part of the problem: I don't receive any crash now. There is another thinks tht is not clear to me: the macro SPIDEV_ID(spitool-

Re: SPI problem

2022-03-07 Thread Roberto Bucher
Thanks Petro! This solve one part of the problem: I don't receive any crash now. There is another thinks tht is not clear to me: the macro SPIDEV_ID(spitool->devtype, spitool->csn) is defined as #define SPIDEV_ID(type,index) uint32_t)(type)  & 0x) << 16) | \   

Re: SPI problem

2022-03-07 Thread Petro Karashchenko
Hello Roberto, I think that the problem is in the line's: "stm32_gpiowrite(g_spigpio[devid], !selected);". Those should be "stm32_gpiowrite(g_spigpio[SPIDEVID_INDEX(devid)], !selected);". Please try to see if that helps. Best regards, Petro пн, 7 бер. 2022 р. о 12:46 Roberto Bucher пише: > I

RE: Serial RX DMA polling

2022-03-07 Thread David Sidrane
Hi Michal, > rather from board level section Yes Have a look at this example. https://github.com/PX4/PX4-Autopilot/blob/master/boards/px4/fmu-v5x/src/init.cpp#L243-L247 -Original Message- From: Michal Lenc Sent: Sunday, March 6, 2022 2:38 PM To: dev@nuttx.apache.org Subject: Serial RX

Re: nuttx lora sx127x device use for help

2022-03-07 Thread Alan Carvalho de Assis
I see! So, it is reporting a CRC error. Do you have a low cost RTL-SDR? It could help you to identify what the TX is sent incorrectly. This LoRa example was working fine. Could it be some hardware issue? BR, Alan On 3/7/22, 王国柱 wrote: > Here is to judge whether the data is valid according to t

Re: nuttx lora sx127x device use for help

2022-03-07 Thread 王国柱
Hi,Now the receiving section has been waiting for data, entering the interrupt, GPIO_SX127X_DIO0 is configured with PC1, how can I debug it now? #defineGPIO_SX127X_DIO0 (GPIO_INPUT|GPIO_FLOAT|GPIO_EXTI|GPIO_PORTC|GPIO_PIN1) sx127x_write: buflen=5 sx127x_opmode_set: opmode_set 2->2 Sesx12

Re: nuttx lora sx127x device use for help

2022-03-07 Thread 王国柱
Set power to 14 Waiting for data sx127x_lora_isr0_process: ISR0: IRQ = 0x70 sx127x_lora_isr0_process: Invalid LORA RX data! On 3/7/2022 14:32,王国柱 wrote: Oh, sorry for the mistake in the email just now, the device running sx127x -r has been waiting for data Set power to 14 Waiting for data s

Re: SPI problem

2022-03-07 Thread Roberto Bucher
I reached to move a little forward by analyzing the SPI on the nucleo-144 STM32F7 board, and I found out that the problem is now in the calling of SPI_SELECT in the nuttx/drivers/spi/spi_transfer.c and the spi_transfer function. This are the values in the seq structure before launching the SPI

NuttX 10.3 release plan

2022-03-07 Thread alin.jerpe...@sony.com
Hi all, Our latest release (NuttX 10.2) was on 2021-11-28. I think that we can remove the DISCLAIMER and start the release process for 10.3 on the following schedule W10 -- Master Stability Window (keep the merging of risky PRs to a minimum this week) W11.2 -- Create the 10.2 release br