Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
06/08/07 08:15
Read: times


 
#140405 - specifications
Responding to: ???'s previous message
i m using hitag htrc110 ic(antenna ic interfaced with 8051)
it has 3 pin interface....
din---p1.1
dout ---p3.2
sclk=--p1.0
\
the data (8 bit) is received serially by the microcontroller...
the part of the code to read data is--

UBYTE Receive_HTRC110_Data( void )
/******************************************************************************
* *
* Description: *
* Data transmitted from the HTRC110 are polled and returned. *
* *
* Parameters: none *
* Return: *
* 8-bit response from the HTRC110 according to its specification. *
* *
******************************************************************************/
{
UBYTE InputByte=0, counter=8;

do /* poll DOUT, while SCLK is high */
{
InputByte <<= 1;
SCLK = HIGH; /* activate DOUT*/
if ( DOUT ) InputByte|=0x01; /* and store the information*/
SCLK = LOW;
}
while (--counter); /* has to be done 8 times */
return InputByte;
}

all the pins of port 2 are free so i thought to transfer data to it....
is it possible to read it through atmel flip?
any other way of reading it? (creating buffer etc.....)
d problem might be very basic, but since i started using microcontrollers recently so........
please post if any more specs are needed...
thanks

List of 5 messages in thread
TopicAuthorDate
DATA AT PORT!! HOW TO READ IT!@!!            01/01/70 00:00      
   Why not.            01/01/70 00:00      
      specifications            01/01/70 00:00      
         Eh???            01/01/70 00:00      
   ???            01/01/70 00:00      

Back to Subject List