This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hello Champs,
Customer has 2 questions about AM623.
1. He wanted to create a new MCU project about m4f kernel in AM62X. He has also seen the source code in the corresponding sdk (mcu_plus_sdk_am62x_08_04_00_16), but he doesn't know what file is needed to create a corresponding project. What should he do?
2.After opening the sdk of AM623 (mcu_plus_sdk_am62x_08_04_00_16), he wanted to do a DMA configuration of mcspi. He would like to ask if the DMA shown by the Red Cross is not supported in MCU Domain. Does it mean that dma cannot be used in the kernel of m4? If so, how should he configure it?
Thanks
Rgds
Shine
Shine,
Thanks for your query. please find my comments below
create a new MCU project about m4f kernel in AM62X
please refer to the "Build a Hello World example" to understand how to create your first project on AM62x.
DMA configuration of mcspi
for this query let me get back to you after confirming with the SW team to understand if the drivers have been enabled or not. please expect answer by next week.
Regards
Anshu
Hi Anshu,
Thanks for your great support.
please refer to the "Build a Hello World example" to understand how to create your first project on AM62x.
Customer doesn't want to import project. He wanted to create a new project for m4f. Can he reference below link?
https://software-dl.ti.com/ccs/esd/documents/users_guide/ccs_getting-started.html#creating-a-new-ccs-project
Thanks
Rgds
Shine
Shine,
let me get back to you on this, please allow me a day to get back to you.
Regards
Anshu
Customer doesn't want to import project. He wanted to create a new project for m4f. Can he reference below link?
https://software-dl.ti.com/ccs/esd/documents/users_guide/ccs_getting-started.html#creating-a-new-ccs-project
Hi Shine,
Yes, you can ask the customer to reference the link mentioned.
Also, I am looking into your second query, I will verify with the team and let you know within a day.
Thanks for your patience.
Regards,
Vaibhav
He would like to ask if the DMA shown by the Red Cross is not supported in MCU Domain. Does it mean that dma cannot be used in the kernel of m4? If so, how should he configure it?
Hi Shine,
So here is a summary of what is supported for each of the MCSPI peripherals.
Peripherals | Comments | Polled Mode | Interrupt Mode | Direct Memory Access (DMA) |
MCU_SPI0 | MCU Domain Peripheral | YES | YES | NO |
MCU_SPI1 | MCU Domain Peripheral | YES | YES | NO |
SPI0 | MAIN Domain Peripheral | YES | NO | YES |
SPI1 | MAIN Domain Peripheral | YES | NO | YES |
SPI2 | MAIN Domain Peripheral | YES | NO | YES |
I hope the table resonates with you and answers your second query as well.
Thanks for your patience.
Regards,
Vaibhav
Hi Vaibhav,
Thanks for your great support.
So the above summary table shows that it doesn't support spi+dma on MCU?
But customer finds the dma mode is supported in the sdk driver source code. Please see below snapshot.
It is confused. Which one is correct?
Rgds
Shine
Hi Shine,
Thanks for pointing the same. I will revert back with a solution as soon as possible.
Regards,
Vaibhav
Hi Shine,
I firmly believe that the APIs which you have pointed out are relevant for Main Domain SPI Peripherals.
I hope so the above answers your doubt.
Thanks & Regards,
Vaibhav
Hi Vaibhav,
Got it. Thanks a lot.
Will the DMA mode be added to MCU_SPI in future?
Thanks.
Rgds
Shine
Hi Shine,
I firmly believe that DMA won't be supported for MCU_SPI in the future.
Also, if you need help with anything else, do let me know.
As a part of next step, should I close the thread?
Regards,
Vaibhav