Skip to main content
wdcai
Associate III
Question

Second uart

Posted on October 15, 2004 at 04:56

Second uart

This topic has been closed for replies.

3 replies

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!

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.

wdcai
wdcaiAuthor
Associate III
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!