Hello Jim,
In the generate code , it seems have a bug , from the Reference Manual , when set the 32-bit port size,
the PS is "00", while the generate code is "01"(8 - bit port size):


The workaround is change the "01" to "00" by hand , and in order to prevent the code change to "01 ," please disable the generate code of CPU at here:

Hope it helps
Have a great day,
Alice Yang
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------