![FabiaTech FX5328 User Manual Download Page 68](http://html.mh-extra.com/html/fabiatech/fx5328/fx5328_user-manual_536437068.webp)
FabiaTech Corporation
63
CANBUS
This section describes how to program and use the CAN BUS. it provides a
Description of the I/O memory map of the chip and discussion of the internal
registers to aid you in programming your CAN controller chip.
Defined Memory Mapping And Interrupt
The CANBUS occupies 2 bytes of FX5328 memory space. You can set the base
address and access to the internal resources of the SJA1000 CAN controller chip.
The SJA1000 chip access is multiplexed in such a way that the host must first write to
300h the internal address of the CAN chip and after that perform a write to address
301h with the actual data to be written into the desired memory location.
Address
302h is a hardware-reset function of the SJA1000. Performing a read or write to this
address will cause a hardware reset to the CAN controller. You may need to reset
the chip in case of an unrecoverable error in the CAN controller chip. And your
can use interrupt the main processor when a message is received or transmitted if
interrupts are enabled on the FX5328. By using interrupts you can write powerful
code to CAN.
Description Factory
Setting
Base Address
300H
Data Of Address
301H
Hardware Reset Of SJA1000 Chips
302H
Interrupt Require Quest
11
D & A
Buffer
Decoder
SJA1000
CAN-BUS
Controller
OPTO
Isolation
Xceiver
DB9-CA
N
Local Bus
BUS
Summary of Contents for FX5328
Page 5: ...v ...
Page 11: ...FabiaTech Corporation 6 ...
Page 20: ...FabiaTech Corporation 8 Connecting the Audio EAR Phone EAR Phone 15 ...
Page 25: ...FabiaTech Corporation 20 ...