- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi All,
I am a newbie for this system. I have questions about digital GPIO write and read.
1. When I tried to copy code examples to my new project, it shows CY8C5888 and S6E1C3 not compatible and couldn't change to new chip
2. I tried to use port_name+write or port_name+read, but when I build the system it shows that "LCD_CS_write" is undefined.
LCD_CS is a gpio port name, while LCD_CS_write is a output command.
I hope to know how to define a GPIO output macro or function associated to a special PORT or BIT.
I use CY8CKIT-059 Prototyping Kits
Thank you in advance.
Jim
Solved! Go to Solution.
- 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
Please post your code so we can check it. Click on file and then Create workspace bundle. Then attach the file created to a new comment by clicking add attachments.
- 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 listed associated pins below
Pin name and connections:
LCD_CLK ------->P2.5 LCD clock.
LCD_CS---------->P2.3 LCD chip selection
LCD_SEL---------->P2.4 LCD instruction and data selection
LCD_SI------------->P2.6 LCD data
Pin0_0--------------->P0.0 : waveDAC 1 outtput
Pin0_1--------------->P0.1 : waveDAC 2 output
Pin3_6--------------->P3.6 : waveDAC 3 output
Thanks again.
Jim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jim, may I suggest you read again bobgoar post ?.
Tony
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Tony,
Thanks very much. Sorry, I solved problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How did you solve your Problem? Using "LCD_CS_Write" instead of "LCD_CS_write" ??
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, LCD_CS_Write is correct.
Thanks
Jim