LIN wakeup request detection uc3c2512c

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

hi guys,

im using the USART of my uc3c2512c in LIN-Mode.
It is working fine until i tried to use the LIN-Event "wake-up request".
the only documentation i can find is on chapter 25.6.13 of the datasheet. They explain how to send a wake-up-request (and this is working), but i cant find anyting about receiving and handling it.
If i put a wake-up request on the BUS, my AVR is ignoring it. Cant find any Interrupt that handles it.
Any ideas?

best regards
jambala

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

hi again,

i wrote to atmel support and they told me, that there is no hardware support for detecting wakeup requests.

so i had to solve it by software.
im using a timer that is generating interrupts all 25us. (half the time of a lin bit at 20kbit).
i am checking all lin busses in the ISR and counting the time they are low.
if the counter is reached a wake up is detected.
its not perfect, but it solves the problem

regards
jambala