fdcavalcanti commented on PR #13498:
URL: https://github.com/apache/nuttx/pull/13498#issuecomment-2449659418

   Those are both loopback tests.
   
   Here's the output on ESP32C3 when using TWAI defconfig with loopback enabled.
   
   Configuration used:
   - `./tools/configure.sh -l esp32c3-generic:twai`
   - Set:
   CONFIG_DEBUG_ASSERTIONS=y
   CONFIG_DEBUG_ASSERTIONS_EXPRESSION=y
   CONFIG_DEBUG_FEATURES=y
   CONFIG_CAN_LOOPBACK=y
   CONFIG_ESPRESSIF_TWAI_TEST_MODE=y
   CONFIG_ESPRESSIF_TWAI0_TXPIN=8
   CONFIG_ESPRESSIF_TWAI0_RXPIN=8
   - make and flash
   
   # Expected output
   Hash: e3d7d236189517129b66557342ed1273c84f8ab8
   ```
   nsh> can -n 5 -b 5
   nmsgs: 5
   min ID: 1 max ID: 5
   Bit timing:
      Baud: 1818181
     TSEG1: 16
     TSEG2: 5
       SJW: 4
     ID:    1 DLC: 1
     ID:    1 DLC: 1
     ID:    1 DLC: 1 -- OK
     ID:    2 DLC: 2
     ID:    2 DLC: 2
     ID:    2 DLC: 2 -- OK
     ID:    3 DLC: 3
     ID:    3 DLC: 3
     ID:    3 DLC: 3 -- OK
     ID:    4 DLC: 4
     ID:    4 DLC: 4
     ID:    4 DLC: 4 -- OK
     ID:    5 DLC: 5
     ID:    5 DLC: 5
     ID:    5 DLC: 5 -- OK
   Terminating!
   ```
   # Current output
   Hash: 761ee819568a52f1934ccf17bae20fe9816ebdec (this PR)
   ```
   nsh> can -n 5 -b 5
   nmsgs: 5
   min ID: 1 max ID: 5
   Bit timing:
      Baud: 1818181
     TSEG1: 16
     TSEG2: 5
       SJW: 4
     ID:    1 DLC: 1
   
   ```
   Stops responding at this point


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to