cancel
Showing results for 
Search instead for 
Did you mean: 

use P6.2 as discrete I/O on ST10F276

tom7
Associate II
Posted on September 22, 2004 at 10:30

use P6.2 as discrete I/O on ST10F276

2 REPLIES 2
tom7
Associate II
Posted on September 22, 2004 at 10:07

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.

tom7
Associate II
Posted on September 22, 2004 at 10:30

Problem sorted out, it was a board ''feature'' .