ESP32_WROOM_30 + Waveshare 4inch Touch Shield

Did you put the back trace info into the ESP32 exception decoder?

At this point.

Help us help you.

Please follow the advice given in the link below when posting code, in particular the section entitled 'Posting code and common code problems'

Use code tags (the </> icon above the compose window) to make it easier to read and copy for examination

Use the IDE autoformat tool (ctrl-t or Tools, Auto format) before posting code in code tags.

Please include the entire error message. It is easy to do. There is a button (lower right of the IDE window) called "copy error message". Copy the error and paste into a post in code tags. Paraphrasing the error message leaves out important information.

Please post a schematic.

Please post an image of your project.

Please describe the problem better then you just did.

I tend to shy away from using GPIO_NUM_2 on the ESP32 as it drives the built in LED and under particular thingies can cause issue. Use GPIO_NUM_0 instead.

For CS pins on the ESP32 I tend to use GPIO_NUM_5 first and GPIO_NUM_15 second.