Search found 22 matches

by DrSegatron
Wed Oct 11, 2017 1:01 am
Forum: ESP32 IDF
Topic: 3-Wire SPI Open Drain?
Replies: 0
Views: 1130

3-Wire SPI Open Drain?

Can you configure SPI pins to be Open Drain? It seems to disconnect SPI from the GPIO matrix if I use the GPIO direction function: #define DATA 23 #define SCLK 19 #define CS 22 spi_bus_config_t buscfg= { .mosi_io_num=DATA, .miso_io_num=-1, .sclk_io_num=SCLK, .quadwp_io_num=-1, .quadhd_io_num=-1 }; s...
by DrSegatron
Tue Oct 10, 2017 2:53 pm
Forum: Hardware
Topic: About the CAN controller.
Replies: 173
Views: 105845

Re: About the CAN controller.

Should I be able to get output on the TX pin without having connected a tranceiver? I can't get anything out of CAN_write_frame(); : CAN_device_t CAN_cfg = { .speed=CAN_SPEED_125KBPS, // CAN Node baudrade .tx_pin_id = GPIO_NUM_5, // CAN TX pin .rx_pin_id = GPIO_NUM_4, // CAN RX pin .rx_queue=0, // F...

Go to advanced search