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

TWI SHORTS register.

Hello,

About TWI in "nRF51_Reference_manual_v1.1.pdf",there is a register called "SHORTS". I have a few question about this register:

  1. Can I use SHORTS register to replace PPI function at "twi_hw_master.c".
  2. Is there any thing I should do before changing SHORTS register from BB_SUSPEND enable to BB_STOP enable .

Thank you for your attention! Kate

Parents
  • Can we get an updated answer for this question? I see that TWI Shorts are functional in latest chip rev but I don't understand what the reference manual is briefly trying to tell me the purpose and the function. I don't know what the Byte Boundary (BB) event does and I don't know what suspect resume does. I am in the process of writing an interrupt driven TWI write to EEPROM driver and would like to make as much use of hardware as possible. suspend/resume sounds like something that I'd want as well as the Byte Boundary Event but it would be nice to have a inkling of what their function is. I'm waiting for the 300 page real reference manual that will give an in depth description of the hardware instead of the Reader's Digest version that we have now. Any hope of seeing that?

  • Nordic has posted the revised HW driver which uses SHORTS on their Github page.

    See my post from a few weeks back for more info: devzone.nordicsemi.com/.../

    Anyway, I'm still having issues with SHORTS with the latest Rev chip (G0) - with the updated Nordic driver, write works but read doesn't. I'm also yet to hear anything back from Nordic regarding this.

Reply Children
No Data
Related