Hi,
about two years ago I was running the old 3.* kernel and SPI worked fine
for what I was doing.
I updated to Debian 8.6 / 4.4.40-ti-r80 but now the same unchanged code
throws odd errors that I can't figure out on my own.
Here is how I'm writing out via SPI (16 bpw, mode 2)
struct
Hi,
I want to use SPI through direct memory access on Debian, here is what I
got so far:
int enableSPIClock()
{
// map a pointer to the clock control block
pClockControl = (char*)mmap(0, 4096, PROT_READ | PROT_WRITE, MAP_SHARED,
memFd, SOC_CM_PER_REGS);
HWREG(pClockControl +