IPCF demo with FreeRTOS on CM7 can't communicate completely by interrupt

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

IPCF demo with FreeRTOS on CM7 can't communicate completely by interrupt

1,242 Views
longtengqiufeng1
Contributor III

Hi,

I created and modified the demo of IPCF_Example_multi_instance_S32G274_M7 on CM1 and CM2,and I realized inter-core communication by using interrupt without OS.

But when I add the FreeRTOS,inter-core communication do not working properly, only receive one sentence like this,

longtengqiufeng1_0-1684483159237.png

the configuration of FreeRTOS and part of modified program as follow

longtengqiufeng1_1-1684483303074.png

longtengqiufeng1_3-1684483368225.png

longtengqiufeng1_4-1684483418654.png

It cannot be debugged due to hardware reasons.

Can you tell me how to solve it ?

Thanks!!

0 Kudos
Reply
6 Replies

1,064 Views
nxf92355
NXP Employee
NXP Employee

Hi @ iang le

Sorry for late reply ,Is the issue solved ? if not then see for below

-> an ISR must be registered for the configured RX external IRQ with the following handler name:
ipc_shm_hardirq

-> an task with IPC_SOFTIRQ_PRIORITY priority is created to be used by shared memory driver and must be configured with the following name: ipc_shm_softirq


-> the boot core application must zero set the shared SRAM area

let us know if any quarry

 

Regards ,

Tushar

0 Kudos
Reply

970 Views
longtengqiufeng1
Contributor III

Hi,

Now I  pick up this issue again,and I have some questions:

1. I check theipc_shm_softirq ,but I found the function only create RX softirq task, if I want IPCF tx to use interrupt, need I add another task?

  • longtengqiufeng1_0-1690364824550.png

     

  • longtengqiufeng1_1-1690365050808.png

    Thanks!!!

0 Kudos
Reply

951 Views
nxf92355
NXP Employee
NXP Employee

Hi @ iang le

Please ,raise a new ticket for new issue, please

 

0 Kudos
Reply

1,206 Views
nxf92355
NXP Employee
NXP Employee

Hi @ iang le

Hope you are doing well

can you tell us Which version of IPCF you are using ? and

version of BSP you are using ?

 

Regards ,

Tushar

0 Kudos
Reply

1,163 Views
longtengqiufeng1
Contributor III

Hi,

The version of IPCF is 4.6.0 D2205, and I don't the BSP.

My demo's communication just between CM7_1 and CM7_2.

0 Kudos
Reply

1,153 Views
fengxianeric
Contributor IV

Maybe provide you suggestions that freertos target image can build by specified like this,

make platform=your_chip core=m7_0 os_target=freertos build

Are you sure  ?

 
0 Kudos
Reply