- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I'm trying to blink an LED to learn about PSoC, using Pioneer Kit, and Creator 3.0.
I know there are easier ways to do this...
I'm using a Counter component.
Clock_1, 12 MHz, connected to Counter_1 clock input
Clock_2, 128 Hz, connected to Counter_1 count input
Counter_1 comp output connected to Digital Ouput pin Pin_Green (P0[2])
When I attempt to 'Generate Application' I get the following errors:
mpr.M0119:Invalid connection for clock "Clock_2" connected to "\Counter_1:CounterUDB:count_enable\:main"
mpr.M0119:Invalid connection for clock "Clock_2" connected to "\Counter_1:CounterUDB:count_stored_i\:main"
The datasheet for the Counter_v2_40 states that "You can connect any digital signal from any source to the clock/count input.
Are there some other rules about signal connections between components that I need to refer too?
Any help would be appreciated.
Thanks,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Post an archive of the project, makes life easy for forum to help.
"File"
"Create Workspace Bundle"
and post to forum using IE or Firefox, Chrome has problems posting.
Also, on the start page of Creator, under "Examples and Kits", "Find Example Project" there
is a project browser you can open up quite a few projects for various examples.
has many projects as well.
Regards, Dana.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The Pioneer Kit has much fun indeed.
You said ...
[ Clock_1, 12 MHz, connected to Counter_1 clock input
Clock_2, 128 Hz, connected to Counter_1 count input
]
If it is not typo,
The Clock input does not accept multi clock source.
However datasheet say
[ You can connect any digital signal from any source to the clock/count input.
]
Any source but single.
Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
For PSoC3/5 you can connect any digital signal from any source to the clock/count input, but for PSoC4 this is not ture. In PSoC4, the clock resource can only be routed to clock terminal of components, you cannot route it to other terminal like count of counter, GPIOs(except system clock), etc
If you really need a 128Hz clock to provide count signal for the counter, use a DFF, a NOT agte and a 256Hz clock to comprise a divider and connect DFF output to the count terminal.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I Thank You All for your responses.
Xaiowei, I tried your recomendation of a 256 Hz clock, a DFF, and a NOT, and my project worked as I intended.
So now I know to connect Clocks only to clock inputs. I probably wouldn't have figured that out on my own.
And thanks to Dana for telling me the accepted way to submit a workspace to the forum.
-- Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There is a nice explanation of that over at the PSoC Sensei blog (together with some other usefull goodies).