# Portenta H7 - Cat. M1/NB shield does not connect over LTE Cat-M1

**URL:** <https://forum.arduino.cc/t/portenta-h7-cat-m1-nb-shield-does-not-connect-over-lte-cat-m1/1007721>\
**Category:** Portenta CAT.M1/NB IoT GNSS Shield\
**Created:** [June 29, 2022, 8:02am UTC](https://forum.arduino.cc/t/portenta-h7-cat-m1-nb-shield-does-not-connect-over-lte-cat-m1/1007721 "2022-06-29T08:02:51Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![laurenssl](https://avatars.discourse-cdn.com/v4/letter/l/2bfe46/32.png) [@laurenssl](https://forum.arduino.cc/u/laurenssl)\
**Post date:** [July 5, 2022, 5:52pm UTC](https://forum.arduino.cc/t/portenta-h7-cat-m1-nb-shield-does-not-connect-over-lte-cat-m1/1007721/2 "2022-07-05T17:52:30Z")

</div>

_Update_

Turned out that the Cat M1 bands are disabled by default.

```cpp
AT^SCFG="Radio/Band/CatM"
^SCFG: "Radio/Band/CatM","00000000"

```

To enable the Cat M1 bands, enter the following command (use `80000` is for B20):

```cpp
AT^SCFG="Radio/Band/CatM","80000"  
^SCFG: "Radio/Band/CatM","00080000"

```

Reference: check the **AT Commands manual** at the Thales website - [link](https://www.thalesgroup.com/en/markets/digital-identity-and-security/iot/iot-connectivity/products/iot-products/tx62).

Arduino sketch to directly communicate with the Cinterion TX62 module:

```cpp
 /*
  SerialPassthrough sketch

  Some boards, like the Arduino 101, the MKR1000, Zero, or the Micro, have one
  hardware serial port attached to Digital pins 0-1, and a separate USB serial
  port attached to the IDE Serial Monitor. This means that the "serial
  passthrough" which is possible with the Arduino UNO (commonly used to interact
  with devices/shields that require configuration via serial AT commands) will
  not work by default.

  This sketch allows you to emulate the serial passthrough behaviour. Any text
  you type in the IDE Serial monitor will be written out to the serial port on
  Digital pins 0 and 1, and vice-versa.

  On the 101, MKR1000, Zero, and Micro, "Serial" refers to the USB Serial port
  attached to the Serial Monitor, and "Serial1" refers to the hardware serial
  port attached to pins 0 and 1. This sketch will emulate Serial passthrough
  using those two Serial ports on the boards mentioned above, but you can change
  these names to connect any two serial ports on a board that has multiple ports.

  created 23 May 2016
  by Erik Nyquist
*/
#include "mbed.h"

#define MBED_CONF_GEMALTO_CINTERION_RTS PI_10
#define MBED_CONF_GEMALTO_CINTERION_TX PA_0
#define MBED_CONF_GEMALTO_CINTERION_RX PI_9
mbed::DigitalOut on(PJ_7, 1);
mbed::DigitalOut rts(MBED_CONF_GEMALTO_CINTERION_RTS, 0);

arduino::UART SerialGemalto(MBED_CONF_GEMALTO_CINTERION_TX, MBED_CONF_GEMALTO_CINTERION_RX, NC, NC);

void setup() {
  Serial.begin(115200);
  //while(!Serial)
  SerialGemalto.begin(115200);
  on = 0;
  delay(200);
  on = 1;
   
  delay(200);
  pinMode(PJ_7,INPUT_PULLDOWN);

}

void loop() {
  if (Serial.available()) { // If anything comes in Serial (USB),
    char c = Serial.read();
    SerialGemalto.write(c); // read it and send it out Serial1 (pins 0 & 1)
    //Serial1.write(c);
  }

  if (SerialGemalto.available()) { // If anything comes in Serial1 (pins 0 & 1)
    char c = SerialGemalto.read();
    Serial.write(c); // read it and send it out Serial (USB)
  }
}

```

---

_[View the full topic](https://forum.arduino.cc/t/portenta-h7-cat-m1-nb-shield-does-not-connect-over-lte-cat-m1/1007721)._
