cancel
Showing results for 
Search instead for 
Did you mean: 

Enable I2C peripheral in coprocessor

thareeq
Visitor

Hi, I am working with the STM32MP25 and trying to use the I2C peripheral from the Cortex-M33 coprocessor.

The STM32MP25 includes an Arm Cortex-A35 core running Linux and a Cortex-M33 core for real-time applications. I am able to successfully load and run a basic firmware on the Cortex-M33 using remoteproc. However, when I enable and initialize the I2C peripheral in the M33 firmware, the system hangs and eventually restarts. After investigating, I learned that the RIFSC configuration must be updated to grant the Cortex-M33 access to the I2C peripheral. I applied a patch to modify the RIFSC settings accordingly, but the issue persists and the peripheral is still not accessible from the M33.

I would like to know:

Are there any additional steps required (beyond RIFSC configuration) to allow Cortex-M33 access to I2C?

Is there official documentation or reference material explaining how to properly assign peripherals to the coprocessor using RIFSC?

Are there any examples or recommended workflows for enabling peripherals for M33 in a Linux + RTOS environment on STM32MP25?

Any guidance on best practices or relevant documentation would be greatly appreciated

0 REPLIES 0