frequencimeter with SLG46620V

⚠️
Hi there.. thanks for coming to the forums. Exciting news! we’re now in the process of moving to our new forum platform that will offer better functionality and is contained within the main Dialog website. All posts and accounts have been migrated. We’re now accepting traffic on the new forum only - please POST any new threads at https://www.dialog-semiconductor.com/support . We’ll be fixing bugs / optimising the searching and tagging over the coming days.
5 posts / 0 new
Last post
danmalper1
Offline
Last seen: 1 year 10 months ago
Joined: 2020-01-03 19:13
frequencimeter with SLG46620V

Hello

I have a configuration with device SLG46620V that returns a frequency value depending on the value of an ADC. I would like to know if the reverse configuration is possible, that is, obtain a digital value from a frequency input.

Thanks

 

greetings

 

Daniel

Attachment: 
Device: 
Device Number: 
SLG46620V
olehs
Offline
Last seen: 1 year 7 months ago
Staff
Joined: 2018-02-07 11:40
danmalper1, 

danmalper1, 

Thanks for your question

I believe it's possible, dependently on the input frequency range. There a few theoretical ways to do it:

1.  Convert the input frequency to voltage using SPI buffer, then apply this voltage to ADC and get the serial data. Note SPI buffer works properly only in SLG46140.

2. Use the SPI block, which takes the data from CNT/FSM. This counter will store the data which is proportional to the input frequency

3. Use IC with I2C on board to read the data from CNT block, where the data will proportional input frequency

 

Best regards, 

Oleh Sapiha

danmalper1
Offline
Last seen: 1 year 10 months ago
Joined: 2020-01-03 19:13
Thanks It sounds good. Could

Thanks It sounds good. Could see some example using debugin controls with SLG46140?

 

Thank you again

 

Regards

 

Daniel

olehs
Offline
Last seen: 1 year 7 months ago
Staff
Joined: 2018-02-07 11:40
danmalper1, 

danmalper1, 

You can look through the application note, where a very similar approach has been used, please see the links:

https://www.dialog-semiconductor.com/an-cm-271  - SPI buffer was used

https://www.dialog-semiconductor.com/an-cm-286 - FSM data is sent via the serial output

So you can combine them and create your own functionality. Hope these links will help you to start.

Please let me know if you have some other questions 

Best regards, 

Oleh Sapiha

danmalper1
Offline
Last seen: 1 year 10 months ago
Joined: 2020-01-03 19:13
Thank you very much

Thank you very much