Community news, upcoming events and general discussions
Threads: 34 Posts: 86
Get technical support from the community
Threads: 1352 Posts: 7332
Threads: 18 Posts: 64
Tell us how to make XDK better!
Threads: 35 Posts: 117
Share and discuss community member projects
Threads: 76 Posts: 337
Hi, I want to enable 3.3v on extension board.
About this, User manual says :
The 3V3 power line might be disabled if you don’t use the SD card as well. Please use the
“sdc_init” command to enable the 3V3 on the extension bus.
At this point, sdc_init command means SDCardDriver_Initialize() ?
Hello Kim, That depends on the version of the XDK-Workbench you currently use. It is correct, that you can enable the 3.3 V supply pin on the extension bus with the function call sdc_init() on the XDK-Workbench 2.0.1. With XDK-Workbench 3.0.1+, the function call changed to Board_EnablePowerSupply3V3(EXTENSION_BOARD). For more information, please refer to section 4.2.2 in the latest version of the general information guide, which you can find here. Please note that you need to make a small adaption in the makefile to make the function call work. Open the makefile of the project and in line 20, below export BCDS_XDK_INCLUDES = \ insert the following command: -I$(BCDS_APP_DIR)/../../SDK/xdk110/Platform/BSP/source/
export BCDS_XDK_INCLUDES = \
Otherwise the compiler will throw an error because he cannot find the interface BSP_BoardShared.h. Please let me know if that was helpful and do not hesitate to ask if you have further questions. Kind regards, Franjo
Thank you! It works well! :>
Hello Kim, I am glad to hear that it works and I am always glad to help. Feel free to ask further questions. Kind regards, Franjo
Thanks Franjo, you help me in the right direction, but I had to modify the inserted line to :
Because my APP_DIR is nowhere near the SDK dir.
I hope this will help someone.