Other Parts Discussed in Thread: AM3517
Hello,
On the AM3517 I am using SPI port 1 as a master, and am using chip select 0. On power up, CS0 is initially high, as expected, but during boot when the driver's init() loads and configures the pin-mux, CS0 immediately goes low (active state). This is not expected. Later, when I use the port to communicate, it works fine and leaves CS0 in high state as expected. My issue is that my SPI periheral is selected active between boot up and the first time it's used.
I noticed in the AM35x TRM, Table 16-1, it says that the spim_csx reset state is low, which may explain what I am seeing. But "low" is surprising because that is the active state - I don't understand why an SPI port would reset to chip-select-active. Am I reading the TRM wrong ? is there a workaround to this ?
Thanks for help,
Jim