??? 01/11/07 14:56 Modified: 01/11/07 14:59 Read: times |
#130651 - Port1 is better than port0 for this Responding to: ???'s previous message |
Hazman said:
}If i put the port0--pull up--VCC, what would happen to the port 0 when this code is written;
1) mov p0,#0h 2) mov p0,#0ffh In first case, all port0 pins are emitting low state, because all internal nFETs at the outputs are turned-on. In second case all the internal nFETs are turned-off and when pull-ups are externally connected, the port0 lines are at high state. You must take care: The TB62726 is a serial shift register and needs sharp edges and stable signals at its inputs. So, don't feed these inputs by port0 lines! Take another port for this, maybe port1. Kai |