Shared peripheral resources

Hi,

In the nRF5340 (I may be wrong, but haven't seen it in nRF52-series) the peripherals UARTn, TWIXn and SPIXn (where X is either M or S and n is number from 0-3) the same instance number peripheral can't be used at the same time. That means that we only have in total 4 peripherals (+ an additional SPI). What is the reasoning behind this? 
Second, I do believe that we can do multiplexing between the different peripherals, but this is not supported by Zephyr directly - we have to do it through nrfx drivers. Will the Zephyr support for this be included in the future?

Best regards,

Geir 

Parents
  • Hello Geir,

    In the nRF5340 (I may be wrong, but haven't seen it in nRF52-series) the peripherals UARTn, TWIXn and SPIXn (where X is either M or S and n is number from 0-3) the same instance number peripheral can't be used at the same time. That means that we only have in total 4 peripherals (+ an additional SPI). What is the reasoning behind this? 

    The reasoning is that they all use the same hardware, so-called "serial box" which can be configured to either of these serial protocols and there are only 4 of those on the chip.

    Second, I do believe that we can do multiplexing between the different peripherals, but this is not supported by Zephyr directly - we have to do it through nrfx drivers. Will the Zephyr support for this be included in the future?

    I think that the answer is "no" for now, but I have asked for clarification about that.

    I also would like to inform you that I will be away until the next week, because of the national holiday. Happy 17th of May!

    Best regards,

    Michal

Reply
  • Hello Geir,

    In the nRF5340 (I may be wrong, but haven't seen it in nRF52-series) the peripherals UARTn, TWIXn and SPIXn (where X is either M or S and n is number from 0-3) the same instance number peripheral can't be used at the same time. That means that we only have in total 4 peripherals (+ an additional SPI). What is the reasoning behind this? 

    The reasoning is that they all use the same hardware, so-called "serial box" which can be configured to either of these serial protocols and there are only 4 of those on the chip.

    Second, I do believe that we can do multiplexing between the different peripherals, but this is not supported by Zephyr directly - we have to do it through nrfx drivers. Will the Zephyr support for this be included in the future?

    I think that the answer is "no" for now, but I have asked for clarification about that.

    I also would like to inform you that I will be away until the next week, because of the national holiday. Happy 17th of May!

    Best regards,

    Michal

Children
No Data
Related