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

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

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.

0 Likes
31 Replies