HI,
I'm trying to implement a high speed memory dump solution using the TMS320F2812 SCIA interface at 921000 bits/s but am missing interrupts and the delay between the end of byte reception and interrupt trigger is kinda high. Here is how I played with it.
I hooked a digital line monitoring device a.k.a digiView up to the RX line.
I configured my serial interface to receive a specific sequence sent to the embedded system from a python script. standard mode is used and FIFO is disabled.
In my interrupt service routine, I toggled a digital I/O pin monitored using my digiView, read the RXBUF to a dummy variable and acknowledged the interrupt.
Here is the result:
@576000 I got all my interrupts. I mean by getting all my interrupt that the I/O toggled within the interrupt service routine is toggled as expected. because I was monitoring both the RX line and the pin toggle, I could calculate the delta between the end of a received byte (viewed in my digiView) and the beginning of my ISR (pin toggle). This was about 600ns and looked great.
@921000 the trouble began. the time delay (measured as described above) between the end of reception of the first byte and the beginning of the ISR was about 4.5us. furthermore, I did not get all my interrupts.
I tried many things including disabling all interrupts but SCIA RX interrupt and still the same result.
Note that was using 60Mhz system clock and 15Mhz low speed peripheral clock (LSPCLK) to generate communication data rates. I'm also using DSP/BIOS RTOS for my application.
has anyone ever tried using one of the TMS320F2812 SCI interfaces at 921000 b/s?
Thanks.