Other Parts Discussed in Thread: AM3358
Hi,
Now I'm developping software on our custom board which uses AM3358. SDK version is linux-3.2.0-psp06.00.00.00. the board has RS485 interface so I am implementing RS485 driver. that driver must control DE/RE signal (which is connected to GPIO) within 3ms after FIFO of transmitted data is empty since RS485 slave device reply very quickly.
This driver polling FIFO empty regsiter but cannot control DE/RE within 3ms so far, this driver is implemented as user application which priority is set as 20(max).
Since it seems that there is no interrupt which can know UART FIFO is empty, we will add new timer interrupt handler which will check DE/RE and FIFO status register. so interrupt interval must be less than 1ms.
But I don't know how to create new high resolution interrupt handler at AM335X SDK. Would you teach me how to add it to SDK?
Best Regards,
Mukawa