We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi, I'm unable to reset the pin P4.1(TXD1)on target though it's possible on the simulator. The register setting I'm doing are as follows:
SPCTL = 0x00; //not bit addressable. TXD1 = 0; // P4 is bit addressable.
No...there is a new data sheet available at http://www.semiconductors.philips.com/acrobat/datasheets/zip/P87C51MB2_MC2-02.zip which states "... Right now, SPI module is available, two more general purpose digital pins on P4 are present ... " -Sandy
page 8 states how to get the problem you see (SPEN). Also, when specs change the changes may only be relevant for the latest revision of the chip. Erik