Quantcast
Channel: Forum - Recent Threads
Viewing all articles
Browse latest Browse all 5781

RE: Touch screen RIIC issue

$
0
0

OK.  Thanks.  I did have more than one pin assigned to SCL.  SSP pin configurator assigned Port 2 pin 04, then in my code I assigned Port 4 pin 7.

I changed my code as follows:

  • In my code first I re-assign Port2 pin 04 to be an input with a pull up resistor
  • Then I assign Port 4 pin 7 to be SCL0_B

After I did this I now get two clock pulses each time I touch the screen instead of one clock pulse.  I still should be getting at least 8 pulses.

As to using the same Suffix:

  • I am used to the RX family where you can mix and match pin assignments so when I designed my hardware I used SCL0_A and SDA0_B for my RIIC port
  • I chatted with Warren about this a couple of days ago.  He indicated that you can use pins with different suffixes as long as you understand that there may be some signal skew between the signals.
  • In other words Renesas cannot guarantee the timing per the datasheet if you mix suffixes.
  • Reading 20.6 I think it does not prohibit mixing suffixes.  It only prohibits assigning the same function to two or more pins.

I am open to any other ideas ???

Regards,

Steve D


Viewing all articles
Browse latest Browse all 5781

Trending Articles