Looking for someone that has experience in reading multiple rotary encoders

Hey! For my current project I need to get angle information from 6 axis. I planned to do that with the ams AS5048A chips. Those are controlled via spi and that works great if I just have one chip connected. But I can’t get it to work properly with more than 1 chip. I know it can be done but I can’t figure it out. I don’t even know what the problem is ... so I’m looking for someone that could help me

It’s just basic for now and I use this library to read the encoders :

And the wiring isn’t faulty either.

With 1 chip the library runs nice and stable, for every readout I get a nice result. But with many Chios connected it whether doesn’t give me an angle at all, or it gets read 5 times and then I get a 0 as result 5 times. Pretty random.
It seems so easy as it works great for just 1 chip but I’m trying for days and it won’t work..

So if someone smart can help me or tell me how they would do it that would be really appreciated
Thanks

Does each AS5048A chip have a unique I2C address?

RWTH_MASCHI:
With 1 chip the library runs nice and stable,

Which Arduino pin did you connect the chip select pin to.
Pin 10?
Where in the sketch did you pass that pin number to the library.
AS5048A angleSensor(10); // here?

RWTH_MASCHI:
But I can’t get it to work properly with more than 1 chip.

What does that mean. Where is your sketch and circuit diagram.
Should we guess?

You can share SPI pins with multiple sensors, as long as the CS pin is unique.
Leo..