LCP54S005 using SPI to LoRa SX1262 board

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

LCP54S005 using SPI to LoRa SX1262 board

跳至解决方案
3,311 次查看
JLatour
Contributor I

Hey.

First project with this microcontroller.  The pinout designed by others has us using multiple Flexcomm pins in order to have the LoRa chip connected for use.

Do we need to have all connections related to the LoRa connected to 1 specific Flexcomm peripheral or can this still work using multiple?

Is there any example code for using LoRa communications over SPI?

标签 (2)
1 解答
3,287 次查看
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

You can use any spi interface  to connect to the SPI port of LAMBDA62,  for example, you can connect the FC2 to the spi port of LAMBDA62 , the FC2 functions as master.

LPC54S005                                                                           LAMBDA62

PIO1_23/FC2_SCK                                                               pin13/ Serial Clock

PIO1_24 FC2_RXD_SDA_MOSI                                          pin15/ Serial Data In

PIO1_25 FC2_TXD_SCL_MISO                                             pin14/ Serial Data Out 

PIO1_26 FC2_CTS_SDA_SSEL0                                          pin16/ nSEL 

Regarding the firmware, pls download SDK package from the link:

https://mcuxpresso.nxp.com/en/welcome

 

You can refer to the example of SPI, you can click driver_examples->spi

 

xiangjun_rong_2-1656643108526.png

 

 

Hope it can help you

BR

XiangJun Rong

 

 

在原帖中查看解决方案

0 项奖励
回复
3 回复数
3,292 次查看
JLatour
Contributor I

Hey,

I made a mistake with the part number.  We are using the LAMBDA62 by RF Solutions (attached datasheet) which has an integrated LoRa semtech SC1262 modem.  According to this documentation programming of the module is via SPI interface.

0 项奖励
回复
3,288 次查看
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

You can use any spi interface  to connect to the SPI port of LAMBDA62,  for example, you can connect the FC2 to the spi port of LAMBDA62 , the FC2 functions as master.

LPC54S005                                                                           LAMBDA62

PIO1_23/FC2_SCK                                                               pin13/ Serial Clock

PIO1_24 FC2_RXD_SDA_MOSI                                          pin15/ Serial Data In

PIO1_25 FC2_TXD_SCL_MISO                                             pin14/ Serial Data Out 

PIO1_26 FC2_CTS_SDA_SSEL0                                          pin16/ nSEL 

Regarding the firmware, pls download SDK package from the link:

https://mcuxpresso.nxp.com/en/welcome

 

You can refer to the example of SPI, you can click driver_examples->spi

 

xiangjun_rong_2-1656643108526.png

 

 

Hope it can help you

BR

XiangJun Rong

 

 

0 项奖励
回复
3,301 次查看
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

Can you share the reference manual of SX1262?

I just be browsed the data sheet, it appears that the SX1262 just has uart port, which can communicate with host. In other words, you can connect the FCx_RXD of LPC54S005 to the TXD of SX1262, connect the FCx_TXD of LPC54S005 to the RXD of SX1262, connect the M0/M1/AUX pins of SX1262 to GPIO pins, it is okay.

Hope it can help you

BR

XiangJun Rong

 

0 项奖励
回复