??? 03/01/12 02:22 Read: times Msg Score: +1 +1 Good Answer/Helpful |
#186308 - it could be made simpler Responding to: ???'s previous message |
Mahmood Elnasser said:
Good thinking Kai, the MCU method will not be simple, I will keep outputing the previos speed untill the new speed gets measured, then updates the output frequency accordingly so that I don't have blank periods in between speed change. It could be simple, by using the integration std tachos have. If you configure the UART to send 55H on every edge, that is 5 pulses (1 SB+4 DB=L) per edge, or x10 in frequency. You may not even need to scale the baud rate, but that can be done by timing between two edges, and choosing a rounded up baud value (so your 5 pulses always fit within that time-slot). |