This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

am335x uart messy code

Other Parts Discussed in Thread: AM3359

hi ,all

      I'm using beaglebone which have an am3359 on it. I'm figuring out how to use uart in fifo mode, the following is what i'm doing:

    1.enable L3,L4_wkup clock. and uart0 clock, pinmux setup.

    2.then using uartputs in poll mode,it turns out ok.

    3.after second step, I enable fifo. tx_trig: 1 ,rx_trig: 60 , create my own function which will put the string to a buffer, when a tx_trig interrupt assert, the isr put the buffer into tx_fifo while fifo is not full. sometimes, uart output the right string,  but sometimes uart output the messy code. I'm using ccsv5 with xds100v2, i download the code to the sdram using xds100v2.

    it really puzzled me. somtimes, when i press F8 to resume execution ,after a while , I press pause, it goto the impossible place. for example, b loop0, or some place where the code may never go there.

   help~

 Thanks.