Not applicable
Aug 12, 2014
10:18 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 12, 2014
10:18 AM
Hello,
I write 0x03 and read it, than
I write 0x07 and read it, than
I write 0x03 again and read it.
Now my Output has following values:
00000011 (true)
00000110 (why 6? i wrote 7)
00000010 (why 2? i wrote 3)
Can anyone tell me why it dont take the right values to the output?
I write 0x03 and read it, than
I write 0x07 and read it, than
I write 0x03 again and read it.
Now my Output has following values:
00000011 (true)
00000110 (why 6? i wrote 7)
00000010 (why 2? i wrote 3)
Can anyone tell me why it dont take the right values to the output?
- Tags:
- IFX
4 Replies
Not applicable
Aug 12, 2014
10:01 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 12, 2014
10:01 PM
Hi Markus,
Are you using Apps API eg. SPI001_WriteData/ReadData() to write/read data? The APIs are defined in SPI001.c. You may be aware that the FIFO buffer is always enabled if using Apps.
BR,
Zain
Are you using Apps API eg. SPI001_WriteData/ReadData() to write/read data? The APIs are defined in SPI001.c. You may be aware that the FIFO buffer is always enabled if using Apps.
BR,
Zain
Not applicable
Aug 13, 2014
08:13 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 13, 2014
08:13 AM
Hi Markus,
Have you set the Transmit and Receive FIFO sizes in the SPI001 App configuration tab ? I suggest both are set to 4 to support your example.
Best regards
Aaron
Have you set the Transmit and Receive FIFO sizes in the SPI001 App configuration tab ? I suggest both are set to 4 to support your example.
Best regards
Aaron
Aug 13, 2014
09:10 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 13, 2014
09:10 PM
Aaron
Can you explain why the FIFO sizes should be set to 4? I am having a delay between transmission and wondering if I should change the FIFO size.
Can you explain why the FIFO sizes should be set to 4? I am having a delay between transmission and wondering if I should change the FIFO size.
Not applicable
Aug 14, 2014
12:18 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 14, 2014
12:18 AM
Hi jptalledo,
You either need to wait for the previous write to finish before writing again or you should set the FIFO size to be equal or greater than the number of writes you want to do.
Best regards
Aaron
You either need to wait for the previous write to finish before writing again or you should set the FIFO size to be equal or greater than the number of writes you want to do.
Best regards
Aaron