Hello Rick, PMOD socket is just like any other header on the board. Here's the common procedure I use when setting up any serial communication on Synergy kits: - Use the board schematic together with "I/O Ports - Peripheral Select Settings for each product" (section 20.6 for S7 and S3) in the Device User's Manual to find the suitable pins for my application. Make note of the channel number and pin option, if present (i.e. _A) - Make the relevant pin assignments on the "Pins" tab in the Synergy configurator. If the pins are already assigned to a different peripheral, I investigate whether or not their old function can be disabled. If not, I go back and select different pins. - Add SPI/I2C/UART Driver or Framework and configure the Driver to use the channel I selected earlier (it's important to distinguish between SCI and RSPI/RIIC). Enable the interrupts and provide other necessary config. - Generate content and go coding Simple PMOD display example for DK-S1 implements an SPI display driver. The pin header file should also have pin assignments defined for PMOD B on SK-S7 so you should be able to port this project easily. Hope this helps. Regards
↧