Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

PSoC™ 6

ChRe_4711096
Level 4
50 replies posted 25 replies posted 25 sign-ins
Level 4

The architecture TRM shows the ALU ASRC mux in two different ways, and they leave me a bit unsure about what I can expect. In the overview section we have this:

Anmerkung 2020-09-07 095217.png

The above schematic would indicate that whenever PI is selected by SRC A, PO = PI. However, in the parallel in/out section, this schematic is used:

Anmerkung 2020-09-07 095124.png

This indicates that I can use PI as input to the ALU, perform an operation on it, and store the result in A0 or A1 for parallel output. Which is right?

My goal is to have the following instructions:

  • load A0 = D0; A1 = D1
  • PO = A0
  • PO = A1
  • PO = PI & A0
0 Likes
1 Solution
PSa_795526
Level 4
First like given 10 replies posted 5 solutions authored
Level 4

Hi,

I believe the schematic in the parallel in/out section is the right one (PO is a mux selection between A0 or A1), because the TRM of PSoC5LP (which have the same UDB architecture) has consistent representation both in overview section and parallel in/out section. Below is a screenshot of the datapath overview from page 168 of PSoC5LP TRM: https://www.cypress.com/file/123561/download

datapath top level diagram screenshot PSoC5LP TRM.jpg

and parallel in/out section in page 185 of PSoC5LP TRM

datapath parallel in_out diagram screenshot PSoC5LP TRM.jpg

Cypress may have to update the PSoC6 TRM document regarding the datapath overview diagram.

Best Regards,

Prem Sai

View solution in original post

0 Likes
2 Replies
PSa_795526
Level 4
First like given 10 replies posted 5 solutions authored
Level 4

Hi,

I believe the schematic in the parallel in/out section is the right one (PO is a mux selection between A0 or A1), because the TRM of PSoC5LP (which have the same UDB architecture) has consistent representation both in overview section and parallel in/out section. Below is a screenshot of the datapath overview from page 168 of PSoC5LP TRM: https://www.cypress.com/file/123561/download

datapath top level diagram screenshot PSoC5LP TRM.jpg

and parallel in/out section in page 185 of PSoC5LP TRM

datapath parallel in_out diagram screenshot PSoC5LP TRM.jpg

Cypress may have to update the PSoC6 TRM document regarding the datapath overview diagram.

Best Regards,

Prem Sai

0 Likes
ChRe_4711096
Level 4
50 replies posted 25 replies posted 25 sign-ins
Level 4

I have a datapath that uses both PI and PO, and it works as intended (PO = A0 or A1 depending on what I select)

0 Likes