Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

SPI example: MOD BLOCK Register Adress

Hey guys,

I'm working with a Laird BL652-DVK (nrF 52832 - Chip) and Nordic SDK v.14.2.0. Now I try the SPI example and I don't know which register is adressed in the last line? I can't find it in LIS3DH-Datasheet (accelerometer).

"

//MOD BLOCK FOR NEW REG

static uint8_t       m_config_buf1[] = {0x20,0x97};   //CTRL_REG1: 9 = normal power mode (1.344kHz), Low-power Mode (5.376kHz); 7 = Z-,Y-,X-axis enable


static uint8_t       m_config_buf2[] = {0x23,0x88};   //CTRL_REG4: 8 = output registers not updated until MSB and LSB reading; 8 = high-resolution output mode enabled


static uint8_t       m_config_buf3[] = {0x22,0x10};   //CTRL_REG3: 1 = ZYXDA interrupt on INT1 enable


static uint8_t       m_config_buf4[] = {0x1F,0x80};   //TEMP_CFG_REG: 8 = ADC enabled


static uint8_t       m_config_buf5[] = {0x23,0x88};   //CTRL_REG4: 8 = output registers not updated until MSB and LSB reading; 8 = high-resolution output mode enabled


static uint8_t       m_config_buf6[] = {0xA3,0x00};  //???

"

Thanks in advance,

Christoph

Related