cancel
Showing results for 
Search instead for 
Did you mean: 

Second uart

wdcai
Associate II
Posted on October 15, 2004 at 04:56

Second uart

3 REPLIES 3
wdcai
Associate II
Posted on May 17, 2011 at 12:03

Hi,All!

Can some SFR about second uart ,such like scon2, be read or written in bit mode? The demo source code provided by ST operates this SFR in BYTE mode!

Thanks!

joseph2399
Associate II
Posted on May 17, 2011 at 12:03

The second UART in the uPSD33xx devices is bit addressable. The second UART in the uPSD32xx devices is only byte addressable. I am not sure what demo code you are looking at, but it is probably a carryover from the 32xx and was not updated to take advantage of the bit addressability available in the 33xx.

lwang
Associate II
Posted on May 17, 2011 at 12:03

Whenever the address of a SFR is divisible by 8, that SFR is bit addressable!