2006-12-14 05:28 PM
STR710FZ2T6 P2,0.... 15 Control Problem
2006-12-11 08:16 PM
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=false2006-12-11 11:13 PM
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, - mike2006-12-12 05:52 PM
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... fatih2006-12-13 06:25 PM
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 ]2006-12-14 05:28 PM
thanks again.
regards... :|