I have the need to send a serial data stream where each cycle may or may not have a different duty cycle. My frequency is 10 KHz.The data stream to send a 0x5A with parity would look like this (1 cycle at each duty cycle)Start Bit 90% Duty Cycle...
Basically, this is just a simple Pulse Width Encoded Data stream, using a 10 bit word (Start bit, 8 bits of data & parity). One cycle per bit.I could just bit bang it with very tight loops but that would require a blocking function during data tran...
It is my understanding that the one pulse mode needs to be started by a trigger (input or another timer). How do I do this and synchronize this with the DMA. There isn't a HAL_TIM_OnePulse_Start_DMA() function.Thanks for your help.