I follow the manual set in this link: https://www.waveshare.com/w/upload/2/29/RS485-CAN-HAT-user-manuakl-en.pdf
I use the oscillator with that number since the version of the hat I have uses that oscillation value. I use dtoverlay=spi0-hw-cs instead of the usual dtoverlay=spi0-bcm2835-overlay because my overlays folder is as shown:
I have checked the wiring multiple times, tried to reduce the spimaxfrequency, checked the interrupt pin in the config.txt file to be sure its connecting to the correct pin of the Pi, but all to no avail.
Can anyone please help? It's for an important uni project...