cancel
Showing results for 
Search instead for 
Did you mean: 

STR710FZ2T6 P2,0.... 15 Control Problem

fozturk
Associate II
Posted on December 15, 2006 at 02:28

STR710FZ2T6 P2,0.... 15 Control Problem

5 REPLIES 5
fozturk
Associate II
Posted on December 12, 2006 at 05:16

Hi ;

We are using STR710FZ2T6. But We have a problem in P2,0.... We are not controlling P2. In STR710-Eval Board Everything is OK. But In our test circuit P2 is not working. P0,P1 are Ok. We can control. In our test circuit P2 is not used. There is no component in P2. We are setting P2,0 or There is no answer in ossiloscope.

Is there any special specification for P2 ? Do we need any component ( resistor, capasitor ) for P2 ?

Not: There is test circuit In attached file

thanks for time

regards...

Fatih OZTURK

________________

Attachments :

Arm_Adaptor_Schematic.pdf : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006HtQA&d=%2Fa%2F0X0000000aPl%2FGbZcg6bItNr_vwi8vLt8O2sk0yX4SIJMZOcqDX089xM&asPdf=false
kleshov
Associate II
Posted on December 12, 2006 at 08:13

I am using STR710FZ2T6 too. Port 2 works without any problems whatsoever. I haven't noticed any difference between ports 0, 1 or 2.

Check your port configuration registers.

Regards,

- mike

fozturk
Associate II
Posted on December 13, 2006 at 02:52

hi again;

thanks a lot for your information.

Could you send sample code ? ( only p2,2 500ms...1 500ms.....0 )

We are looking for our mistake.

regards...

fatih

kleshov
Associate II
Posted on December 14, 2006 at 03:25

In my application, I use P2.4-P2.7 to select a channel of an external MUX. In order to do that, I configure port mode:

/* Not touching PC0, it should be 'all ones' after reset */

IOPORT2_PC1 &= ~0x00F0; /* Configure P2.4-P2.7 as push-pull outputs */

IOPORT2_PC2 |= 0x00F0;

After that I can use the 4 port lines to switch channels of the MUX:

IOPORT2_PD = (IOPORT2_PD & ~0x00F0) | (channel << 4); /* Switch MUX */

And it just works.

- mike

[ This message was edited by: volius on 14-12-2006 07:59 ]

fozturk
Associate II
Posted on December 15, 2006 at 02:28

thanks again.

regards...

:|