I am having a problem that I've seen other people have had in the past yet haven't seen any clear solutions for the problem. The thing is that after sending and receiving some messages through the LoRa module, the board ends up stuck in either the endPacket function or the available, both contained in the MKRWAN library.
From what I have been able to gather, some people have reffered to installing capacitors in case it is a power issue, others changing the speed of the SPI communication or removing the antenna in order to reduce RF reflection. I have found these in the following links:
Apparently there is an issue with a chip from semtech in certain boards but in my case as I use the mkr 1300 with a murata CMWX1ZZABZ-078 chip. Trying every solution posted and still not working I am resorting to ask you in case anyone might have any more insight on what could be happening.
From personal experience, I have had this problem happen much more frequently as I progressed with my current project and had to send to the board larger packets. At first I thought It was because of the program I was developing but this problem appears with the provided examples of the library. I have also tried running the programs in two different 1300 boards and I have the same issue.
Any help is very much appreciated! Thanks in advance
Larger packets a cause ? I dont think so, I have been doing heaps and heaps of testing of large (64kbyte) file\image transfers with max size 255 byte packets, never seen a single TX timeout myself.
As a precaution the library functions do implement a configurable timeout if TXdone (or indeed RXdone) fails to assert in the specified timeout and if it happens its reported too.