This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

TWI Transaction Manager and TWIM

Hi,

What is TWI transaction manager? Is this a hardware or just software library? Does it work with TWIM (with easy DMA)?

I have a suggestion that when making an example application it may better to write as a tutorial, or with step by step instructions. For example, the example "twi_master_using_nrf_twi_mngr" is not easy to change to another application as I can't easily find the steps to configure the library/hardware.

Parents
  • Hi,

    What is TWI transaction manager? Is this a hardware or just software library? Does it work with TWIM (with easy DMA)?

    The TWI transaction manager itself is a library, but it is built on top of the TWI driver. The driver can be configured to be used both with the TWI peripheral (without DMA) and the TWIM peripheral (with DMA), in the exact same way as if you use the driver directly.

    I have a suggestion that when making an example application it may better to write as a tutorial, or with step by step instructions. For example, the example "twi_master_using_nrf_twi_mngr" is not easy to change to another application as I can't easily find the steps to configure the library/hardware.

    I see your point, and it has been reported before that there should be better documentation. However, I recomend you refer to the TWI transaction manager documentation, which shows how you can include it in any application. You still need to copy-paste and adjust sdk_config.h configuration defines, add required files and include folder, etc, so I agree that it is not on the same level as a tutorial (far from it, in fact).

Reply
  • Hi,

    What is TWI transaction manager? Is this a hardware or just software library? Does it work with TWIM (with easy DMA)?

    The TWI transaction manager itself is a library, but it is built on top of the TWI driver. The driver can be configured to be used both with the TWI peripheral (without DMA) and the TWIM peripheral (with DMA), in the exact same way as if you use the driver directly.

    I have a suggestion that when making an example application it may better to write as a tutorial, or with step by step instructions. For example, the example "twi_master_using_nrf_twi_mngr" is not easy to change to another application as I can't easily find the steps to configure the library/hardware.

    I see your point, and it has been reported before that there should be better documentation. However, I recomend you refer to the TWI transaction manager documentation, which shows how you can include it in any application. You still need to copy-paste and adjust sdk_config.h configuration defines, add required files and include folder, etc, so I agree that it is not on the same level as a tutorial (far from it, in fact).

Children
Related