Search found 2 matches

by marchino81
Mon Jul 19, 2021 1:46 pm
Forum: ESP-IDF
Topic: ESP-C3 TWAI module on GPIO18 and GPIO19
Replies: 2
Views: 4680

Re: ESP-C3 TWAI module on GPIO18 and GPIO19

Hi,

I've tried updating esp-idf and adding

CLEAR_PERI_REG_MASK(USB_DEVICE_CONF0_REG, USB_DEVICE_USB_PAD_ENABLE);

on twai self test example and I confirm that I'm able to receive on GPIO19.

But if I configure the TWAI as TWAI_MODE_NORMALMODE or TWAI_MODE_LISTEN_ONLY like:

static const twai ...
by marchino81
Mon Jul 19, 2021 8:18 am
Forum: ESP-IDF
Topic: ESP-C3 TWAI module on GPIO18 and GPIO19
Replies: 2
Views: 4680

ESP-C3 TWAI module on GPIO18 and GPIO19

Hello,
We are developing an electronic control unit that integrates your ESP-C3 module and maps the TWAI module on GPIO18 and GPIO19.
If we use GPIO18 as Rx and GPIO19 as Tx all seems good, we are able to transmit and receive CAN messages to/from the bus.If we use GPIO18 as Tx and GPIO19 as Rx, we ...

Go to advanced search