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?
Solved! Go to Solution.
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
Hope it can help you
BR
XiangJun Rong
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
Hope it can help you
BR
XiangJun Rong
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