Hi there,
The following is true for our setup:
- Code Composer studio v9.1.0.00010
- PDK for AM65XX v1.0.5
- XDC tools v3.55.02.22
- IPC v3.50.03.05
- NDK v3.60.00.13
We want to test the SPI functionality with an external SPI device. According to my understanding, the chip select pin should be handled by the driver when calling SPI_transfer. Is this correct? This is done by defining the SPI_v1_HWAttrs.chNum field to 0 or 1, and that will correspond to chip select 0 and 1. When measuring the pins of the J20 test header, I can successfully measure the correct data being transmitted over the SCLK and D0 pins. However, nothing happens on the CS pin. Upon further investigation, this pin is connected directly to R317 and R316,l which is not placed on the board:
How will the chip select functionality work if there is no physical connection to the MPU? What do you suggest I do to be able to test the SPI functionality? Using a different pin as GPIO may work, however this is a bit disappointing that I should either solder a resistor in there, or use the GPIO module.
Kind regards
Johnny