поискавой системы для электроныых деталей
  Russian  ▼
ALLDATASHEETRU.COM

X  

OL2385SWUG датащи(PDF) 31 Page - NXP Semiconductors

номер детали OL2385SWUG
подробное описание детали  SIGFOX software driver
PDF  64 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
производитель  NXP [NXP Semiconductors]
домашняя страница  http://www.nxp.com
Logo NXP - NXP Semiconductors

OL2385SWUG датащи(HTML) 31 Page - NXP Semiconductors

Back Button OL2385SWUG Datasheet HTML 27Page - NXP Semiconductors OL2385SWUG Datasheet HTML 28Page - NXP Semiconductors OL2385SWUG Datasheet HTML 29Page - NXP Semiconductors OL2385SWUG Datasheet HTML 30Page - NXP Semiconductors OL2385SWUG Datasheet HTML 31Page - NXP Semiconductors OL2385SWUG Datasheet HTML 32Page - NXP Semiconductors OL2385SWUG Datasheet HTML 33Page - NXP Semiconductors OL2385SWUG Datasheet HTML 34Page - NXP Semiconductors OL2385SWUG Datasheet HTML 35Page - NXP Semiconductors Next Button
Zoom Inzoom in Zoom Outzoom out
 31 / 64 page
background image
NXP Semiconductors
OL2385SWUG
SIGFOX software driver
OL2385SWUG
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2018. All rights reserved.
User guide
Rev. 2.1 — 6 April 2018
31 / 64
2. In the
Select Kinetis Processor or Board dialog box, select the MCU class or board
the project is using. Then, click
Next.
3. A new project is created. All of the required files are placed in dedicated folders:
board, CMSIS, drivers, source, startup and utilities. For a more detailed
description of the SDK project folder structure, refer to the MCUXpresso 2.x User
Guide.
6.2.5.6 Adding the SIGFOX software driver to the project
This section describes how to add the SIGFOX Software driver to the project.
1. Copy the content of
Sigfox_SDK_SW\SDK_SW_Driver to the source folder in the
newly created project.
2. In main.c, add the include statement highlighted in the figure below to enable the code
to access the SIGFOX software driver.
6.2.5.7 Setting up the project
Once the new project has been created and the SIGFOX software driver has been
added into it, the project must be set up. See Section 6.2.4 "The SIGFOX software
driver", which describes the driver's capabilities and what must be done to configure its
properties.
1. In order to get the SIGFOX software driver to run on the selected MCU, the user must
edit the board/pin_mux.c file to configure the SPI and GPIO pins being used. This
entails making the correct MCU pin selections (see Section 6.2.3 "Supported MCUs")
and then muxing them as needed. Use one of the example projects as a template for
this step. See the figure below.
2. In the file aml/common_aml.h, set the SDK_VERSION macro to SDK_KSDK
(MCUXpresso SDK 2.3).
3. In sf/sf_model.h, update the SF_MODEL macro according to the SIGFOX model
being used.
4. Create a variable of type sf_drv_data_t that will be passed to all used functions.
This variable stores MCU peripheral configuration data and SIGFOX software
driver internal data. This variable must be accessible during run-time and should be
declared either in the main() function or as a global variable.
5. Configure the SPI and pin settings in the driver configuration structure.
6. Set up the MCU peripherals that will be used by the SIGFOX software driver. There
are two options:
• Use the provided SF_SetupSPI() and SF_SetupGPIOs() functions, which will do the
necessary configuration.
• Code the peripheral initialization without using the provided functions.
In either case, the configuration structure must be modified to indicate the instances of
utilized peripherals.
7. Call the SIGFOX initialization function. The initialization function must be passed the
references to the already configured MCU peripherals, which is part of the driver data
structure, and the user configuration of the device itself.
6.2.5.8 Writing application code
All application code must reside in the source folder in the project directory. The code in
main.c may be modified but the original comments related to usage directions should be
retained.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64


датащи скачать

Go To PDF Page


ссылки URL



Вашему бизинису помогли Аллдатащит?  [ DONATE ] 

Что такое Аллдатащит   |   реклама   |   контакт   |   Конфиденциальность   |   Ссылка на техническое описание    |   обмен ссыками   |   поиск по производителю
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com