Using RD7:4 and RC5:4 as GPIO pins

Hi

I want to use RD 7:4 and RC5:4 for controlling a dac

since RB is partially used for the CAN-interface

are there any changes needed to MIOS for this?

(since RD7:5 are normally used to control the LCD)

thanks,

Michaël

Nah it’s all good so long as the WE line isn’t active, the LCD ignores the rest… The SRAM extension uses PORTD too, if you want an example.

Thx for your reply,

I’m not going to connect an lcd to that core but I was worried that

the port state would be changed by the lcd driver

My solution was to configure the core for a custom lcd driver

while leaving this template empty..

It works great in the meantime but I would like to take a look at the SRAM code :slight_smile:

Michaël