Skip to main content
Visitor II
March 1, 2019
Question

how to simulate Sent protocol ?

  • March 1, 2019
  • 0 replies
  • 1698 views

Hello everybody,

I wanted to simulate the Sent_Protocol with a STM32 µC or simulate it as if I had a sensor. and present this with oscilloscope. Now the signal should be like a normal PWM Signal look like. I really do not know how to generate this part of the signal in the lower picture at the beginning of each period.so I thought that i can use fixed compare modus for that. because this is identical for each period (marked in red). But there are the 6 nibbles (4 bits per nibble) for the data (for example 0x 3FF294), but I thought that I could change the signal period according to the data (marked in green). Now to the specific question, how can i change the period in the code or is that even possible?

thanks

    This topic has been closed for replies.