I am trying to use the ESP32 RMT Perphial to generate a Pulse Code Modulation signal using the "new" copy encoder. The copy encoder is failing with RMT_ENCODING_MEM_FULL. In the example below I generate the RMT_ITEMS from HEX values. The RMT_ITEMS appear correct, but the copy encoder...
printf("delete channels and encoder\r\n"); TEST_ESP_OK(rmt_del_channel(rx_channel)); TEST_ESP_OK(rmt_del_channel(tx_channel)); TEST_ESP_OK(rmt_del_encoder(copy_encoder)); free(receive_user_buf); } TEST_CASE("rmt rx filter functionality", "[rmt]") { // test width different cl...
when i call the funtion rmt_new_bytes_encoder,i haveno way to change the duration0 and duration1 param in the struct 'bytes_encoder_config' like: rmt_encoder_handle_t bytes_encoder = nec_encoder->bytes_encoder; bytes_encoder .bit0.duraton0=xxxx; bytes_encoder .bit0.duraton1=xxxx; byte...
Re: RMT Copy Encoder - RMT_ENCODING_MEM_FULL Postbynozomiman32»Sat Nov 02, 2024 11:49 pm I dropped it to .mem_block_symbols = 64 and went back to a single byte to encode. Code:Select all constuint8_tbyte_data[] = {0xaa}; ...