SOLVED: ATTiny87 LIN/UART pitfall

Go To Last Post
55 posts / 0 new

Pages

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

Ok, forgot to mention I did not want to go down the MLF 0.5mm pin spacing route. SO20 was too big. The only one with UART in a TSSOP20 that came up in the parametric search was the Tiny87/167.

I am actually stupid. Instead of using the LIN/UART peripheral I should have simply used my software UART that works with any I/O pin. Since the processor has pretty much nothing else to do I could have got 38400 baud with plenty of samples per bit. Hindsight....

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

theusch wrote:
Beyond that, it depends how you handle farming errors and such.
:)

"Experience is what enables you to recognise a mistake the second time you make it."

"Good judgement comes from experience.  Experience comes from bad judgement."

"When you hear hoofbeats, think horses, not unicorns."

"Fast.  Cheap.  Good.  Pick two."

"Read a lot.  Write a lot."

"We see a lot of arses on handlebars around here." - [J Ekdahl]

 

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

Quote:

theusch wrote:
Beyond that, it depends how you handle farming errors and such.

LOL. And I am indeed an old farm boy and was a dairy farmer in a past life.

Attachment(s): 

You can put lipstick on a pig, but it is still a pig.

I've never met a pig I didn't like, as long as you have some salt and pepper.

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

theusch wrote:
LOL. And I am indeed an old farm boy and was a dairy farmer in a past life.
No kidding? ;)
http://www.avrfreaks.net/index.p...

"Experience is what enables you to recognise a mistake the second time you make it."

"Good judgement comes from experience.  Experience comes from bad judgement."

"When you hear hoofbeats, think horses, not unicorns."

"Fast.  Cheap.  Good.  Pick two."

"Read a lot.  Write a lot."

"We see a lot of arses on handlebars around here." - [J Ekdahl]

 

Pages