I am using nRF52832 DK for testing beaconing and TWIM and TWIS. I am using SDK 14.2.0 S132 v5.1.0.
But, the final product would be using nRF52810. So, will the code that I use now on nRF52832 DK be usable without any modifications on nRF52810?
As described in the nRF52810 Product Brief v1.3, the peripherals of the nRF52810 is binary compatible with the nRF52832, and your peripheral code written for nRF52832 should also work on nRF52810. Note that the nRF52810 only have one TWIM/TWIS serial instance (they share the same base address), which means you can only use one of them at the time. On nRF52832, there are 2 instances, allowing you to use TWIM and TWIS at the same time.
When it comes to softdevices, s132 is currently not supported as a production softdevice on nRF52810. You will have to switch to s112 softdevice in your final product, as this is the supported production softdevice. Note that s112 is peripheral only softdevice, meaning you can't use the central/scanner features of s132 softdevice.
Jørgen Holmefjord said:s132 is currently not supported as a production softdevice on nRF52810. You
Since that was posted, S132 is now supported as a production SoftDevice on nRF52810: