I am currently trying to generate a serial clock and data bus with the arduino. I have a max/msp program that communicates to the board and toggles the digital I/O as necessary. My issue is that I cannot seem to get fast enough switching speeds on the outputs. I am not sure if this is a problem with max/msp software, arduino software, or arduino hardware.
In general, how fast can the digital outputs be toggled if the mode of operation is through a peripheral driver? Am I just encountering the slow speed of reprogramming the outputs or can the arduino only switch this fast? Currently I am seeing toggles down to 14ms but I need to get even faster than this.
Any ideas or comments would be most appreciated. Thanks.