Hello, I'm using the ISELED driver version 4.8.0 and I'm having some issues with the parallel commands.
I have defined a buffer pool in the application for parallel commands. Whenever I need to send a set of commands, I reserve a piece of this whole buffer, configure it with my commands and send it to the iseled driver. When the driver sends back the transmission complete signal, I free the buffer so that I can use it later. I use it only with SET_DIM_BLOCK & SET_RGB_BLOCK commands. All works fine most of the time but it seems that sometimes the ISELED driver writes back in these buffers, also after it calls the application callback. This compromises my buffers and makes the entire handling stuck at some point. Does the ISELED driver write back anything in the buffers that I pass as argument to the digLED_Send_Cmd_Parallel API?
All this data from above is written from inside the iseled library.
Hello,
The data buffer is also used for ISELED encoding and frames composition. This is done to minimize memory consumption. It is recommended to repopulate the buffer before each parallel command. Please let me know if you encounter any other problems.
Best regards,
Dragos Rachitan
Hi,
Is there any example/documentation on how to use the parallel mode for SET_DIM_BLOCK commands and SET_RGB_BLOCK commands? I am still having some issues with it that after I get the TRANSMISSION_COMPLETE signal for a digLED_Send_Cmd_Parallel(), the following digLED_Set_RGB() requests fail to execute for some reason.
Here is a screenshot with the parallel command that I'm sending:
For all 18 LEDs (starting with address 2) I want to set:
Is there anything wrong that I'm doing? The command seems to execute ok, but after the TRANSMISSION_COMPLETE signal, a digLED_Set_RGB(0,0,0,0,0) command to turn everything OFF doesn't do anything (event though it responds with DIGLED_OK).
Thank you!
Hello, I have some additional questions:
Thank you!
Regards,
Sorin