1 of 1 people found this helpful
There isn't a direct translator per se but the SDK is based on a c/c++ IDE. You may consider having pUART to talk to the mcu of the strip. There is a puart_control sample app in the SDK that discussed this scenario, communication between mcu and BLE via puart. And our solutions do not support DMA.
Not the answer I am expecting so do not mark it as correct answer..... First off the SK6812 or ws2812 has no MCU... and I am not using a fancy strip with an MCU at the edge.... Using BLE as a remote command to another MCU is not what i am looking for as an answer. Adding an MCU to control the RGB and have puart between BLE and that MCU is not an option and would add way too much cost when you have a Cortex M3.... 1 to N LED are aimed to be on the board itself. Assuming the GPIO for each LED could be configured as an output using SPI and writing data to that PIN at the proper frequency might work and it looked like my only option to investigate.... but for this I need to have some bitbanging code sample for the WICED SMART SDK do you have such sample if not can you add it! SPI bitbanging code
You will have to develop this bitbanging code on your own as we don't have it as a standard feature in our applications.
You may find the below useful as it described the HW features of our solutions along with sample codes.
What is the equivalent of __NOP(); in WICED ?
You may try __asm("NOP").
for ( i = 0; i < (unsigned int) 1000; i++ )
for ( j = 0; j < (unsigned int) 10000; j++ )