Not applicable
Sep 11, 2015
05:05 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 11, 2015
05:05 AM
Hi.
Successfully set up USIC1.1 and data is nicely output:ed using TBUFx.
TCSR.FLEMD=0
TCSR.WLEMD=1
SCTR.FLE=63
Writing;
TBUF[0x17] = 0x55;
Outputs 0x55 and then closes the frame as expected.
However, when I try and utilize the FIFO instead, the output data doesn't make sense.
I've allocated 16 slots and the data pointer seems to behave correctly. But the data is corrupt.
IN[0x17] = 0x55;
Yields something else entirely (looks like 0x10).
Do I need to set anything else? Flush before sending?
Any tips?
Successfully set up USIC1.1 and data is nicely output:ed using TBUFx.
TCSR.FLEMD=0
TCSR.WLEMD=1
SCTR.FLE=63
Writing;
TBUF[0x17] = 0x55;
Outputs 0x55 and then closes the frame as expected.
However, when I try and utilize the FIFO instead, the output data doesn't make sense.
I've allocated 16 slots and the data pointer seems to behave correctly. But the data is corrupt.
IN[0x17] = 0x55;
Yields something else entirely (looks like 0x10).
Do I need to set anything else? Flush before sending?
Any tips?
2 Replies
Not applicable
Sep 11, 2015
07:06 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 11, 2015
07:06 AM
Adding some info;
First write at powerup is scrambled even without FIFO.
TBUF[07] = 0x55;
TBUF[07] = 0x55;
TBUF[17] = 0x55;
Results in 8 bits and 0x10... What going on here?
First write at powerup is scrambled even without FIFO.
TBUF[07] = 0x55;
TBUF[07] = 0x55;
TBUF[17] = 0x55;
Results in 8 bits and 0x10... What going on here?
Sep 14, 2015
02:24 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 14, 2015
02:24 AM
Hello,
Can you share your code or an extract of the relevant portion to help us better understand the issue?
Regards,
Min Wei
Can you share your code or an extract of the relevant portion to help us better understand the issue?
Regards,
Min Wei