Mikroe DMX Click Скачать руководство пользователя страница 6

[6] 

 

MASTER mode commands 

 

@FLEN,XXX 

-

 

XXX is the length of the DMX frame. The possible valid range is from od 001 to 512. 

-

 

Default: 512  

A full DMX frame consists of 512 channels (512 bytes) plus one additional channel for the Start Code. However, it is 
not mandatory to transmit the entire DMX universe (512 channels). It can be shortened to any size between 1 and 512. 
This way, the refresh rate can be increased.  

NOTE: The actual transmitted frame length will always be FLEN + 1 because the Start Code is automatically inserted 
at the very beginning of the DMX frame.

 

 

@SADR,XXX 

-

 

XXX is the start address from which the input buffer will be mapped onto the output DMX frame. The valid range 
is from 001 to 512 

-

 

Default: 001 

The Click board™ allows sending UART data for only a group of channels within the DMX frame instead of the entire 
frame. The start address is the address from which the input buffer will be mapped onto the output DMX frame. 

 

@BLEN,XXX 

-

 

XXX is the length of the input data buffer which will be mapped onto the output DMX frame. The possible valid 
range is from od 001 to 512 

-

 

Default: 008 

This is the length of the input buffer which will be mapped onto the output DMX frame. 

NOTE: The input buffer mapping boundaries (defined by the SADR and BLEN commands) must fit within the configured 
DMX frame length. The parser checks that the parameters of these two commands are within the DMX frame and signals 
an error if mapping boundaries fall outside of the DMX frame length. 

 
 

 

@FTMR,XXX 

-

 

XXX is a time delay between two consequent frames.  The possible valid range is from od 000 to 007  (20ms to 
160ms) 

-

 

Default: 001 

When  the  DMX  frame  length  is  very  short,  the  refresh  rate  may  increase  too  much,  which  may  result  in  failure  to 
communicate with older and slower DMX equipment. This option allows an arbitrary delay interval between two consequent 
DMX frames, allowing successful communication with such DMX equipment. 

 

@ITMR,XXX 

-

 

XXX is the duration of the interrupt pulse. The possible valid range is from od 000 to 007. (100us to 1.280ms) 

-

 

Default: 001 

The logic state of the INT pin is LOW when idle. If the interrupt is generated, the Click board™ will trigger a HIGH pulse 
and blink the STAT LED with the same pulse duration. The duration of the interrupt pulse can be set by using this command. 

 

@SCOD,XXX 

Содержание DMX Click

Страница 1: ...ng Modes 2 UART interface 3 Other considerations 3 Configuring the Click board 3 MASTER SLAVE selection 3 MASTER RUN mode 4 SLAVE RUN mode 4 MASTER SLAVE CFG mode 5 DMX Start Code 5 Configuration comm...

Страница 2: ...e Click board also provides galvanic isolation between the DMX bus and the host application with no additional components required Operating Modes The Click board can be operated both as DMX MASTER an...

Страница 3: ...ick board boots up it is possible to select the new UART baud rate and operating mode The end of the boot sequence is signalized by a short pulse on the INT pin and a response message over the TX pin...

Страница 4: ...been received to fill the input buffer it will be swapped with the output buffer and an interrupt will signal that the input buffer is ready to receive a new data stream However the input buffer will...

Страница 5: ...r or lf control characters should be used when sending a command The parser will treat them as regular values causing a misalignment of the input buffer Any buffer misalignment can be resolved with a...

Страница 6: ...valid range is from od 001 to 512 Default 008 This is the length of the input buffer which will be mapped onto the output DMX frame NOTE The input buffer mapping boundaries defined by the SADR and BLE...

Страница 7: ...iguration has been stored it will be always retrieved from the EEPROM The only way to revert to default values is to clear the stored configuration record This command will delete the stored configura...

Страница 8: ...e received DMX frame length no error condition will be signaled In this case the SLAVE device will keep waiting for the particular channels that are out of range ITMR XXX XXX is the duration of the in...

Страница 9: ...9 Appendix DMX Click ABR setup and mode selection flow chart...

Отзывы: