<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[[M5CoreS3] No UART on Port.C of DIN BASE]]></title><description><![CDATA[<p dir="auto">Hi There,<br />
I am having issue with CoreS3: UART on Port.C does not work in Platformio with Arduino framework.</p>
<p dir="auto">The same code works with Core2 v1</p>
<p dir="auto">Already tried swapping pin 17 and 18 but nothing on the oscilloscope.</p>
<p dir="auto">Already tried using serial2 instead of HardwareSerial 2.</p>
<p dir="auto">Did anyone face similar issue?</p>
<p dir="auto">main.cpp:</p>
<pre><code>#include &lt;Arduino.h&gt;
#include &lt;Wire.h&gt;

#include &lt;M5Unified.h&gt;

#define CORE_S3

#ifdef CORE_S3

    static const int SERVO_UART_TX = 17;
    static const int SERVO_UART_RX = 18;

#elif defined CORE_2

    static const int SERVO_UART_TX = 13;
    static const int SERVO_UART_RX = 14; 
#endif


//HardwareSerial SerialServo(2);

void setup() {
    M5.begin();  // Init M5Core.  初始化 M5Core
    // Serial2.begin(unsigned long baud, uint32_t config, int8_t rxPin, int8_t
    // txPin, bool invert)
    Serial.begin(115200);
    // Serial2.begin(115200, SERIAL_8N1, 13,
    //               14);  // Init serial port 2.  初始化串口2
    Serial2.begin(1000000, SERIAL_8N1, SERVO_UART_TX, SERVO_UART_RX);  // Init serial port 2.  初始化串口2

  M5.Lcd.printf("Started");
  delay(200);
}

void loop() {
    Serial.write("aaaaaaaaaaaaaaa");
    Serial2.write("bbbbbbbbbbbbbb");
    delay(100);
}
</code></pre>
<p dir="auto">platformio.ini</p>
<pre><code>[env:m5stack-cores3]
monitor_speed = 115200
monitor_dtr = 0
monitor_rts = 0
platform = espressif32
board = m5stack-cores3
framework = arduino
lib_deps = 
  m5stack/M5Unified@0.2.3
</code></pre>
]]></description><link>https://community.m5stack.com/topic/7256/m5cores3-no-uart-on-port-c-of-din-base</link><generator>RSS for Node</generator><lastBuildDate>Wed, 11 Mar 2026 01:02:11 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/7256.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 02 Feb 2025 19:28:44 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to [M5CoreS3] No UART on Port.C of DIN BASE on Wed, 05 Feb 2025 10:41:14 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/4037">@felmue</a> I get output on pin 18 only (Port.C RX pin), pin 17 is always at 3.2V.</p>
<p dir="auto">When I tap directly into the pin header on CoreS3 the PC_TX is at 3.2V.</p>
<p dir="auto">It must be a faulty CoreS3 then.</p>
<p dir="auto">Thanks for your help.</p>
]]></description><link>https://community.m5stack.com/post/28121</link><guid isPermaLink="true">https://community.m5stack.com/post/28121</guid><dc:creator><![CDATA[Girgitt]]></dc:creator><pubDate>Wed, 05 Feb 2025 10:41:14 GMT</pubDate></item><item><title><![CDATA[Reply to [M5CoreS3] No UART on Port.C of DIN BASE on Wed, 05 Feb 2025 05:57:57 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/227152">@Girgitt</a></p>
<p dir="auto">sorry if I wasn't clear. I meant a simple blink program like the one below. Does that work on your M5CoreS3?</p>
<p dir="auto">If not, have you tried (as a test) without the Stepmotor Driver module?</p>
<p dir="auto">Thanks<br />
Felix</p>
<pre><code>#include &lt;Arduino.h&gt;

#define TX_PIN GPIO_NUM_17

void setup() {
  pinMode(TX_PIN, OUTPUT);
}

void loop() {
  digitalWrite(TX_PIN, HIGH);
  delay(1000);
  digitalWrite(TX_PIN, LOW);
  delay(2000);
}
</code></pre>
]]></description><link>https://community.m5stack.com/post/28113</link><guid isPermaLink="true">https://community.m5stack.com/post/28113</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Wed, 05 Feb 2025 05:57:57 GMT</pubDate></item><item><title><![CDATA[Reply to [M5CoreS3] No UART on Port.C of DIN BASE on Tue, 04 Feb 2025 15:56:49 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/4037">@felmue</a> I tried different pins order, CoreS3 and Core2. Core2 works fine (UART on Port.C works) but CoreS3 gives no output on Port.C. I confirm each test result with a scope.</p>
<p dir="auto">The hardfware is stacked like this:<br />
[Core2/CoreS3]<br />
[stepmotor drivert v1.1]<br />
[din base]</p>
]]></description><link>https://community.m5stack.com/post/28103</link><guid isPermaLink="true">https://community.m5stack.com/post/28103</guid><dc:creator><![CDATA[Girgitt]]></dc:creator><pubDate>Tue, 04 Feb 2025 15:56:49 GMT</pubDate></item><item><title><![CDATA[Reply to [M5CoreS3] No UART on Port.C of DIN BASE on Tue, 04 Feb 2025 09:43:20 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/227152">@Girgitt</a></p>
<p dir="auto">have you tried (as a test) to simply set the UART TX GPIO high or low?</p>
<p dir="auto">Could it be a contacts issue? Is the DIN Base stacked securely?</p>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/28096</link><guid isPermaLink="true">https://community.m5stack.com/post/28096</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Tue, 04 Feb 2025 09:43:20 GMT</pubDate></item></channel></rss>