Hi,
I am currently working with the Vybrid lwadc MQX example and am unable to get both ADC0 and ADC1 working.
The issue is that if BSPCFG_ENABLE_LWADC0 and BSPCFG_ENABLE_LWADC1 are defined non-zero in the BSP (user_config.h) that the interface enabled first will be overwritten by the second. Therefore if you have the following:
#define BSPCFG_ENABLE_LWADC0 1
#define BSPCFG_ENABLE_LWADC1 1
You will only be able to access the channels on ADC1 (ADC1SE0 through ADC1SE9) because the ADC1 initialization overwrites ADC0.
This appears to be a limitation of the driver, has anyone else seen this issue or working on a solution?