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 am curerntly using the XC888-CLM-8FFA on a project.
I am up to the hardware verification stage and am using DAvE to simply stimulate the hardware on the board.
I cannot get port P0.0 to work as an output. Other outputs work fine
I have COL_1 as P0.0 and COL_4 as P0.3 delay() is just a double for loop
while(1) {
// USER CODE BEGIN (MAIN_Main,4) COL_4=0; COL_1=0; delay(); COL_4=1; COL_4=1; delay(); // USER CODE END
}
There are no other interrupts or hardware modules being used!
Port P0.0 does not work on both the development board (XC800 starter kit) and my new PCB whilst P0.3 does
I have even disconnected the programming cable
As there something that I am missing about P0.0 ??
I cannot get port P0.0 to work as an output.
if your derivative is 'traditional' you will need pullups for that.
Erik
Chapter 1 - 80C51 Family Architecture: www.nxp.com/.../80C51_FAM_ARCH_1.pdf
Chapter 2 - 80C51 Family Programmer’s Guide and Instruction Set: www.nxp.com/.../80C51_FAM_PROG_GUIDE_1.pdf
Chapter 3 - 80C51 Family Hardware Description: www.nxp.com/.../80C51_FAM_HARDWARE_1.pdf