- 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
Use IE of Firefox on this forum, Chrome does not seem to work.
Regards, Dana.
- 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
can you explain what do you want to achieve?
And do you have problem with PSoC1 or PSoC5?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If you are working with PSOC 1 take a look at -
http://www.cypress.com/?rID=2900 AN2094 - PSoC® 1 - Getting Started with GPIO
http://www.cypress.com/?rID=39497 Shadow Registers
Regards, Dana.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I need to learn to manage registers in psoc 5.
I need some examples.
Gracias.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Some thoughts -
1) In Creator, Help, System Reference, System Reference Guide, section 7
are the functions for register access. In the device.h file are the register names.
2) In the Register TRM for your device there are the definitions of all the registers and their bit
fields to control HW.
Basically you read modify write registers to set/reset bits, bit fields, etc to effect
HW control at more primitive levels.
Regrads, Dana.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I want to do the program for a 4x3 matrix keyboard and want to use the records, as follows;
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Accessing complete ports in PSoC5 is described in the pin-component and the System Reference Guide (Help - System Reference). You may specify a port containing up to 8 pins and write with a single instruction
Port_Write(0xf0)
for example. Reading is done with Result = Port_Read();
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I do not understand the configuration of the pins if I have to do it individually or as follows: "Cy_pins" pins 0-7 whit
With a single name for all the cosets of pins. example Matriz for p1.0
p1.1
p1.2
p1.3
p1.4
p1.5
p1.6
p1.7
So a port but all under a common name "Matrix".
- 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
So just write
Matriz_Write(YourBitPattern);
and all the pins will be set as you want. Make sure that the configuration is set to "Contigous" under tab "Mapping"
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This might be of use -
Regards, Dana.