- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear Sirs and Madams,
I have a question about the description of the function in device datasheet.
PSoC4200M Datasheet URL
https://www.cypress.com/file/377971/download
For the tables on pages 12 and 13 of the datasheet,
It is described as "tcpwm.line[0]:1" or "scb[0].spi_mosi:1".
I understand that the numbers in "[]" are individual peripheral numbers.
What is the difference between "tcpwm.line [0]: 1" and "tcpwm.line [0]: 0"?
For example, P2[4] is "tcpwm.line [0]: 1", P3[0] is "tcpwm.line [0]: 0",
I thought that I could only assign one "tcpwm.line [0]" and one "tcpwm.line_comp [0]" in one TCPWM [0].
However, it uses two TCPWM components and both can be placed at "tcpwm.line [0]" in TCPWM [0].
I thought that if I assigned one "tcpwm.line [0]", I couldn't assign the other "tcpwm.line [0]".
Is it okay to understand in the sense that the above configuration is possible?
Please tell us the difference between "tcpwm.line [0]: 1" and "tcpwm.line [0]: 0".
Regards,
Solved! Go to Solution.
- Labels:
-
PSoC 4 MCU
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello @MiNe_85951
What is the difference between "tcpwm.line [0]: 1" and "tcpwm.line [0]: 0"?
For tcpwm.line [x]: y, x refers to the instance of the tcpwm in case 4200 M there are 8 instances of tcpwm and x can vary from 0 to 7, y designates copies of the signal name. For example there can be multiple copy of the signal 'line' for tcpwm[0], that is, tcpwm.line[0]:0 and tcpwm.line[0]:1 . Only one copy of a signal can be active at a time.
In your case when connecting TCPWM 0 (PWM_1) line to P2.4( tcpwm.line[0]:1) the direct connection between the signal and the pin is utilized. But when connecting TCPWM 1 (PWM_2) line to P3.0 (tcpwm.line[0]:0) PSoC 4200M utilizes the Digital signal interconnect (DSI) fabric.
In case the device did not support DSI it would not be possible to connect TCPWM 1 line signal to pin 3.0. The only possible options for connecting TCPM 1 line signal in such a case would be P2.6 (tcpwm.line[1]:1) or P3.2 (tcpwm.line[1]:0) or P7.2 (tcpwm.line[1]:2)
Is it okay to understand in the sense that the above configuration is possible?
Yes, it is possible in this case
Thanks and Regards
Ekta
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello @MiNe_85951
What is the difference between "tcpwm.line [0]: 1" and "tcpwm.line [0]: 0"?
For tcpwm.line [x]: y, x refers to the instance of the tcpwm in case 4200 M there are 8 instances of tcpwm and x can vary from 0 to 7, y designates copies of the signal name. For example there can be multiple copy of the signal 'line' for tcpwm[0], that is, tcpwm.line[0]:0 and tcpwm.line[0]:1 . Only one copy of a signal can be active at a time.
In your case when connecting TCPWM 0 (PWM_1) line to P2.4( tcpwm.line[0]:1) the direct connection between the signal and the pin is utilized. But when connecting TCPWM 1 (PWM_2) line to P3.0 (tcpwm.line[0]:0) PSoC 4200M utilizes the Digital signal interconnect (DSI) fabric.
In case the device did not support DSI it would not be possible to connect TCPWM 1 line signal to pin 3.0. The only possible options for connecting TCPM 1 line signal in such a case would be P2.6 (tcpwm.line[1]:1) or P3.2 (tcpwm.line[1]:0) or P7.2 (tcpwm.line[1]:2)
Is it okay to understand in the sense that the above configuration is possible?
Yes, it is possible in this case
Thanks and Regards
Ekta
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ekta-san,
Thanks to your explanation, I understood that DSI of PSoC4M does not cause build error.
And basically, I understood that it is desirable that the instances ("[x]") do not overlap.
Because DSI must always be considered and placed.
Regards,