2004-09-22 01:30 AM
use P6.2 as discrete I/O on ST10F276
2004-09-22 01:07 AM
I have to use P6.2 as discrete I/O.
The bus interface is configured for using two CS-signals therefore the P6.2 port pin should be available. Register RP0H is 0x00e2, so bus-cfg should be ok. When I try to access the pin, my system crashes. I looked at the disassembled opcode with my debugger how I'm accessing the pin : OR P6,#0x04 OR DP6,#0x04 AND P6,0xfffb <- here it crashes. I'm using Tasking v8.0 with xview rom-monitor debugger via ASC0 interface. Does someone has an idea what's going on there ? tom.2004-09-22 01:30 AM
Problem sorted out, it was a board ''feature'' .