Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • in reply to: No sucess on receiving sent data #22062
    1n5aN1aC
    Participant

      Well, even with a fair bit more work, I still can’t get any UART speed other than 9600 to work.

      It’s very weird, because I can successfully set the module to other baud rates, and the library appears to work at other baud rates, just nothing works correctly…..

      Set BAUD rate of the module: (Confirmed via printing applied settings)
      configuration.SPED.uartBaudRate = UART_BPS_57600;

      Declare module using that Baud rate:
      LoRa_E32 e32ttl100(LORARX, LORATX, LORAUX, LORAM0, LORAM1, UART_BPS_RATE_57600);

      I would be interested in using air rates other than the default, so it would be nice if faster UART rates could be possible.
      If anyone has any idea what could be the problem, I’d love to know, but I think 9600 can work for now….

      in reply to: No sucess on receiving sent data #21937
      1n5aN1aC
      Participant

        OK, I think I’ve figured it out. I can’t get it to work at any other UART speed other than 9600.

        It’s weird because I can program in other UART speeds, it does save the setting, and the library then believes it’s working, but the receiving side doesn’t seem to receive the messages….

        in reply to: No sucess on receiving sent data #21936
        1n5aN1aC
        Participant

          Hmmm, I seem to have success switching over to using AUX and using this constructor:

          LoRa_E32 e32ttl(9, 10, 8, 12, 11, UART_BPS_RATE_9600); //9=E32TX, 10=T32RX, 8=aux, 12=M0, 11=M1

          Not completely sure why it works this way but not the other way, but it does appear to work, so I’ll see if I can adapt that into my program.

          Thank you very much for this excellent library!

        Viewing 3 posts - 1 through 3 (of 3 total)