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.
I have the same problem now. In my project I use. SI7051 temperature sensor. I have write a library for it and in the delelooper board. PCA10040 i have tested it. The system are working. But the finaly project I use the nrf52810 chip not the nrf52832. The Demo board the pins are and my project pins in the nrf52810 chip are different. I use this configuration.
// Arduino board mappings#define ARDUINO_SCL_PIN 25 // SCL signal (pin 27 for the nrf52810 demo board)#define ARDUINO_SDA_PIN 10 // SDA signal (pin 26 for the nrf52810 demo board)
My answere is:
The pins of nrf52810 are support the TWIM peripheral. Which document must looking to know this information?
Can you help me please it's important.
Hasan said:Which document must looking to know this information?
That would be the Product Specification.
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:
in this document, I understand we can select any pin for TWI. Is that right SCL on pin P0.25 and SDA on pin P0.10 and woking on this pin.