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?
Solved! Go to Solution.
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.
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.
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.
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.