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.

C674x, BIOS SPI driver (and ADS1158)

Other Parts Discussed in Thread: ADS1158

Hi

I'm using the C6742 in a design with the ADS1158 connected via SPI. (Well, that's the plan. For now the ADS1158 is connected to SPI from the C6748 EVM until HW design is finished.) I use DSP/BIOS 5.41.

I guess I'll have to write an SPI driver for the ADS1158, but I'm a bit at loss how the standard SPI driver in DSP/BIOS works. I've read the "DSP/BIOS SPI Device Driver Architecture/Design Document" (from pspdrivers_01_30_00_05\packages\ti\pspiom\spi\docs), but it is still not very clear to me.

Are there any other documents on SPI in BIOS or the C674x? Or is there some example code?

Also: if there is some sample code to interface the ADS1158 with DSP/BIOS, I'd be a very happy man.

Best regards

Admar

  • It seems that I overlooked the pspdrivers_01_30_00_05\packages\ti\pspiom\examples directory. These examples are great! I don't have a working SPI yet, but I do have some working GPIO and UART using the examples in this directory, so I think I will be able to figure out the SPI stuff.

    About code for ADS1158: don't have any yet, since I need SPI first. So: if there is anyone willing to share some code, I'll be a very lucky man. If not: I'll just have to write my own.

    Admar

  • We’re closing out this old thread. If you feel there is more discussion on the topic, please feel free to "Reply".