Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
Robert Revens
03/10/12 05:24
Read: 729 times
Near Northampton
Uk


 
#186552 - SCON1...
Responding to: ???'s previous message
Dave Mcnamara said:
Hi Robert,

I am using Acc and SCON1 to check RI bit because my MCU has 2 serial ports and has 2 TI's (TI1/TI0) and RI's (RI1/RI0) also. I am using UART1 so RI1 and TI1 are suppose to operate with this. But when I put RI1/TI1 in my code I get errors, because only RI and TI (without the 1 or 0 at end) are defined in the header file for SCON0 @ 98H (SCON 0.0 and SCON 0.1) which is provided by Silabs. SCON1 is @ F1H and RI and TI are not defined for this SFR. So i need to trigger the bits in SCON1 in order to set/clear TI/RI. Hope that explains it ok.



Dave


That explains it perfectly, thank you. Looks like SCON1 isn't bit-addressable in the 020. That's something I've learnt today!


List of 17 messages in thread
TopicAuthorDate
Serial coms, bytes not matching in serial capture      Dave McNamara      03/07/12 10:22      
   Couple of things at first glance...      Robert Revens      03/07/12 12:52      
      Response      Dave McNamara      03/07/12 13:13      
         OK      Robert Revens      03/07/12 14:09      
   what does the instruction spell out      Erik Malund      03/07/12 13:46      
      Instruction says      Dave McNamara      03/07/12 14:17      
         Got it      Dave McNamara      03/07/12 14:29      
            have a good read      Erik Malund      03/08/12 07:16      
               Nitgen FIM5360 module      Dave McNamara      03/09/12 11:46      
                  Not familiar with the module...      Robert Revens      03/09/12 14:03      
                     Boot up time...      Robert Revens      03/09/12 14:15      
                     Response      Dave McNamara      03/09/12 14:55      
                        Isn't boot time always time from reset or time from power-on      Per Westermark      03/09/12 15:10      
                           Ok      Dave McNamara      03/09/12 15:18      
                        SCON1...      Robert Revens      03/10/12 05:24      
                           Jumping from RET to Jump Start      Dave McNamara      03/10/12 07:43      
   Please Ignore last post, issue resolved      Dave McNamara      03/10/12 10:30      

Back to Subject List