Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Thread

question about bit banged and TWI

question about bit banged and TWI

2006-12-20 by maria mastik

Hi everybody
  can anyone please tell me that what is bit banged comunication?
  I have one more question: I have read about TWI comunication and tride to use it in CodeVisionAVR but it was not successful; so would any one please send me an example code about TWI.
  TanQ anyway.
  Mohammad.

 __________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

[Non-text portions of this message have been removed]

Re: [AVR-Chat] question about bit banged and TWI

2006-12-21 by Leon Heller

----- Original Message ----- 
Show quoted textHide quoted text
From: "maria mastik" <maman_barghi2000@yahoo.com>
To: <AVR-Chat@yahoogroups.com>
Sent: Wednesday, December 20, 2006 11:20 AM
Subject: [AVR-Chat] question about bit banged and TWI


> Hi everybody
>  can anyone please tell me that what is bit banged comunication?

It's doing something like RS-232 or SPI comms using software by driving pins 
high and low with the correct timings, with delays implemented using delay 
loops or a timer. A disadvantage of the technique is that the processor 
takes up a lot of time handling the comms, and can't do much else whilst 
data is transferred.

Leon
--
Leon Heller, G1HSM
Suzuki SV1000S motorcycle
leon.heller@bulldoghome.com
http://www.geocities.com/leon_heller

RE: [AVR-Chat] question about bit banged and TWI

2006-12-21 by steve childress

Bit-banged means that a chip's serial port method has slanted bits that must
be banged so that the are vertically aligned.

 

 

  _____  
Show quoted textHide quoted text
From: AVR-Chat@yahoogroups.com [mailto:AVR-Chat@yahoogroups.com] On Behalf
Of maria mastik
Sent: Wednesday, December 20, 2006 3:21 AM
To: AVR-Chat@yahoogroups.com
Subject: [AVR-Chat] question about bit banged and TWI

 

Hi everybody
can anyone please tell me that what is bit banged comunication?
I have one more question: I have read about TWI comunication and tride to
use it in CodeVisionAVR but it was not successful; so would any one please
send me an example code about TWI.
TanQ anyway.
Mohammad.

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around 
http://mail. <http://mail.yahoo.com> yahoo.com 

[Non-text portions of this message have been removed]

 



[Non-text portions of this message have been removed]

RE: [AVR-Chat] question about bit banged and TWI

2006-12-21 by Ken Arck

At 10:41 PM 12/20/2006, you wrote:

>Bit-banged means that a chip's serial port method has slanted bits that must
>be banged so that the are vertically aligned.

<---Gee and here I thought it meant the bits were part of a gang. Oh 
wait, then they'd be bit gang bangers.

Nevermind.....


------------------------------------------------------------------------------
President and CTO - Arcom Communications
Makers of the world famous RC210 Repeater Controller and accessories.
http://www.ah6le.net/arcom/index.html
Authorized Dealers for Kenwood and Telewave and
we offer complete repeater packages!
AH6LE/R - IRLP Node 3000
http://www.irlp.net

RE: [AVR-Chat] question about bit banged and TWI

2006-12-21 by Randy Ledyard

and if that mcu could fly, all the people on the ground would cry

its a bitty-bitty-bang-bang !!!
Show quoted textHide quoted text
> -----Original Message-----
> From: AVR-Chat@yahoogroups.com [mailto:AVR-Chat@yahoogroups.com]On
> Behalf Of Ken Arck
> Sent: Thursday, December 21, 2006 9:47 AM
> To: AVR-Chat@yahoogroups.com
> Subject: RE: [AVR-Chat] question about bit banged and TWI
> 
> 
> At 10:41 PM 12/20/2006, you wrote:
> 
> >Bit-banged means that a chip's serial port method has slanted 
> bits that must
> >be banged so that the are vertically aligned.
> 
> <---Gee and here I thought it meant the bits were part of a gang. Oh 
> wait, then they'd be bit gang bangers.
> 
> Nevermind.....
>

mnemonics?

2006-12-21 by Thomas J Keller

I am having a strange problem.  Using the AVR Assembler whic is 
integrated into AVR Studio 4,I am running into problems with register 
identification.

Example:

    mov   r2,   r16      ;  copy status to high register

  This results in multiple "illegal register" errors.    Why?    I am 
including the appropriate .def file for the processor in question at the 
top of my source file.

   No matter what registers I use,they show up as errors.  Lower or 
upper case, high or low registers.  What am I doing wrong, please?

Tom Keller
aka avrFreak on efNet and freenode

Re: [AVR-Chat] mnemonics?

2006-12-21 by David VanHorn

On 12/21/06, Thomas J Keller <tjkeller1@alltel.net> wrote:
>
> I am having a strange problem.  Using the AVR Assembler whic is
> integrated into AVR Studio 4,I am running into problems with register
> identification.
>
> Example:
>
>    mov   r2,   r16      ;  copy status to high register
>
> This results in multiple "illegal register" errors.    Why?    I am
> including the appropriate .def file for the processor in question at the
> top of my source file.


Something funny's going on, that's for sure.. That's entirely legal.


[Non-text portions of this message have been removed]

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.