Search found 4 matches

by michael_s
Mon Jan 07, 2019 1:22 pm
Forum: Small Change Requests
Topic: STM32 LLD for UART with bus idle detection
Replies: 4
Views: 4117

Re: STM32 LLD for UART with bus idle detection

The code in the idle detection is different now, is such a change still required? Giovanni Yes, I think also checking the BUSY-Bit in USART_ISR register is beneficial over just checking the IDLE-Bit in case the idle timeout shall be used to detect a "bus free" condition. By checking the B...
by michael_s
Wed Oct 04, 2017 4:38 pm
Forum: Small Change Requests
Topic: STM32 LLD for UART with bus idle detection
Replies: 4
Views: 4117

STM32 LLD for UART with bus idle detection

Hello Giovanni, I would like to upvote this feature also as we need free bus detection for our RS-485 implementation. In addition to checking USART_SR_IDLE, it would be necessary to check the BUSY flag (bit 16) in USART_ISR register also, since USART_SR_IDLE is only set by hardware once an idle cond...
by michael_s
Wed Oct 04, 2017 4:13 pm
Forum: ChibiOS/HAL
Topic: UART line idle handling.
Replies: 19
Views: 15828

Re: UART line idle handling.

Hello Giovanni, I would like to upvote this feature also as we need free bus detection for our RS-485 implementation. In addition to checking USART_SR_IDLE, it would be necessary to check the BUSY flag (bit 16)in USART_ISR register also, since USART_SR_IDLE is only set by hardware once an idle condi...
by michael_s
Wed Dec 16, 2015 8:47 am
Forum: ChibiOS/HAL
Topic: Range check off by one in nvic.c
Replies: 1
Views: 1786

Range check off by one in nvic.c

Hello all, a code checker found the following minimal bug in ..\hal\ports\common\ARMCMx\nvic.c: /** * @brief Changes the priority of a system handler. * * @param[in] handler the system handler number * @param[in] prio the system handler priority */ void nvicSetSystemHandlerPriority(uint32_t handler,...

Go to advanced search