| ??? 03/10/12 12:24 Read: times |
#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! |
| Topic | Author | Date |
| Serial coms, bytes not matching in serial capture | 01/01/70 00:00 | |
| Couple of things at first glance... | 01/01/70 00:00 | |
| Response | 01/01/70 00:00 | |
| OK | 01/01/70 00:00 | |
| what does the instruction spell out | 01/01/70 00:00 | |
| Instruction says | 01/01/70 00:00 | |
| Got it | 01/01/70 00:00 | |
| have a good read | 01/01/70 00:00 | |
| Nitgen FIM5360 module | 01/01/70 00:00 | |
| Not familiar with the module... | 01/01/70 00:00 | |
| Boot up time... | 01/01/70 00:00 | |
| Response | 01/01/70 00:00 | |
| Isn't boot time always time from reset or time from power-on | 01/01/70 00:00 | |
| Ok | 01/01/70 00:00 | |
| SCON1... | 01/01/70 00:00 | |
| Jumping from RET to Jump Start | 01/01/70 00:00 | |
Please Ignore last post, issue resolved | 01/01/70 00:00 |



