You should use 5.35 version. This is the latest PBP supports and needs for the relatively new chips.

Going back will not help.

New chips have lots of functions and you need to do your homework setting up the ports correctly.

If the program worked OK on an older chip it will work on the new one, as long as you set it up correctly.

Since you do not post your code there is no more we can say about it.

Use MCC to set up the chip you are using.

Ioannis