can you tell me if NSSP is free to use on older and newer boards ? Is it =
the same port as the MMC on older boards ?
Are they currently occupied by any drivers (of the kernel) or can i just =
access the ports like pxaregs ? Or is there any easier way ? I haven't =
found /dev/spi (at least on my old image)...
Has someone a full description of the NSSCR1 register ? It looks like =
Intel document only describes Bits 31 to 22, but detail table for bits =
21 to 0 is missing :-(
meanwhile i have tried out to access the NSSP with a own written C program,
which i alreadyused successfully for accessing GPIOs.
I modified it to be able to access the NSSP registers:
// Set alternate function to NSSP
printf("Set alternate function...\r\n");
gafr2u = getmem(GAFR2U);
gafr2u |= ((1 << 8) | (1 << 6) | (1 << 4) | (1 << 2));
printf("Status = %08lX\r\n", getmem(NSSSR));
for(i = 0;i < 10; i++)
// setmem(NSSDR, 0x55);
Everything works fine, i can start program again and again, no problem. But
when i enable the access to NSSDR, the system stalls. No more action till
rebooting (by switching off power). Etherstix is not answering anymore on
pings or ssh/scp, so i think system crashed.
Could it be that sending out data triggers an interrupt, which is not
handled / not handled correctly ? Any other idea ?
I have attached the full (small) source.
Get latest updates about Open Source Projects, Conferences and News.