This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

9bit SPI interface

Hi,

Is it possible to use SPI master on nrf51822 in 9bit mode or shall I use bitbanging? I have a slave (SSD1306) that accepts only 9bit words.

Thanks, Sergey

Parents
  • There is nothing I see in the Reference Manual or Product Specification that would provide for a 9 bit mode. In fact the TX and RX registers are both shown to be 8 bits wide.

    If you do end up bit banging the interface and are using the soft device stack, you may need to take some care to avoid interference by stack when radio events occur. I.e. you may need to use radio notifications to make this work properly.

Reply
  • There is nothing I see in the Reference Manual or Product Specification that would provide for a 9 bit mode. In fact the TX and RX registers are both shown to be 8 bits wide.

    If you do end up bit banging the interface and are using the soft device stack, you may need to take some care to avoid interference by stack when radio events occur. I.e. you may need to use radio notifications to make this work properly.

Children
Related