4. Functions
54
CNT32-4MT(LPCI)
Status, Count
The following types of status (error) are available concerning bus mastering.
Table 4.4. Status about bus master (Error)
Status Description
BUS MASTER STOP
Indicates that bus mastering transfer has completed.
CNT START
Indicates that counter sampling has been started.
CNT STOP
Indicates that counter sampling has been stopped.
TRIGGER IN
Indicates that the external start signal has been received.
OVER RUN
Indicates that the external start signal has been received at least twice.
Transfer continues normally.
Error Description
FIFO FULL
Indicates that FIFO memory has been full.
This is mainly because a heavy load on the system prevented bus mastering from being
executed in time.
Take appropriate action, for example, lower the transfer rate or system load.
S/G OVER IN
Indicates a buffer overflow.
The number of data items to be transferred exceeds the buffer size.
Increase the buffer size.
TRG ERROR
Indicates that the external start and stop signals have been received. Transfer is not
performed when this status is set.
Check how the external start and stop signals are input.
CLOCK ERROR
Indicates that, during data input/output at an external clock pulse, the next clock pulse
was received.
If this status is set, consider lowering the external clock frequency.
These status can be obtained by using the relevant API-CNT(98/PC) function in API-PAC(W32).
The 32-bit or 64-bit transfer count can be obtained by using the relevant API-CNT(98/PC) function in
API-PAC(W32). The transfer count is obtained as the number of data items (per channel) which have
been transferred to the memory area for the user application.