Hi,
I am using the multiplexed DMMDATA[15:2] and MIBSPI5 pins for general purpose output. These pins are configured as GPIO outputs in both DMM and MIBSPI5 registers.
My problem is that a write of output data to DMMPC4 (set high) or DMMPC5 (set low) appears to have no effect at the output pin.
In the TRM, I can find no mention of DMM within the MIBSPI section, nor MIBSPI within the DMM section.
Configuration registers I set are:
DMMPC0 = 0x00000000 // GIO mode
DMMPC1 = 0x0007FFFF // Output
DMMPC6 = 0x00000000 // Push/pull
DMMPC7 = 0x00000000 // Pull control enabled
DMMPC8 = 0x00000000 // Pull down
SPIPC0 = 0x00000000 // GIO mode
SPIPC1 = 0x00000FFF // Output
SPIPC6 = 0x00000000 // Push/pull
SPIPC7 = 0x00000000 // Pull control enabled
SPIPC8 = 0x00000000 // Pull down
- I don't understand the term 'multiplexed' when used with respect to these pins; is there a subtle difference to them being 'shared' or 'multi=purpose'?
- Do I need to set a multiplex selector register somewhere to route the output from either DMM or MIBSPI5 control registers or should either module's registers control the multiplexed outputs?
Regards, Tony.