Assign GPIO core affinity for iio device interrupts

Hi I’ve enabled the use of lsm6dsr module and I’ve noticed all hard IRQ handling (/proc/interrupts) are done in core 0. the problem is that when connecting USB camera + external SDD + M.2 WiFi adapter the core gets to busy and that affects the lsm6dsr interrupt calls.
I’ve tried to set the smp_affinity for the lsm6dsr IRQ but I get: bash: echo: write error: Input/output error.
I’m using main GPIO PCC.03. mapped to IRQ 294
any suggestion about how to set the GPIO IRQ core affinity ?

attached is /proc/interrupts output:

int.txt (23.6 KB)

There is no update from you for a period, assuming this is not an issue any more.
Hence we are closing this topic. If need further support, please open a new one.
Thanks

Hi tomer.rubinstein,

Are you using the devkit or custom board for Orin NX?
What’s your Jetpack version in use

Which interface are you using for LSM6DSR module?

Do you mean LSM6DSR work as expected if you don’t connect “USB camera + external SDD + M.2 WiFi adapter”?

It seems you have multiple peripherals connected.
Could you share the block diagram of your connections?

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.