cancel
Showing results for 
Search instead for 
Did you mean: 

Getting IPCC issue in stm32mp157-DK1 kit

Srikanth1
Senior

Hello

We are trying to implementing IPCC in STM32MP1-DK1 evolution kit and facing following issues.

We generated cortex-M4 code in CUBE MX (Activate IPCC,NVIC IPCC RX1,IPCC TX1 and debug UART) then run in CUBE IDE and generating .bin file.

       We developed cortex-A7 BareMetal code and initialize the IPCC registers (refer doc RM0436 Rev 5 page No 1052).

1. As per this document , what is processor A , processor B ? Now we thought processor A is Cortex-A7 and processor B is Cortex-M4.

2. While set the IPCC_C1CR.TXFIE bit ,IPCC_C1MR.CHnFM unmasked and set the channels IPCC_C1SCR.CHnS in A7_0 processor , Not getting any interrupt (Rx/Tx) in cortex-M4. 

       3. While set the IPCC_C2CR.TXFIE bit in A7_0 processor , getting interrupt in both A7_0 and Cortex-M4 cores. 

4. We selected channels in IPCC_C2SCR.CHnS and reading IPCC_C1TOC2SR.CHnF in cortex-A7 code then reading same register in cortex-M4 getting same value.

regards

srikanth

2 REPLIES 2
Olivier GALLIEN
ST Employee

Hi @Srikanth​ ,

1. As per this document , what is processor A , processor B ? Now we thought processor A is Cortex-A7 and processor B is Cortex-M4.

My understanding is that processor A is the sending processor and B the receiving, which can be alternatively processor 1 = A7 or processor 2 = M4

2 and 3 )

As already mentioned in several posts ST cannot support you in "so" Bare metal approach.

ST provide OpenAMP Middleware on M4 HAL side and RPMsg on A7 Linux side.

Probably studying how IPCC is manage there might give you some hint.

Olivier

Olivier GALLIEN
In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.

Thanks for the reply @Community member​ 

For some reasons we can't use Linux in our application.

we have completed all peripherals drivers in bare metal application. We are in final stage in our project.

we need some support from you to complete IPCC. Like providing some more information regarding IPCC registers and approach to complete IPCC.

We are not expecting any source code or driver support from you.

At least Can you provide any links or documents regarding openAMP and RPMsg.To complete the IPCC.

As we are in final stage it urgent for us to complete the project in bare metal.

Please do needful at the earliest in this regards....

regards

Srikanth