Other Parts Discussed in Thread: PGA280
The PGA280 datasheet doesn't spend enough time describing the use of the GPIO pins as simple outputs. Nowhere does it describe how to configure and write a simple output. The closest it comes is a note at the top of the register 5 definition for "Write 0x45".
Is the following true? In order to make all 7 GPIO pins outputs and then write values to them:
1) Send SPI command and data 0x487F to make them all outputs.
2) Send SPI command and data 0x45NN to send out data values 0xNN to GPIO6:0.
(e.g. 0x457F for all ones. 0x4500 for all zeroes. 0x4555 for alternate ones and zeros on GPIO6:0.)
Step 2 is never specified explicitly in the datasheet. I just want to be sure before designing this part in.
Thanks.