[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: SSP in MASTER_BIDIR mode
> We have recently solved a case where the syncser driver would cause
> high CPU load. I'll send an updated driver to you.
Thank you, Mikael.
To use the updated driver I think I could replace sync_serial.c with the
version, then 'make kernel', 'make images' and run a 'ktest'. Is this
> -----Original Message-----
> From: email@example.com">mailto:firstname.lastname@example.org] On
> Behalf Of Carlos Ojea
> Sent: Thursday, October 16, 2003 5:51 PM
> To: dev-etrax
> Subject: SSP in MASTER_BIDIR mode
> When I configure SSP in MASTER_BIDIR mode my program runs very, very,
> slowly and CLOCK_GATED does not work (master output mode works ok).
> Here is part of my program:
> devspi = open ("/dev/syncser0", O_RDWR | O_SYNC | O_NONBLOCK); ioctl
> (devspi, SSP_MODE, MASTER_BIDIR); ioctl (devspi, SSP_FRAME_SYNC,
> FLOW_CONTROL_DISABLE); ioctl (devspi, SSP_FRAME_SYNC, CLOCK_GATED);
> Anybody knows why or have any clue?