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
LLD Versions
Moderator: RoccoMarco
- Giovanni
- Site Admin
- Posts: 14893
- Joined: Wed May 27, 2009 8:48 am
- Has thanked: 1202 times
- Been thanked: 997 times
Re: LLD Versions
Hi,
A patch has already been contributed on the forum for that, I need to merge it.
Giovanni
A patch has already been contributed on the forum for that, I need to merge it.
Giovanni
-
atomiclama
- Posts: 12
- Joined: Fri Oct 18, 2019 3:54 pm
- Has thanked: 3 times
Re: LLD Versions
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
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
- Giovanni
- Site Admin
- Posts: 14893
- Joined: Wed May 27, 2009 8:48 am
- Has thanked: 1202 times
- Been thanked: 997 times
Re: LLD Versions
Hi,
A change has been committed in trunk, discussed here: viewtopic.php?f=35&t=4534&p=32260#p32260
Giovanni
A change has been committed in trunk, discussed here: viewtopic.php?f=35&t=4534&p=32260#p32260
Giovanni
-
atomiclama
- Posts: 12
- Joined: Fri Oct 18, 2019 3:54 pm
- Has thanked: 3 times