Hi,
I have a MityDSP-L138 board and right now I'm using the AM1808 in the OMAP. It currently boots using U-Boot bootload and uses a Linux davinci kernel. It's the first time I mix high level OS with microcontroller stuff and I have some questions regarding hardware access.
First, from what I've read, accessing SPI/UARTS or other communication peripherals needs to go through a kernel driver. Where can I confirm if a driver exists for the SPI on the AM1808/OMAPL138?
Second, if I want to use the hardware timers to have a some work done each 20uS, is it possible in Linux and if yes, what are the best ways? Kernel driver?
Third, how do I access GPIOs?
Fourth, I know linux isn't a RTOS but is it still possible to do time critical computations? Is there a big overhead using the peripherals and GPIOs of the chip from Linux?
Fifth, or maybe it should have been the first :), is there a generic getting started documentation about programming/using an ARM chip and its peripherals from Linux
Thank you very much!