Hi,
I want to reset a hardware timer in every rising edge of UART Rx port which works in 9600 baud rate. How can I do it without without CPU usage/interruption? Instead of using CPU interreption when it is the time I just want to check the timer value.
Thanks
Rising Edge Pin Interrupt on UART Rx
Re: Rising Edge Pin Interrupt on UART Rx
To make it clear, actually I want to catch the idle of the bus so one byte takes around 1.04mS and the bus is on idle when it is over 1.5ms. Do you think if I use " rx_timeout_thresh" as 1, will it be appropriate?
Is rx_timeout_thresh interrupts when there is no data coming to Rx port or there is no data in ringbuffer?
Is rx_timeout_thresh interrupts when there is no data coming to Rx port or there is no data in ringbuffer?
-
- Posts: 90
- Joined: Sun Jul 02, 2017 3:38 am
Re: Rising Edge Pin Interrupt on UART Rx
What is this for?
Re: Rising Edge Pin Interrupt on UART Rx
For kbus it is similar to linbus. It was in use with old BMW series. After receiving last stop bit if the bus silent for 1.5ms it means it is available to send message.tele_player wrote:What is this for?
-
- Posts: 90
- Joined: Sun Jul 02, 2017 3:38 am
Re: Rising Edge Pin Interrupt on UART Rx
Interesting. I have 2 BMWs...
Re: Rising Edge Pin Interrupt on UART Rx
3 series e46 and 5 series e39 uses this interface. There are others models too but I dont know them very well actually.
Who is online
Users browsing this forum: Bing [Bot] and 29 guests