Hello. I am trying to develop software for XC167CI, but all that i have is the Keil Ide uVision2. So i0m testing my software via emulator. Now, i've noticed two serial windows, serial #1, and serial #2. I was be able to program the P3,DP3 ALTSEL0P3(port 3) of the xc167ci, to printf and getchar from serial #1, that means that the ASC0_TIC, is connected with serial #1 window. Now, i wonder if the serial #2 window is connected to ASC1_TIC and ASC1_RIC so, if i press a key on the pc keyboard while standing on a serial #2 window, a ASC1_RIC is raised. Cna someone please help me? thanks!
Hello, take a look at the ASSIGN command of uV2, it allows you to assign input and output to serial windows; try this ASSIGN WIN2 <S1IN >S1OUT Read what the user's manual says about the ASSIGN command, you can do a lot of useful things with it... ciao bc
A question: the S1IN and S1OUT are C167 register not the XC167CI registers. The XC167CI register for channel 2 of the easyncronus serial channel are ASC1_TBUF and ASC1_RBUF, the equivalent of C167 right? so in the ASSIGN command i have to use ASC1 registers right? thanks a lot