Altera_Forum
Honored Contributor
15 years agoBeMicro UART Interface no data on RxD
Hi @ all
I tried the following vhdl process code in order to receive data from pc com interface: com: process (clk) variable temp : std_logic_vector(47 downto 0) := "000000000000000000000000000000000000000000000000"; variable zaehler : integer := 100; variable modus : bit := '0'; begin -- all led off if zaehler = 100 then led0 <= '1'; led1 <= '1'; led2 <= '1'; led3 <= '1'; led4 <= '1'; led5 <= '1'; led6 <= '1'; led7 <= '1'; zaehler := 99; end if; if modus = '0' then ------------------------------------------------------------------ if rxd = '1' then modus := '1'; zaehler := 0; led1 <= '0'; end if; ------------------------------------------------------------------ -- rxd does not receive data -- pin planner rxd = PIN_C8 ------------------------------------------------------------------ else end if; end process com; the led1 does not turn on as i would expect when sending data via com interface? do you have an clue what i am doin wrong. I believe that the data that is sent by the pc is not reaching the rxd pin? best regards thomas