cancel
Showing results for 
Search instead for 
Did you mean: 

How can I combine examples ENDNODE and AT_SLAVE in I-CUBE-LRWAN 2.0.0

SYun.2
Associate III

I'm developing LoRa's ENDNODE using the "ENDNODE" example.

In the "ENDNOE" example, see "AT_SLAVE" to run ATCOMAND.

For UART setup

To change to UART2->LPUART

extern UART_HandleTypeDef hlpuart1;

I'm developing LoRa's ENDNODE using the "ENDNODE" example.

In the "ENDNOE" example, see "AT_SLAVE" to run ATCOMAND.

For UART setup

extern UART_HandleTypeDef hlpuart1;

I'm developing LoRa's ENDNODE using the "ENDNODE" example.

In the "ENDNOE" example, see "AT_SLAVE" to run ATCOMAND.

For UART setup

To change to UART2->LPUART

extern UART_HandleTypeDef hlpuart1;

I'm developing LoRa's ENDNODE using the "ENDNODE" example.

In the "ENDNOE" example, see "AT_SLAVE" to run ATCOMAND.

In main.h for UART setup

extern UART_HandleTypeDef hlpuart1;

#define UartHandle hlpuart1

Declared that

At uart_if.c

UTIL_ADV_TRACE_Status_t vcom_Init(void (*cb)(void *))

void MX_LPUART1_Init(void)

You have also added an msp function.

Add a function

stm32l0xx_it.c에 "void LPUART1_IRQHandler(void)"

I also added a handler.

However, neither the applog function nor the appprint function works, nor does the handler work.

Please advise which part I should revise further.

0 REPLIES 0