Search found 15 matches
- Thu Jan 04, 2024 5:24 pm
- Forum: ESP-IDF
- Topic: RMT transmission synchronization to input pin state
- Replies: 3
- Views: 5533
Re: RMT transmission synchronization to input pin state
EDIT: the following text was a reply for an answer which has been deleted. The user was registered after I opened my topic, and the answer was very ChatGPT-like (it cited the api reference in a slightly modified way) Can you show me an example how to set up detecting a mismatch? The api reference is...
- Thu Jan 04, 2024 9:10 am
- Forum: ESP-IDF
- Topic: RMT transmission synchronization to input pin state
- Replies: 3
- Views: 5533
RMT transmission synchronization to input pin state
I have a 125 kbit/sec multi-master bus. It takes 8 microseconds to transfer 1 bit. The initial state of the bus is high. In order to transmit a message we need to listen on the bus and if there were no low state on the bus for 16*8 microseconds then we can start transmitting. This might be solved by...
- Wed Jun 30, 2021 7:04 pm
- Forum: ESP32 Arduino
- Topic: ESP32 download tool failes to upload binary
- Replies: 1
- Views: 3844
Re: ESP32 download tool failes to upload binary
So apparently uploading these files solved the problem:
bootloader.bin @ 0x1000
boot_app0.bin @ 0xe000
partitions2.bin @ 0x8000
After that it is possible to upload just the firmware. Not sure why did it work in the first place though...
bootloader.bin @ 0x1000
boot_app0.bin @ 0xe000
partitions2.bin @ 0x8000
After that it is possible to upload just the firmware. Not sure why did it work in the first place though...
- Tue Jun 29, 2021 8:24 am
- Forum: ESP32 Arduino
- Topic: ESP32 download tool failes to upload binary
- Replies: 1
- Views: 3844
ESP32 download tool failes to upload binary
I have a small project written in platformio with the Arduino framework. I have exported the binary and try to upload it with the ESP flash downloader. The first upload succeeded (to a brand new devmodule), but for the second time (to the same module) failes with the following error: is stub and sen...
- Tue Mar 23, 2021 3:25 pm
- Forum: ESP32 Arduino
- Topic: RMT peripheral clk_div how does it work?
- Replies: 4
- Views: 6175
Re: RMT peripheral clk_div how does it work?
Yes, I converted the 16-bit returned values to signed integers based on the level property in rmt_item32_t. But that doesn't explain the "weirdness". Which was the fact that with one clk_div setting it was working, but with another one it didn't. A you can see I had negative values both in the worki...
- Sat Sep 05, 2020 9:21 am
- Forum: ESP-IDF
- Topic: Which peripheral to use for bus arbitration? RMT/MCPWM/LEDC/I2S/SPI?
- Replies: 0
- Views: 2189
Which peripheral to use for bus arbitration? RMT/MCPWM/LEDC/I2S/SPI?
Hi, I am fiddling with a legacy automotive bus called VAN bus with an ESP32. I have successfully created a library using the RMT to read it, however I also would like to implement writing purely from software. To be able to do that bus arbitration logic must be implemented. For this I need to listen...
- Tue Apr 28, 2020 2:41 pm
- Forum: General Discussion
- Topic: What would you like to see in The Next Chip?
- Replies: 443
- Views: 939583
Re: What would you like to see in The Next Chip?
CAN is a bit of a... thing. I won't say we have a CAN controller in our chip (because of ...reasons), but I can say that the ESP32-S2 has a peripheral we call the 'TWAI (Two Wire Automotive Interface) controller'; which happens to be fully compatible with the peripheral you used to use for that on ...
- Sat Feb 22, 2020 11:24 pm
- Forum: General Discussion
- Topic: What would you like to see in The Next Chip?
- Replies: 443
- Views: 939583
Re: What would you like to see in The Next Chip?
Maybe a second CAN controller, support for MIPI DSI displays, and please keep the RMT peripheral, I just love it, it is very useful.
- Mon Feb 17, 2020 7:34 am
- Forum: ESP32 Arduino
- Topic: RMT peripheral clk_div how does it work?
- Replies: 4
- Views: 6175
RMT peripheral clk_div how does it work?
Hi, I am trying to create an universal remote using the RMT peripheral based on this code: https://github.com/kimeckert/ESP32-RMT-Rx-raw/blob/master/main/rmt_rx_raw.c . It seems like it is working, however there is one thing that I can't quite get which is the clk_div parameter when initializing the...
- Wed Jul 17, 2019 5:02 pm
- Forum: ESP-IDF
- Topic: Using RMT to decode VAN bus protocol
- Replies: 6
- Views: 9362
Re: Using RMT to decode protocol
I took a quick look on that protocol, and it seems that it wouldn't be so complicated to write an RMT receiver library for it. Basically the rmt_van_rx_parse_byte method and the crc calculation method should be implemented, and the rest would be almost the same.