Uploaded image for project: 'Mynewt'
  1. Mynewt
  2. MYNEWT-502

nrf52 ADC will not work if VDD4 reference is specified

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: v1_0_0_beta1
    • Fix Version/s: None
    • Component/s: BSP
    • Security Level: Public (Viewable by anyone)
    • Labels:

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                wes3 William San Filippo
                Reporter:
                wes3 William San Filippo
              • Votes:
                1 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: