I’m not very good nor experienced with this kind of work, so I was wondering if there is an application note or the like of how to modify an MCU source code to be compatible with the CW interface. Basically a step-by-step instruction with preferably an example (I learn best through examples). For example, I want to implement the PRESENT algorithm on a UFO target board, e.g. for the STM32F family of chips. As an example, I found a 32-bit PRESENT implementation here: http://www.lightweightcrypto.org/implementations.php but I have no idea where to start to make it compliant with the CW Lite board interface, meaning incorporating the SimpleSerial interface to transfer plaintexts for encryption, control signals, triggers etc.
Any help would be appreciated, but a detailed step-by-step application note of some kind, with a concrete example would be perfect for learning how to do it for other targets as well.