working with spim0 while CONFIG_HAS_HW_NRF_TWI0=y

hello Nordic

i work with nrf52832, with ncs 1.7.1 (moving soon to 1.9.2) 

i have some issues with my spim clk and i think (not sure) its related to working with spim0 while i see in the .config file the following configs

CONFIG_HAS_HW_NRF_TWI0=y
CONFIG_HAS_HW_NRF_TWI1=y
CONFIG_HAS_HW_NRF_TWIM0=y
CONFIG_HAS_HW_NRF_TWIM1=y
CONFIG_HAS_HW_NRF_TWIS0=y
CONFIG_HAS_HW_NRF_TWIS1=y

i try to change the config to =n in the .conf file but its says "symbol ... can not be set (has no prompt)

not sure what it means and how do i change the what i guess is a dependency of the nrf52832_soc config, to =n on the i2c (i have no peripheral needing i2c on my board)

hope to read from you soon

best regards

Ziv

Parents
  • Hi Ziv

    In section 15.2 Peripherals with shared ID in the nRF52832 product specification, peripherals sharing the same HW ID are listed. SPI and TWI share the same ID for each instance I'm afraid, so you can't use TWI0 and SPI0 at the same time. You can use SPI1 or SPI2 though, as these have different IDs. Keep in mind that SPI1 also share their ID with TWI1.

    i try to change the config to =n in the .conf file but its says "symbol ... can not be set (has no prompt)

    What config exactly is it that you try setting to =n here? Is perhaps the CONFIG_NRFX_TWI0 set to y in your application?

    Best regards,

    Simon

Reply
  • Hi Ziv

    In section 15.2 Peripherals with shared ID in the nRF52832 product specification, peripherals sharing the same HW ID are listed. SPI and TWI share the same ID for each instance I'm afraid, so you can't use TWI0 and SPI0 at the same time. You can use SPI1 or SPI2 though, as these have different IDs. Keep in mind that SPI1 also share their ID with TWI1.

    i try to change the config to =n in the .conf file but its says "symbol ... can not be set (has no prompt)

    What config exactly is it that you try setting to =n here? Is perhaps the CONFIG_NRFX_TWI0 set to y in your application?

    Best regards,

    Simon

Children
No Data
Related