⚠️
Hi there.. thanks for coming to the forums. Exciting news! we’re now in the process of moving to our new forum platform that will offer better functionality and is contained within the main Dialog website. All posts and accounts have been migrated. We’re now accepting traffic on the new forum only - please POST any new threads at//www.wsdof.com/support. We’ll be fixing bugs / optimising the searching and tagging over the coming days.
2 posts / 0 new
Last post
akasanders
Offline
Last seen:3 years 10 months ago
Joined:2017-07-04 22:47
Example usage of API

One thing I'm looking for in the SmartSnippets docs is … example usage of the API for the 14681. There are some code snippets around, but not much.

e.g., file:///C:/perforce/riskband-dev_steves/product/firmware/da1468x/code/doc/html/modules.html

Is there somewhere else I should be looking? Specifically I’m looking for SPI API example usage…

Thanks.

Steve

Device:
MT_dialog
Offline
Last seen:2 months 3 weeks ago
Staff
Joined:2015-06-08 11:34
Hi akasanders,

Hi akasanders,

The Smart Snippets doc is just documenting the the available API's that the SDK includes, and at some points it also includes small snippets of code for proper usage. If you would like some examples regarding how to use API's you should have a look at the examples that are included in the SDK, for example if you would like to interface with an SPI module you should have a look at the peripherals_demo (it includes examples for all the peripherals included in the 68x) in one project.

Thanks MT_dialog