Yes, assuming you are looking to use the same source code, not binary code.Can I use the 64bit GPIO calls on all of the RP2040, RP2350A and RP2350B? e.g. gpio_get_all64
gpio_set_dir_out_masked64() will work fine on all chips anyway. The problem is that GPIO pad permissions granted to NS code (i.e. non secure code in the TrustZone sense) are incorrect, for which the workaround is not not grant any. The majority of people will not be running secure and non-secure code side by side (note it isn't actually supported by the SDK yet).I'm also confused by errata RP2350-E3. If I use the various masked calls such as gpio_set_dir_out_masked64 will they work on all versions of the chips assuming I'm not touching GPIO_NSMASK0/GPIO_NSMASK1 and leaving them at their default values (0,0 = secure).
What would be a non-secure access? When could I need to allow it?
Statistics: Posted by kilograham — Mon Sep 02, 2024 6:52 pm