slightly different approach to generate proper signal using uDMA yet not loosing in speed