Thales' cellular IoT products business is now part of Telit Cinterion, find out more.

You are here

SPI problem on EHS5 | Telit Cinterion IoT Developer Community

September 19, 2016 - 8:34am, 8058 views

Hello,

I have a problem with SPI port on EHS engine REVISION 03.001, A-REVISION 00.000.14.

Initially I tried to open SPI port from Java midlet, but the code:

SpiConnection spiConnection = (SpiConnection)Connector.open("SPI:0;baudrate=100;clockMode=0");

thrown an javax.microedition.io.ConnectionNotFoundException, then I tried to use AT commands without any running midlet. First of all, I configured the port:

AT^SCFG="GPIO/mode/SPI"

but I received a "+CME ERROR: Unknown" to all these commands:

AT^SSPI?

AT^SSPI=?

AT^SSPI=1000,0000,1000

AT^SSPI=

Can you help me? Is there a wrong step in my procedure? The same commands works perfectly with BGS5 engine.

Thank you in advance.

Best regards,

Alessio.