![Fastwel CPC307 Series User Manual Download Page 34](http://html.mh-extra.com/html/fastwel/cpc307-series/cpc307-series_user-manual_546446034.webp)
Device
and operation
CPC307
C P C 3 0 7 U s e r M a n u a l
34
© 2 0 2 2 F a s t w e l v . 0 0 6
31-1
BA
R/W
Base address,
[31-0] for the memory address range,
[15-1] for I/O address range
0
EN
R/W
Address decoding authorization
Chip Select 1 Base Address Mask
31-28
Reserved
RO
Reserved
27
RD
R/W
Enable decoding for read operations on the ISA bus
(IOR#, MEMR#)
26
WR
R/W
Enable decoding for write operations on the ISA bus
(IOW#, MEMW#)
25
B16
R/W
0
– 8 bit (sampling is active for 8-bit operations)
1
– 16 bit (sampling is active for 16-bit operations)
24
MIO
R/W
0
– decoding during I/O operations
1
– memory address range decoding
23-1
BAM
R/W
Address mask,
[31-9] for memory address range (MIO=1),
[15-1] for I/O operations (MIO-0)
0
Reserved
RO
Reserved
4.2.3.1 Address space of CAN1, CAN2 ports
The memory address range for accessing the CAN controllers can be assigned arbitrarily in the
least significant megabyte area. The addresses of the controllers must follow one after the other
subsequently - first CAN1, then CAN2. Each controller is assigned with a 256-byte memory range
for addressing the controller registers and the next 256-byte memory range for resetting the
controller.
In order to assign a range of addresses to the CAN controllers, you must specify the base address
(BA) and the base address mask in the registers of the SoC Vortex86DX. 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 (BA)
– 0xDF000,
- CAN1
– register area 0xDF000 – 0xDF0FF,
- CAN1
– controller reset 0xDF100 – 0xDF1FF (any write or read will reset the controller),
- CAN2
– register area 0xDF200 – 0xDF2FF,
- CAN2
– controller reset 0xDF300 – 0xDF3FF (any write or read will reset the controller).
Example of setting register values:
- write the address of the base address register 80003890 to port 0CF8;
- write the base address register value 0DF001 to the port 0CFC;
- write the address of the register of the base address mask 80003894 to the port 0CF8;