[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: wrong read : readbits



Johan Adolfsson wrote:

>>to simplify,
>>my aim is to control 3 or 4 bits on output ( to control a demutiplexer , 
>>and address 8 or 16 chips )
>>AND to read 8 other bits for data acquisition  (the chips are  A/N 
>>converters with 3 state bus )
>>
>>but when I wrote on GPIO G port to control these chips, i can't read 
>>other bits anymore...
>>
>>if anyone had simple source code to wrote on gpio without readbits 
>>command problems  ....
>>
>>
>>thanks everybody
>>
>>Seb.
>>    
>>
>
>If you are using a devboard_82 I believe that G5 controls the direction 
>of the external buffer for g8-g15.
>
>/Johan
>
>
>
>  
>
Yeah you've got it !
the bit 5 cause this situation  ( g8-g15 on output direction, so no data 
can be read )

it's ok now

thanks very much !

seb.