1 2 3 Previous Next 30 Replies Latest reply on Sep 9, 2016 11:41 AM by joh9_1534041

    PSoC 1 UART + DAC + ADC: RX Data lost //Float to String C ftoa() Code with decimal place definition + negative numbers

    joh9_1534041

      Hello,

         

      im receive some data (RX) via UART :

         

      1. convert it (atoi()) into a Integer,

         

      2. conver it (itoa()) into a String and sent it (TX) via UART.

         

      Meanwhile, reading 2 voltages (dualadc) and output (dac8) one voltage.

         

      Problem -> If i comment-out all ADC and DAC Code, the UART Communication works fine. But with all User-Moduls + miniCode the UART Communication is faulty (irregular).

         

      :: What can i do?

         

       

         

      Settings:

         

      Global Settings = 24Mhz, (Vdd/2)+/-(Vdd/2), SC On/Ref High

         

      UART = 9600, Sync to SysClk, 

         

      DUALADC = 8  Bit, CalcTime 45, DUALADC_HIGHPOWER,  PGA_1_HIGHPOWER, PGA_2_HIGHPOWER,

         

      DAC = DAC8_HIGHPOWER
          

         

      Thanks for your reply.

        1 2 3 Previous Next