Why LCD won't work with RS connected to PortA.6 of 18F452?


Closed Thread
Results 1 to 5 of 5

Hybrid View

  1. #1
    Join Date
    May 2008
    Location
    Italy
    Posts
    825


    Did you find this post helpful? Yes | No

    Default Re: Why LCD won't work with RS connected to PortA.6 of 18F452?

    Did you read the following notes on page 31 of the datasheet:

    5: Bit 6 of PORTA, LATA, and TRISA are enabled in ECIO and RCIO Oscillator modes only. In all other
    Oscillator modes, they are disabled and read ’0’.
    6: Bit 6 of PORTA, LATA and TRISA are not available on all devices. When unimplemented, they are read ’0’.

    Al.
    All progress began with an idea

  2. #2
    Join Date
    Mar 2009
    Location
    Colorado
    Posts
    378


    Did you find this post helpful? Yes | No

    Default Re: Why LCD won't work with RS connected to PortA.6 of 18F452?

    Thanks Al! That little bit of pertinent info is well hidden in the data sheet. The I/O section doesn't even mention this limitaton for pin PortA.6. Since my device has this pin I guess item 5: as you listed applies in my case.
    Now I have to figure out how to set Oscillator ECIO or RCIO mode. I'm now trying to figure out how to set the configs to do this for the 18F452.

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts