Morpho connectors (J17, J18) gives provision for connectivity with compatible boards such as
if you want to add IO-Link master capabilities to our PLC.
For further details on MCU interfaces, see
which summarizes the information contained in
the
.ioc
file provided with the
1.9
External memory interface
Serial Flash (U20) interfaces with the MCU via SPI5. The size of the serial flash is 1 Mbits. The address for
read/write is in the range of 0x000000 to 0x01FFFF. Sample read/write routines are provided in the firmware.
The FMC controller inside STM32 accesses the SDRAM (U19). In this application, 12 bit addressing is used along
with 16-bit data line. The HADDR[28] bit is used to select one of the two memory banks in the example code.
However, the memory can be used in 8-bit, 16-bit or 32-bit mode.
1.10
Jumper selection, LED indicators and test points
The recommended jumper settings for default option in the firmware are:
•
for module I0: J2 – Pin 1, 2 short (MISO); J4 pin 3-2 short (8-bit mode)
•
for module Q1: J10, J12 closed and J8 and J9 open
Table 1.
LED indicators
Type
Name
Description
Power indication
D40
Board input power indicator.
Power Good and Fault
D29, D34
Fault indication for
IC.
Fault and Overload
D21, D22
.
Debug
D36 (amber), D37 (blue)
To indicate program heartbeat, fault condition, etc. as per use case.
Input status
D1-D8
D9-D12
Status of digital inputs.
Output status
D24-D33
D13-D16
Status of digital outputs.
Note:
D22 is triggered by the OL pin of
, which indicates open load condition or short to ground condition.
Open load detection feature is activated by placing proper resistors between LOADx and PGND ground plane.
In the
evaluation board, there are resistors placed for open load detection for the Q1.X four
outputs. For Q1.2 and Q1.3, instead, they are activated only if J8 and J9 jumpers are closed. Thus, the Fault
LED (D22) might glow when there is no load connection or partial connection to output terminals.
Numerous test points are provided on the board (see
UM2933
External memory interface
UM2933
-
Rev 1
page 10/42