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

How many peripherals can be connected to APB?

how many peripherals can be connected to APB?

Parents Reply Children
  • The address decoding would be the following.

    assign PSEL0 = (peri0_addr_start[31:2] >= PADDR[31:2])&&(PADDR[31:2] <= peri0_addr_end[31:2]);
    assign PSEL1 = (peri1_addr_start[31:2] >= PADDR[31:2])&&(PADDR[31:2] <= peri1_addr_end[31:2]);
    assign PSEL2 = (peri2_addr_start[31:2] >= PADDR[31:2])&&(PADDR[31:2] <= peri2_addr_end[31:2]);
    ........
    assign PSELx = (perix_addr_start[31:2] >= PADDR[31:2])&&(PADDR[31:2] <= perix_addr_end[31:2]);

    Best regards,
    Yasuhiko Koumoto.