Yeah, it's possible! You just need to make sure the modules use different communication protocols or assign different pins if they're both using something like SPI. The CC1101 typically uses SPI, and the PN532 can use I2C or SPI—so setting the PN532 to I2C might make things easier.
Best posts made by Slarck
-
RE: How to add multiple modules
-
RE: Looking up the example code for "Rover C Pro + M5StickC PLUS2" & "JoyC + M5StickC PLUS2".
Hey @roanevic, just jumping in here, I’ve tried that same setup recently. The example code Kuriko linked is a good starting point:
https://github.com/m5stack/M5-RoverC/tree/master/examples/RoverC_JoyC_RemoteIt’s designed for StickC, StickC Plus, and the StickC Plus2, so it should work with your hardware. Just make sure you have all the necessary libraries installed (like M5StickCPlus2, RoverC, and JoyC) in the Arduino IDE. Let me know if you hit any snags setting it up.
-
RE: LVGL performance problem
@俺がガンダムだ said in LVGL performance problem:
I applied LVGL on stickc-plus2,with TFT_eSPI's st7789v2 driver.But the refreshing rate is very low (while doing "load screen anim").I know stickc had good performance on drawing screen (by watching the video of M5stick T-Lite Thermal tutorial). And the LVGL also has a good performance through Dial-ESP32-S3 and Din-Meter demonstration video.
So what is the reason of such low performance. Cound it be the TFT_eSPI library?
I’ve seen similar issues on the StickC-Plus2. It could be due to TFT_eSPI settings, try increasing the SPI frequency or enabling DMA. Also, check your LVGL buffer config; full buffering helps with performance.