Using MCUXpresso Config tool

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Using MCUXpresso Config tool

5,319件の閲覧回数
paramatharu
Contributor II

Hi All,

I am new to MCUXpresso...can someone tell me if it is possible to configure on-board micro controller peripherals through the Xpresso Config tool please ? …for example I have a FRDM KW41Z SDK and I need to set up/initialise the on-board SPI peripheral to one of the standard SPI modes, in order to communicate with an external device via SPI.

Thank a lot

Para

0 件の賞賛
返信
7 返答(返信)

4,413件の閲覧回数
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello Para Matharu ,

The MCUXpresso Config Tools is an integrated suite of configuration tools that help guide users

quickly build a custom SDK and leverage pins, clocks and peripheral tools to generate initialization C code for custom board support. So it support configure peripherals, while , so far it only spport some of products, it doesn't

support KW41 . There is SPI driver and demo under SDK:

SDK_2.2_FRDM-KW41Z\boards\frdmkw41z\driver_examples\dspi

About the detail supports , please have a look at the supported table :

MCUXpresso Supported Devices Table 

Hope it helps

0 件の賞賛
返信

4,413件の閲覧回数
paramatharu
Contributor II

Hi Alice,

Just a quick question please:

I have just looked under SDK_2.2_FRDM-KW41Z\boards\frdmkw41z\driver_examples\dspi mentioned for the dspi example.

As i am new to MCUXpresso, how do i "import" one of these projects into the Xpresso IDE so that i can build and run the code?

Thanks

Para

0 件の賞賛
返信

4,410件の閲覧回数
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello Para,

1. The SDK_2.2_FRDM-KW41Z also includes other primary demos and all the drivers.

2. About how to use it , I recommend you use the MCUXpresso IDE, you can downlaod it at here :MCUXpresso IDE|Eclipse-based Integrated Development Environment (IDE)|NXP  

then refer to the "MCUXpresso_IDE_User_Guide.pdf" install SDK , and import exmple :

- 4.4 Installing an SDK

- 6. Importing Example Projects (from installed SDKs)

   (It is very simple .)

3. About KW41, there is reference manule in NXP website, of course there is data sheet,

Arm® Cortex®-M0+|Kinetis® KW41Z 2.4 GHz Bluetooth Low Energy and Wireless Radio MCUs|NXP  

the Reference manual more detail , you find the describtion about peripherals:

https://www.nxp.com/docs/en/reference-manual/MKW41Z512RM.pdf     

4. By the way ,  the Peripheral configuration for KW41 is planned :

pastedImage_4.png

Hope it helps


Have a great day,
TIC

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信

4,410件の閲覧回数
paramatharu
Contributor II

Hi Alice,

OK that's great.

I have a lot of reading to do, but it looks as there is plenty of information to make a start. I will do that

And its really good to know that Peripheral Configuration for the KW41Z is planned.

In the meantime, I would just like to take this opportunity to say a huge THANK YOU for all your help.

You have been very kind and supportive.

Have a really good day.

Kindest regards

Para

0 件の賞賛
返信

4,410件の閲覧回数
Alice_Yang
NXP TechSupport
NXP TechSupport

Hi Para,

Thank you for your interest in NXP Semiconductor products and 
for the opportunity to serve you.
You can contact us without any hesitate if have question .

Have a great day,
TIC

 

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信

4,410件の閲覧回数
yassine_jmili
Contributor I

Hi Alice;

I want to do an spi communication between R41Z RiGADO with STM32F4, R41Z is a salve and the STM32F4 is a master,  i like to use the sdk example: frdmkw41Z_cmsis_driver_examples_dspi_edma_b2b_transfer_slave but i have same questions, i don't received any data in the  slaveRxData by using this function  DRIVER_SLAVE_SPI.Receive(slaveRxData, TRANSFER_SIZE) and the code never enter in the callback function, so it never exit this  in infinite loop  //while (!isTransferCompleted) { }. what's the modification to do in this code in order to communicate with the external STM32F4? 

Thank you very much

Yassine

0 件の賞賛
返信

4,410件の閲覧回数
paramatharu
Contributor II

Hi Alice,

Thank you so much for getting back to me.

I will have a look at the DSPI example you mentioned.

We also need to configure other peripherals on the KW41.

Since there is no NXP config tools to do that for the KW41, should we use the ARM cortex M0 data sheet (as the KW41 is based on Cortex M0) or is there a more suitable data sheet to set up peripherals for the KW41 from NXP?

Thank so much for your help...much appreciated.

Kindest regards

Para

0 件の賞賛
返信