- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
The ADC_basic example which is present under PSoC BSPs->CY8CKIT-062S4 (device CY8C6244LQI-S4D92) is without modustoolbox GUI setting. In this example, the adc setting is done using firmware.
Could you provide a simple ADC example with modustoolbox GUI setting of ADC?
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @psoc6_beginner ,
As per my understanding, I suppose by the GUI setting of ADC in ModusToolbox, you mean configuring ADC block using device configurator or configuring it in design.modus file.
In ADC_Basic Code example, the ADC block is configured using HAL. Therefore the HAL APIs are used to configure ADC block in firmware itself. Can you please refer this code example here : GitHub - cypresssemiconductorco/mtb-example-psoc6-low-power-sar-adc-thermistor-als ? This code example has design.modus file for CY8CKIT-062S4 device, where ADC block is configured under the Programmable Analog peripherals in the "Analog" tab. The design.modus file helps us configure a block, by setting up different parameters associated with it, basically addressing GUI setting in ModusToolbox for it.
Please go through this code example and let us know if this helps or in case of any query.
Best Regards,
Aashita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @psoc6_beginner ,
As per my understanding, I suppose by the GUI setting of ADC in ModusToolbox, you mean configuring ADC block using device configurator or configuring it in design.modus file.
In ADC_Basic Code example, the ADC block is configured using HAL. Therefore the HAL APIs are used to configure ADC block in firmware itself. Can you please refer this code example here : GitHub - cypresssemiconductorco/mtb-example-psoc6-low-power-sar-adc-thermistor-als ? This code example has design.modus file for CY8CKIT-062S4 device, where ADC block is configured under the Programmable Analog peripherals in the "Analog" tab. The design.modus file helps us configure a block, by setting up different parameters associated with it, basically addressing GUI setting in ModusToolbox for it.
Please go through this code example and let us know if this helps or in case of any query.
Best Regards,
Aashita