I wrote software for an ST7LITE29 that converts DMX to 3 PWM outputs. DMX is a asyncronous protocol at 250kHz and 9 bits per frame. Since st7lite29 has got no uart, i wrote a software uast myself. It worked fine for a long time. Now a protoserie is made, the software fails sometimes (small diffrence in resonator frequency...) I'd like to change to an ST7 with an UART, so i can use the same software without the ''selfmade uart'' Any ideas
I removed a 'nop' instruction and the thing works again!
Maybe the code was changed by accident??? But now i'm doubting, is this a good way to word, should it be better to use a controller with a real uart???
The AN1753 -uart works up to 19200 Baud and DMX = 250000 Baud. When i look at the datasheet of the ST72264G (i think this is the same as the ST72F264, you mentioned) i do not see an uart. In fact i do not find any st7 with an uart. Greets
Thanks for your help! I have asked some samples of an ST7 with SCI. But still one thing isn't clear yet: To decode DMX the number of frames after the break should be counted. So this counter has te be resetted at each break. How can i know when a break occurs? A break is handled as a framing error and a FE generates no interrupt. So, is the only way polling all the time the FE-bit and checking the SCIDR for value 0? Thanks!