timsanr
Member level 1
HI,
when I have FSM, I can send via UART 1 byte in one state and then go to the next. But if I'd like to send data signal containg e.g 40 bits, how can I do it in some loop, instead of creating 5 states (one for sending signal(39 downto 32), next for signal(31 downto 24), ...) ? I can some counter from 5 to 0 but how to load appropriate part of signal to 8 bits uart_send signal?
when I have FSM, I can send via UART 1 byte in one state and then go to the next. But if I'd like to send data signal containg e.g 40 bits, how can I do it in some loop, instead of creating 5 states (one for sending signal(39 downto 32), next for signal(31 downto 24), ...) ? I can some counter from 5 to 0 but how to load appropriate part of signal to 8 bits uart_send signal?
Last edited: