PSoC3- SPI master swapping nibbles | Cypress Semiconductor
PSoC3- SPI master swapping nibbles
Seldom have issues with SPI, just plug and go.
This time have a SPI bi-directional master at a lowly 3Mbps. Leave it in transmit mode until need to turn it around.
Was occasionally getting hang ups with the slave. Hooked up an analyzer on the downstream data and what should be a consistent string of 0x020b, 0x5000; 0x022b, 0x5000 would get changed around to 0x50b, 0x0200, 0x052b, 0x0200.
In essence it's swapping nibbles !
My code is really simple and just use delays right now between words. Was leaving the rest for the real programmers.
Just downloaded SP1, but see the SPI master is still v2.4 so doubt anything new there.
Attached pdf show analyzer traces, code, and schematic segment.
Any advice ?