Zlinky_TIC icon indicating copy to clipboard operation
Zlinky_TIC copied to clipboard

"Linky acquisition time" ?

Open mdeweerd opened this issue 2 years ago • 2 comments

"Linky acquisition time (From V7) Now you can modify the time to do a Linky acquisition."

Can you clarify what this means? Why not use the min/max reporting intervals ? What if the reporting interval is set to minimum reporting 1 second (and low W)?

mdeweerd avatar Oct 01 '22 10:10 mdeweerd

https://github.com/fairecasoimeme/Zlinky_TIC/issues/100

pipiche38 avatar Oct 03 '22 09:10 pipiche38

@pipiche38 Thank you

@fairecasoimeme

A Linky send (across serial connection) all datas in a continuous flow. ZLinky do a capture regulary (It can't do all the time).

I am a bit surprised, is it not possible to capture the ZLinky data using some DMA functionnality of the uC?

The uC specification clearly mentions USART as a source of DMA requests: https://www.nxp.com/docs/en/nxp/data-sheets/JN5189.pdf#page=31

I am not familiar with this CPU, but the following link suggest it seems to be provided for: https://mcuxpresso.nxp.com/api_doc/dev/329/group__usart__dma__driver.html

I guess that the DMA could be filling a ring buffer that could be analysed right when it stopped being filled since a given time (possibly using the IDLE interrupt) indicating the ERL communication is done for that second.

I did not check the code to see how it is done now.

mdeweerd avatar Oct 03 '22 13:10 mdeweerd

Stale Issue, closed by the author ;-).

mdeweerd avatar Jan 15 '24 16:01 mdeweerd