I am trying to generate 2 synchronized signals using the RMT peripheral (timings are critical). I managed to generate the signals properly and they are synchronized and looping forever, however I fail to have a known and repeatable phase shift between the signals.
After the driver install and configuration lines, I start the channels this way:
Code: Select all
rmt_write_items(sig1_config.channel, sig1_items, 8, 0);
rmt_write_items(sig2_config.channel, sig2_items, 8, 0);
Is there another way to do this so that the 2 signals are starting at the exact same time or at least shifted by a repeatable time?
Thank you for any help!