Hi Donald Rosendahl,
Do you check the I2C bus wave, when you send the I2C data, whether the I2C bus have the data, whether your I2C slave give the ACK to i2c master?
You can give me some I2C bus wave, if the slave didn't ACK, the code will stop at your point.
About the 3.3v and 5V problems. I think this may have problems. The standard IO is 5V tolerant pins except PIO0_12.

So, please check your input voltage with oscilloscope, is it over 5V?
Please also check your slave I2C, if the master give 3.3V to slave, can it recognize it as high?
This is very important.
Normally, you can use the convert module to make the I2C signal at the same requirement, don't mix 5V and 3.3V signal together.
Have a great day,
Kerry
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------