I am trying to set the slew parameter from configuration string of the function Imx6Gpio_SetConfigString, from GpioLib, using a simple console application from WinCE.
I am able to read and write without problems, except the slew parameter that is not working when writing. It is available on read.
I read: State for Colibri pin 97 is: dir=in,lvl=0,altfn=0,pull=up,strength=6,outmode=std,inmode=std,slew=fast,speed=rsvd,irqtrig=none,sion=normal
If I write it back it fails due to the slew param, with a debug break and output messge:
GpioLib: Invalid configuration string
Unknown: DEBUGCHK failed in file .\src\gpio_common.c at line 318
The same happen if I only write: “slew=low”. I I remove just the slew from the string I read, then I can write it back without ptoblems.
I checked with 1.7 and 2.0 (revision 13) version of the library, revision 13 being the latest version I could find. (the debug output is from latest version)
Can someone check the slew param, on WinCE and iMX6DL, please?