- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
(FYI, I am doing PSoC 101 Lesson 4 and 5 with the -044 dev kit. instead of the -042 kit)
P6.5 is connected to the blue led on the board as well as a pin on the J2 Arduino header. To this novice, it should be usable and route-able.... because Cypress connected it in 2 places.
When trying to control this pin (p6.5) via hardware ( ie. SW2 and P0.7), strange things happen.
1. The pin list on the cydwr does not always show p6.5.
2. The program button on Creator (ctrl + F5) works but terminates with fit.m0049 and then says p6 can not be used for routed connections.
So I ask why? And did I miss a clue that would have saved me chasing this round and round for a couple days?
Regards
Tim Miner
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Tim,
In the "PSoC 4100M/4200M Family PSoC 4 Architecture TRM, Document No. 001-95223" there is a section "7.11 Port Restrictions" as follows.
Regards,
Noriaki
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi TiMi_264191,
I tried to do the project implementing the lesson of Hardware pins, from PSoC 101 Lesson 4 on my end. I have used the CY8CKIT- 042 pioneer kit. It is working fine. I have shared my project for your convenience. Please go through it. It should not create any issue on your end as well.
Also, can you share your project, so that I can look into the issue precisely?
Best Regards,
Aashita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Tim,
In the "PSoC 4100M/4200M Family PSoC 4 Architecture TRM, Document No. 001-95223" there is a section "7.11 Port Restrictions" as follows.
Regards,
Noriaki
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Everyone,
Thank you for your response. I believe Noriaki has the best answer in this
case. The fact that PSoC creator sometimes allows us to attach hardware to
p6.5 is a mystery and perhaps a bug. The fact that Cypress used p6.5 for
the blue led on the -044 kit seems like a mistake to me but, it can be
controlled by the processor, so, maybe not. This fact did lead me (for one)
down a rabbit hole but, I did learn from the experience thanks to all of
you.
I used to believe that Cypress filters some "available functionality" to
designs in Creator based on not only the part number selected but also on
the CY8KIT number. This will no longer be an assumption on my part.
Noriaki, there are no "actions" currently available to me to label your
answer as correct or the best answer or I would do so.
Note that the -042 kit works fine because that blue led (or anything else)
is not connected to anything higher than port 3.
Many thanks to you all.
Tim Miner
On Tue, Jun 9, 2020 at 2:07 AM Noriaki Tanaka <community-manager@cypress.com>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I felt a strong dejavu reading your question.
Is it something similar with the discussion below?
CY8CKIT-044: TCPWM.line cannot be reached from pin P6[5] (LED Blue)
In that discussion, the conclusion was we can connect P6[5] to line_n of TCPWM
but we can not connect P6[5] to line of TCPWM.
If I'm missing the point, I'm sorry.
moto
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Motoo,
They should be the same problem. Please refer following Pinout table from the "PSoC® 4: PSoC 4200M Datasheet Document Number: 001-93963"
The P6.5 pin has some alternative functions including "tcpwm.line_compl[6]:0" This function means that there is a dedicated connection from the line_n (line_compl) pin of the 6th TCPWM block. So, it is available to connect the P6.5 to the line_n output of a TCPWM block. In this case, the 6th TCPWM block is selected automatically.
When P6.5 is connected to a line output of a TCPWM block, PSoC Creator is going to connect the P6.5 pin through the internal routing using the DSI because there is no dedicated connection to any line output. Therefore PSoC Creator reports warnings.
Both problems come from the port 6 not supporting DSI.
Regards,
Noriaki
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear Noriaki-san,
Thank you very much for your kind follow up.
> They should be the same problem.
That was what I thought, too.
And since the (initial) interest of the customer was PSoC 101,
I thought that providing a workaround would be fine.
Meantime, since the LEDs on the CY8CKIT-044 is negative logic,
connection line_n instead of line seems logical, too.
> Both problems come from the port 6 not supporting DSI.
So, I think this line is technically the final answer.
Best Regards,
10-Jun-2020
Motoo Tanaka