You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using the library in a project with a 915MHz SX1276. The initialization of the module went smoothly and I'm already receiving a message saying that the LoRa module is ready for use.
However, I'm having problems transmitting. The transmitter manages to send the signal via the LoRa_transmit command, and gets a return = 1. But the receiver doesn't receive the packet.
Why is this happening? I've configured it according to the Readme example and I've also used HAL_GPIO_EXTI_Callback in case the interrupt on the DIO pin happens.
int main(void)
{
/* USER CODE BEGIN 1 */
/* USER CODE END 1 */
/* MCU Configuration--------------------------------------------------------*/
/* Reset of all peripherals, Initializes the Flash interface and the Systick. */
HAL_Init();
/* USER CODE BEGIN Init */
/* USER CODE END Init */
/* Configure the system clock */
SystemClock_Config();
/* USER CODE BEGIN SysInit */
/* USER CODE END SysInit */
/* Initialize all configured peripherals */
MX_GPIO_Init();
MX_I2C1_Init();
MX_SPI1_Init();
MX_USART1_UART_Init();
MX_USART2_UART_Init();
/* USER CODE BEGIN 2 */
setup();
/* USER CODE END 2 */
/* Infinite loop */
/* USER CODE BEGIN WHILE */
while (1)
{
/* USER CODE END WHILE */
loop();
/* USER CODE BEGIN 3 */
}
/* USER CODE END 3 */
}
The text was updated successfully, but these errors were encountered:
I'm using the library in a project with a 915MHz SX1276. The initialization of the module went smoothly and I'm already receiving a message saying that the LoRa module is ready for use.
However, I'm having problems transmitting. The transmitter manages to send the signal via the LoRa_transmit command, and gets a return = 1. But the receiver doesn't receive the packet.
Why is this happening? I've configured it according to the Readme example and I've also used HAL_GPIO_EXTI_Callback in case the interrupt on the DIO pin happens.
RX Code:
TX Code:
Constructor:
The text was updated successfully, but these errors were encountered: