SPI vs RMT conflict
Posted: Fri Nov 29, 2019 9:55 am
Hello,
In my project, I use the RMT module to receive RC5 command. I also use the SPI bus (HSPI in master mode, transmit only) to control a LED display. Everything is working.
Now I want to add a second SPI bus to communicate with another uController. So I use the VSPI (in master mode). I've initialized the new SPI and sent data on the bus. The data are sent correctly on the bus but I have an error with the RMT module and the module is unable to decode the RC5 frames.
E (15122) rmt: rmt_driver_uninstall(674): No RMT driver for this channel
E (16222) rmt: rmt_driver_uninstall(674): No RMT driver for this channel
E (17322) rmt: rmt_driver_uninstall(674): No RMT driver for this channel
E (18422) rmt: rmt_driver_uninstall(674): No RMT driver for this channel
E (19522) rmt: rmt_driver_uninstall(674): No RMT driver for this channel
Is there a shared memory between SPI and RMT modules or something like that ? How can I fix that issue ?
Best regards
Vincent
In my project, I use the RMT module to receive RC5 command. I also use the SPI bus (HSPI in master mode, transmit only) to control a LED display. Everything is working.
Now I want to add a second SPI bus to communicate with another uController. So I use the VSPI (in master mode). I've initialized the new SPI and sent data on the bus. The data are sent correctly on the bus but I have an error with the RMT module and the module is unable to decode the RC5 frames.
E (15122) rmt: rmt_driver_uninstall(674): No RMT driver for this channel
E (16222) rmt: rmt_driver_uninstall(674): No RMT driver for this channel
E (17322) rmt: rmt_driver_uninstall(674): No RMT driver for this channel
E (18422) rmt: rmt_driver_uninstall(674): No RMT driver for this channel
E (19522) rmt: rmt_driver_uninstall(674): No RMT driver for this channel
Is there a shared memory between SPI and RMT modules or something like that ? How can I fix that issue ?
Best regards
Vincent