Forum Discussion
Altera_Forum
Honored Contributor
8 years agoTwo observation to add to it,
1. Along with configuring CS as GPIO, even I had to enable the corresponding CS bit in the SPI HPS register. 2. With CS as GPIO, MOSI, CS and CLK lines are having voltage levels, 0v to 3.3v. But for some reason MISO is having a voltage range of 3.3v to 1.6v. MISO is clamped to 1.6v. So ARM HPS SPI reads back 0xffff When tried with workaround suggestion of changing the Clock phase, MISO is toggling properly between 0v to 3.3v as expeccted. But as mentioned above, with clock phase change, I am having issue with bulk write and bulk read. Anybody has observed similar issue ? Any suggestion ?