Hi, I made those interface boards. A while ago I received a batch of pin headers (the 20x2 type) that seemed to make bad contact when stacked. I noticed it while testing the boards (I test every assembled board manually before shipping) and tried to replace all pin headers with good ones, but maybe some still slipped through. (I threw them all in the thrash now, to be safe ) .
You say that the same issue happens if you wire up the iC880A board with jumper wires. In that case this should not be the cause, but maybe it was just a coincidence?
Could you use this test script to turn on all LEDs and then wiggle around the board slightly to see if some of them turn on/off? If you have good connection between the pin headers, the LEDs should never flicker.
I tried your script and all the leds work fine and so does the button. Its difficult to āwiggleā the backplane as its screwed down tight on standffs.
I have pin 22 (RESET) jumpered to the blue led so I know when the RESET pulse is sent but the ic880a doesnāt react to it at all.
I donāt think its a backplane or a hardware issue as exactly the same thing happens with my ātestā gateway which is just an RPi3B jumpered to an ic880a. When I re-boot, the ic880a fails to respond to the RESET signal and the gateway doesnāt start.
I have two batches of ic880s and so far it only did that on one (OLDER batch)ā¦ the other (belonging to a different/newer batch) is still aliveā¦ waiting for it to (knock on wood) āmisbehaveā. the one that āmisbehavedā before had # 0488 on the small square label and # 003609 on the large label ~13.2mm x 11.2mm. the NEWER batch that is still working have # 0038 on the small label and # 003892 on another, the label being ~13.2mm x 7.0mm. Iāll do some more tests (run the gateways in parallel to see if behavior is different for each one).
Iāve set the DEBOG_HAL to 1 and all I get is - 31.07.17 21:53:10 (+0000) ERROR: FAIL TO CONNECT BOARD
I donāt know how to do the last 2 steps - start the tool and log the output and āplayā a little bit with this tool while logging the output. I canāt find these 2 directories in my resin build. Maybe they are not there and I need to adjust my /dev/build.sh file to get them complied - I donāt know.
The white labels on the board are Batch and Serial numbers.
Mine is 0350 and 003959 on one
and (canāt see it) and 003506 on the other.
I was asked for these when I opened a ticket.
In your log there is a pin 22 mentioned (physical pin), instead of 25 (gpio number of pin 22):
This is a part of the Resin.io log -
31.07.17 22:49:09 (+0000) [TTN Gateway]: Resetting concentrator on pin 22
31.07.17 22:49:10 (+0000) *** Multi Protocol Packet Forwarder for Lora Gateway ***
So I presumed that was the same configuration typo as I had, I changed in my configfile reset-pin 22 in reset-pin 25 and it worked like a charm
Can you find a non-LoRa way to toggle the GPIO pin up and down (from the raspberry pi) and confirm as far into the Ic880a board as you can that you see it go to a logical 0 and 1? (With a multimeter and the other lead going to a rPi ground.) Maybe its something easy like a loose solder joint somewhere. (It happens, especially with this sort of low volume stuff.)
Iād suspect easy things like voltages, physical connections, and such before suspecting higher levels like silicon being bad or software being bad. (Are you sure that power supply doesnāt have current limiting mode enabled? Have you take a multimeter to it and looked to see how much AC ripple is on it? How far down does the 5Vdc line go down when thereās load? (If at all.) )
Iām fairly certain the pin 25 is translated to the appropriate GPIO. (But adding that into the debug text output should have been done to avoid this kind of confusionā¦)
SPI communication speed is fixed in the sources. To change a recompile of the code (libloragw, setting is in the concentrator specific include file, so libloragw/inc/imst_rpi.h for iC880a) will be required.
Hi Mr.
I have exactly the same problem as you have, I think to change the SPI speed might be solution for this problem. Since I am not understand very much about what you re discussing, would you mind show me how to change the speed in more details ?? thank you in advance.