In SX Microcontrollers, SX/B Compiler and SX-Key Tool, robotworkshop wrote: Hello Kramer, I am using one of the 16-bit timers in PWM mode to control the speed of a single motor. The program is written in SX/B and the problem now appears to be that some of the TIMER modes may (or may not) generate interrupts. If they are I suspect it is breaking the ISR serial receive code i've been using. If that is the case then I need to find a way to configure them to stop generating an interrupt. From the datasheet it looks like it may be possible to change a config register to handle this. I just wanted to see if anyone else has run into this problem before. If so perhaps adding some inline assembly to set the config register to disable the interrupt on the timer is all that is needed. I'm going to go aver the datasheet again and am going to try and see if I missed anything that may help. Robert ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=251534#m251688 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2008 (http://www.dotNetBB.com)