Search found 22 matches
- Wed Oct 11, 2017 1:01 am
- Forum: ESP-IDF
- Topic: 3-Wire SPI Open Drain?
- Replies: 0
- Views: 3109
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...
- Tue Oct 10, 2017 2:53 pm
- Forum: Hardware
- Topic: About the CAN controller.
- Replies: 175
- Views: 307499
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...