@iosman123 please edit your post and add ``` alone on a line both before or after your code, or use the code feature in the toolbar, so that it gets properly formatted. Indenting is essential in python and it’s impossible to know what your code does exactly without proper formatting.
Also, do you properly receive uplinks, and what logs do you get (both in the gateway and on the LoPy)?
I dont know if it will help but i work with some different embedded board and it's look like the following.
The main power as not enougth output to provide peak current when modem try to attache the network, with gsm/gprs it's a burst peak current over 1A, with NbIoT it's above 600mA.
Change your battery, wait for it to be fully charged and after that try again.
Once attached the peak current is lower with NbIoT and the trouble is gone.
hi @ferfersan6, maybe the port is already taken by another instance of VSC. Try restarting VSC (all windows).
Also check in Device Manager is COM really pops on/off when USB is connected/disconnected.
In the last case, we've seen things sorted out fine after a Windows restart.
I haven't tried CANBUS on the Pycom. The filters look a bit concerning, is it possible to try it without filters to start with. They are generally used on a very busy bus were the micro is unable to cope with the rate of messages arriving.
It is also worth checking some physical things. Do you have the 120ohm terminating resistors on your bus? Pin 8 to ground to take the MCP2562 out of standby mode? Also the MCP2562 needs 5V supply (but can operate at 3.3v logic level). I have used SN65HVD230DR with esp32 successfully, it has 3v3 supply and logic level.
It might also be worth getting a simple scope to look at what is happening on your bus, even a really cheap one will be okay, as you just need to see the pattern and levels are roughly okay.
@svonbentzel That is strange. What do you get with the sequence:
from network import LTE
If the command returns 99,99, repeat it after a while.
99,99 means: no signal.