Page 1 of 1

LLD Versions

Posted: Thu Dec 05, 2019 2:10 pm
by atomiclama
Hi
I'm using the STM32F405 chip and I'd like to use the UART idle detection to detect a break in data transmission on a UART.
My implementation will need to receive packets of data of indeterminable length that are separated by a pause in transmission.

It looks like this has only been implemented in the V2 of the UART LLD but the platform.mk for the STM32F4xx calls up the V1 driver.

So the question, would it be big task to get the V2 LLD driver working for the STM32F4xx platform? I tried a quick change of the platform.mk to ref the V2 LLD but it didn't work.
Or would it be easier to port the idle handling across to the V1 LLD?

Any ideas or suggestions?

Cheers
Andy

Re: LLD Versions

Posted: Thu Dec 05, 2019 2:13 pm
by Giovanni
Hi,

A patch has already been contributed on the forum for that, I need to merge it.

Giovanni

Re: LLD Versions

Posted: Thu Dec 05, 2019 2:25 pm
by atomiclama
Ah neat,

Is this something you plan on doing soon?
if not is there any git diff/pull requests/ etc so that I could do it on my local repo? A link would be good.

Thanks for the fast response.

Cheers
Andy

Re: LLD Versions

Posted: Thu Dec 05, 2019 8:08 pm
by Giovanni
Hi,

A change has been committed in trunk, discussed here: viewtopic.php?f=35&t=4534&p=32260#p32260

Giovanni

Re: LLD Versions

Posted: Fri Dec 06, 2019 10:05 am
by atomiclama
Great thanks
Now to move my git over to master.
Cheers
Andy