You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@mynewt.apache.org by "Sheela (JIRA)" <ji...@apache.org> on 2017/06/05 18:43:04 UTC

[jira] [Updated] (MYNEWT-502) nrf52 ADC will not work if VDD4 reference is specified

     [ https://issues.apache.org/jira/browse/MYNEWT-502?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sheela updated MYNEWT-502:
--------------------------
    Fix Version/s:     (was: v1_1_0_rel)

> nrf52 ADC will not work if VDD4 reference is specified
> ------------------------------------------------------
>
>                 Key: MYNEWT-502
>                 URL: https://issues.apache.org/jira/browse/MYNEWT-502
>             Project: Mynewt
>          Issue Type: Bug
>      Security Level: Public(Viewable by anyone) 
>          Components: BSP
>    Affects Versions: v1_0_0_beta1
>            Reporter: William San Filippo
>            Assignee: William San Filippo
>
> There is bug in the nrf52 adc code when VDD4 reference is used. The code is expecting a global "init_adc_config" to have been configured prior to nrf52_adc_configure_channel being called (this is called through adc_chan_config). The BSP's are not initializing this structure. Note that init_adc_config gets set through a call to nrf52_adc_dev_init(). The call to os_dev_create() is what calls the initialization function which should end up calling nrf52_adc_dev_init(). Not sure exactly which structures need to be passed into os_dev_create() and os_dev_open(); these need to be reconciled.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)