Could need some advice how to setup this project.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Could need some advice how to setup this project.

Jump to solution
1,182 Views
simmania
Contributor IV

Hi,

I'm new to the MCUXpresso tools. I played a while with some demo projects and did read the documentation.
But it is not clear to me what the best way is to setup a project that uses several peripherals.

I know how to set the pins and add drivers using the tools.
But once a driver for some peripheral is added, I do not see how to find out what the API of that driver is and how to use it.
Example projects are just examples and will not use all functionality of a peripheral. I assume there is some API reference per driver?

And setting up a project for two cores seems difficult. So is it a good idea to start with a multi core demo and add all peripherals from there?

I'm using the MIMXRT1170-EVK board.
My project needs:
- One or two internet ports (mainly UDP)
- Uart or Lpuart
- I2C
- some GPIO
- SAI for multi channel audio out
- SPDIF
- PDM (multiple microphones)
- dual processor support (M4 and M7)

Is there a good video showing how to add peripheral drivers and use them?

0 Kudos
Reply
1 Solution
1,161 Views
Miguel04
NXP TechSupport
NXP TechSupport

Hi @simmania 

There is not a best way to add a driver, you can copy and paste the custom .c file on the driver folder and use it or add it while you are creating the project. All the files used on the project will appear on the folders.

Miguel04_0-1686760003407.png

The examples doesn't use all functions on the driver but on the .c file there is a brief description before the function body.

Regarding your multicore question, I recommend you to look into in detail the examples on the SDK. 

Let me know if this answers your questions.

Best Regards, Miguel.

 

 

View solution in original post

0 Kudos
Reply
1 Reply
1,162 Views
Miguel04
NXP TechSupport
NXP TechSupport

Hi @simmania 

There is not a best way to add a driver, you can copy and paste the custom .c file on the driver folder and use it or add it while you are creating the project. All the files used on the project will appear on the folders.

Miguel04_0-1686760003407.png

The examples doesn't use all functions on the driver but on the .c file there is a brief description before the function body.

Regarding your multicore question, I recommend you to look into in detail the examples on the SDK. 

Let me know if this answers your questions.

Best Regards, Miguel.

 

 

0 Kudos
Reply