Hi, I’m doing a project that need a display. The LCD library work well but the SPI transmission takes 28ms. And that reduced the frame rate significantly.
I think it may be worthwhile to optimize the py_lcd. If I can successfully do it, I’ll do a pull-request for sure. I think it will be nice to have rotation parameters inside py_lcd, so no need for another fb to do the rotation. Also, there should be another DMA write function, so the main code can continue while LCD is being written.
My question is, what is the best way to debug openMV firmware? I think I need to use logic analyzer to measure timing, and some method to do print to check variables. Is there any resources about that? This is the first time I do this level of modification to openMV firmware.
Should I just use HAL functions to manipulate IO to generate debug signal? What is the best way to print something? I see there is a SWO pin on openMV4 but I would prefer testing on openMV3 as the complication seems faster. Also, is there any tutorial about understanding micropython data structure?
Thanks