{"action":"created","issue":{"url":"https://api.github.com/repos/espressif/arduino-esp32/issues/1993","repository_url":"https://api.github.com/repos/espressif/arduino-esp32","labels_url":"https://api.github.com/repos/espressif/arduino-esp32/issues/1993/labels{/name}","comments_url":"https://api.github.com/repos/espressif/arduino-esp32/issues/1993/comments","events_url":"https://api.github.com/repos/espressif/arduino-esp32/issues/1993/events","html_url":"https://github.com/espressif/arduino-esp32/issues/1993","id":372948997,"node_id":"MDU6SXNzdWUzNzI5NDg5OTc=","number":1993,"title":"Cannot get RMT IR reception to work while using ETH PHY (Waveshare LAN8720)","user":{"login":"johannesmaibaum","id":43131840,"node_id":"MDQ6VXNlcjQzMTMxODQw","avatar_url":"https://avatars2.githubusercontent.com/u/43131840?v=4","gravatar_id":"","url":"https://api.github.com/users/johannesmaibaum","html_url":"https://github.com/johannesmaibaum","followers_url":"https://api.github.com/users/johannesmaibaum/followers","following_url":"https://api.github.com/users/johannesmaibaum/following{/other_user}","gists_url":"https://api.github.com/users/johannesmaibaum/gists{/gist_id}","starred_url":"https://api.github.com/users/johannesmaibaum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johannesmaibaum/subscriptions","organizations_url":"https://api.github.com/users/johannesmaibaum/orgs","repos_url":"https://api.github.com/users/johannesmaibaum/repos","events_url":"https://api.github.com/users/johannesmaibaum/events{/privacy}","received_events_url":"https://api.github.com/users/johannesmaibaum/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-23T11:24:35Z","updated_at":"2018-10-23T14:22:31Z","closed_at":null,"author_association":"NONE","body":"### Hardware:\r\nBoard:\t\t\t\t\t\t\tESP32 Dev Module\r\nCore Installation/update date:\t\t\tVersion 1.0.0 28/jul/2018\r\nIDE name:\t\t\t\t\t\tArduino IDE\r\nFlash Frequency:\t\t\t\t\t80Mhz\r\nPSRAM enabled:                                     no\r\nUpload Speed:\t\t\t\t\t\t921600\r\nComputer OS:                                         Ubuntu\r\n\r\n### Description:\r\nBased on the ESP-IDF example code for the RMT IR reception/transmission (https://github.com/espressif/esp-idf/tree/ee0ebc1/examples/peripherals/rmt_nec_tx_rx) I have created an Arduino style library to send out and receive NEC IR messages. All works fine until I want to add a Waveshare LAN8720 PHY board to the mix (eventually, I want to have the option to switch between WiFi and Wired LAN for my project). As soon as I'm trying to enable the IR reception part, I'm getting a `rmt: RMT[0] ERR` message with a status word that doesn't tell me anything (see debug messages below for full log).\r\n\r\nThere are no issues whatsoever when I'm using WiFi mode.\r\n\r\nAlso, it's only the reception part which is not working when using the ETH PHY, i.e. IR sending works like a charm both with ETH and WiFi.\r\n\r\nAny hint/help is much appreciated!\r\n\r\n\r\nFor reference, I have also created an ESP32.com forum thread for this issue (no answers yet over there): https://esp32.com/viewtopic.php?p=31964\r\n\r\n### Sketch:\r\nSee this repo for a minimal sketch that shows the issue: https://github.com/johannesmaibaum/ESP32-LAN8720-RMT-test\r\n\r\n### Debug Messages (from the sketch linked above, verbose debug level):\r\n```\r\nrst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)\r\nconfigsip: 0, SPIWP:0xee\r\nclk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00\r\nmode:DIO, clock div:1\r\nload:0x3fff0018,len:4\r\nload:0x3fff001c,len:952\r\nload:0x40078000,len:6084\r\nload:0x40080000,len:7936\r\nentry 0x40080310\r\n[D][WiFiGeneric.cpp:345] _eventCallback(): Event: 20 - ETH_START\r\nETH Started\r\nTrying to enable IR reception:\r\n[D][WiFiGeneric.cpp:345] _eventCallback(): Event: 22 - ETH_CONNECTED\r\nETH Connected\r\n[D][WiFiGeneric.cpp:345] _eventCallback(): Event: 24 - ETH_GOT_IP\r\n[D][WiFiGeneric.cpp:425] _eventCallback(): ETH IP: 192.168.5.234, MASK: 255.255.255.0, GW: 192.168.5.1\r\nETH MAC: 30:AE:A4:24:0A:73, IPv4: 192.168.5.234, FULL_DUPLEX, 100Mbps\r\nE (9428) rmt: RMT[0] ERR\r\nE (9428) rmt: status: 0x14000040\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/espressif/arduino-esp32/issues/comments/432267616","html_url":"https://github.com/espressif/arduino-esp32/issues/1993#issuecomment-432267616","issue_url":"https://api.github.com/repos/espressif/arduino-esp32/issues/1993","id":432267616,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMjI2NzYxNg==","user":{"login":"lbernstone","id":22748063,"node_id":"MDQ6VXNlcjIyNzQ4MDYz","avatar_url":"https://avatars3.githubusercontent.com/u/22748063?v=4","gravatar_id":"","url":"https://api.github.com/users/lbernstone","html_url":"https://github.com/lbernstone","followers_url":"https://api.github.com/users/lbernstone/followers","following_url":"https://api.github.com/users/lbernstone/following{/other_user}","gists_url":"https://api.github.com/users/lbernstone/gists{/gist_id}","starred_url":"https://api.github.com/users/lbernstone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lbernstone/subscriptions","organizations_url":"https://api.github.com/users/lbernstone/orgs","repos_url":"https://api.github.com/users/lbernstone/repos","events_url":"https://api.github.com/users/lbernstone/events{/privacy}","received_events_url":"https://api.github.com/users/lbernstone/received_events","type":"User","site_admin":false},"created_at":"2018-10-23T14:22:31Z","updated_at":"2018-10-23T14:22:31Z","author_association":"CONTRIBUTOR","body":"No clue what would cause that, but you can decode the error message with esp_err_to_name()."}}
{"actor":{"display_login":"lbernstone"}}