- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi All,
We are using Arria 10 SOC FPGA and interfacing SPI slave device which needs 20-bit stream of data as input. Here we have few questions on Arria 10 SPI controller. 1. What is the minimum and maximum bits per word supported on SPI master controller? (spi-dw.c driver supports only 8 and 16 bits) 2. How do we set chip select to active until spi transfer completes 3 byte or 20 bit data.?Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The technical reference manual for the A10 SoC HPS says the SPI controller supports data size from 4 to 16 bits. To access a device with 20-bit data you'll probably have to implement a soft SPI controller in the FPGA fabric and access that from the HPS. That would obviously require a custom driver unless you can find a soft SPI core that already has Linux support.
Good luck.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for your reply,
There should option to set the chip select pin as force active form SPI master. Can you please share information regarding that or register level details of SPI master controller.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page