6 years, 10 months ago.

Generating a signal with nucleo F411RE

Hi, I need to generate a signal using the F411RE. This signal will have 2 states an idle state which will repeat the last value for a time period and a pattern. In order to do so I plan to use a state machine. The pattern look like const short y_data[] = { 38, 26, 41, 36, 47, 40, 55, 54, 50, 49, 39, 41, 41, 36,...}. I will change it in order to reach the 0-3.3v or 0-1 for the Pin. My question is : Is there an easy way with the nucleo F411RE and the mbed compiler to do it ? or did i need something more (like a DAC) ?

Thanks in advance for your reply

Be the first to answer this question.