![Fastwel CPC307 Series User Manual Download Page 35](http://html.mh-extra.com/html/fastwel/cpc307-series/cpc307-series_user-manual_546446035.webp)
Device
and operation
CPC307
C P C 3 0 7 U s e r M a n u a l
35
© 2 0 2 2 F a s t w e l v . 0 0 6
- write the value 0DFFFFFC of the register of the base address mask to the port 0CFC.
For CAN controllers on the module interrupts IRQ10 (CAN1) and IRQ11 (CAN2) are hardware set.
The preset address values are specified in Table 4.4.
Table 4.4. Preset address value for CAN1 and CAN2 interfaces
CAN1
CAN2
Control area
DF000
– DF0FF
DF200
– DF2FF
Reset area (when accessing these addresses the
corresponding CAN controller is reset)
DF100
– DF1FF
DF300
– DF3FF
ISA bus interrupt line
IRQ10
IRQ11
4.2.3.2 Address space of COM5, COM6 ports
The memory address range for accessing the serial ports COM5, COM6 can be assigned
arbitrarily in the I/O port area. The addresses must follow one after the other subsequently - first
COM5, then COM6. Each port is assigned 8 bytes of address in the I/O area.
In order to assign a range of COM5, COM6 port addresses, you must specify a base address (BA)
and a base address mask in the Vortex86DX SoC registers. You can change the preset base
address in the BIOS Setup menu or programmatically via the PCI configuration registers.
Example of setting the base address through the PCI configuration registers.
Base address
– 220,
- COM5
– registers area 220 – 227,
- COM6
– registers area 228 – 22F.
Example of setting register values:
- write the address of the base address register 80003898 to port 0CF8;
- write the value of the base address register 221 to the port 0CFC;
- write the address of the base address mask register 8000389C to the port 0CF8;
- write the value of 0C00FFF0 of the base address mask register to the port 0CFC.
For controllers COM5 and COM6, the interrupts IRQ7 (COM5) and IRQ9 (COM6) are hardware set
on the module. Preset addresses for COM5, COM6 ports are shown in Table 4.5.
Table 4.5. Preset address values for COM5 and COM6 ports
COM5
COM6
Control area
220
– 227
228
– 22F
ISA bus interrupt line
IRQ7
IRQ9