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

nrf52 ADC will not work if VDD4 reference is specified

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • v1_0_0_beta1
    • None
    • BSP
    • Security Level: Public (Viewable by anyone)

    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

              wes3 Will Sanfilippo
              wes3 Will Sanfilippo
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: