USI code, anyone?

Go To Last Post
5 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I've search this forum and the net without luck.
I want to communicate with a PC using the USI interface, instead of usng an all software UART.

The AVR I'm using is 861.

Anyone willing to share some C-code? Or a link?

Thanks,

Tobias

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

How about the ATMEL application note AVR307: Half Duplex UART Using the USI Module?

It is located on this page along with the example software:

http://www.atmel.com/dyn/product...

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Thanks.

I were hoping the code was simplier/smaller, but this is what I get using USI, I suppose.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Well, you could always step up to a mega88 instead ;)

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I need the 64MHz PLL, mega88 doesn't have that.