Is the source code used for the MPR121EVM available?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Is the source code used for the MPR121EVM available?

2,478 Views
larryo
Contributor II

I have an MPR121EVM KIT and I was wondering if the source code for the demo that is supplied with it is available. It would seem to be a nice starting point to further evaluate the MPR121 touch sensor.

If not the source code, is the binary available so that I can restore the demo application after I load my own program?

Thanks

Larry

Labels (1)
0 Kudos
4 Replies

2,175 Views
TomasVaverka
NXP TechSupport
NXP TechSupport

Hi Larry,

Unfortunately I do not have the source code that is embedded in the MC9S08QG8 that controls the MPR121 on the KITMPR121EVM.

I can only share the source code that is available for the TWRPI-MPR121 (TWR-SENSOR-PAK MPR121 plug-in module) or for the MPR121 breakout board.

I hope you will find it useful.


Regards,

Tomas


PS: If my answer helps to solve your question, please mark it as "Correct" or “Helpful”. Thank you.

0 Kudos

2,175 Views
larryo
Contributor II

Hi Tomas,

Thanks for the reply.

Is there some way to restore the included application if I erase the one that ships in the device?

Regards

Larry

0 Kudos

2,175 Views
TomasVaverka
NXP TechSupport
NXP TechSupport

Hi Larry,

Yes, you can restore the original application using the KITMPR121EVM_Bootloader.s19 file that is located in the Bootloaders folder (C:\Program Files\Freescale\Sensor Toolbox\Bootloaders).

Regards,

Tomas

0 Kudos

2,175 Views
larryo
Contributor II

Hi Tomas,

Actually I guess my real problem is that I cannot find any documentation on the Sensor Tool Box Application for the MPR121. The tutorial button is grayed out, the button for the documentation does not work,( a command prompt window opens then closes) and the help button just displays the generic quick start info.

I see that there are ERASE and UPDATE Firmware buttons on the application but is there some information on how this works? Is there a link that contains all of this information?

Regards

Larry

0 Kudos
%3CLINGO-SUB%20id%3D%22lingo-sub-329108%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EIs%20the%20source%20code%20used%20for%20the%20MPR121EVM%20available%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-329108%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EI%20have%20an%20MPR121EVM%20KIT%20and%20I%20was%20wondering%20if%20the%20source%20code%20for%20the%20demo%20that%20is%20supplied%20with%20it%20is%20available.%20It%20would%20seem%20to%20be%20a%20nice%20starting%20point%20to%20further%20evaluate%20the%20MPR121%20touch%20sensor.%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3EIf%20not%20the%20source%20code%2C%20is%20the%20binary%20available%20so%20that%20I%20can%20restore%20the%20demo%20application%20after%20I%20load%20my%20own%20program%3F%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3EThanks%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3ELarry%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-329108%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3ETouch%20Sensors%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-329112%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Is%20the%20source%20code%20used%20for%20the%20MPR121EVM%20available%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-329112%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20Tomas%2C%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3EActually%20I%20guess%20my%20real%20problem%20is%20that%20I%20cannot%20find%20any%20documentation%20on%20the%20Sensor%20Tool%20Box%20Application%20for%20the%20MPR121.%20The%20tutorial%20button%20is%20grayed%20out%2C%20the%20button%20for%20the%20documentation%20does%20not%20work%2C(%20a%20command%20prompt%20window%20opens%20then%20closes)%20and%20the%20help%20button%20just%20displays%20the%20generic%20quick%20start%20info.%20%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3EI%20see%20that%20there%20are%20ERASE%20and%20UPDATE%20Firmware%20buttons%20on%20the%20application%20but%20is%20there%20some%20information%20on%20how%20this%20works%3F%20Is%20there%20a%20link%20that%20contains%20all%20of%20this%20information%3F%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3ERegards%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3ELarry%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-329111%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Is%20the%20source%20code%20used%20for%20the%20MPR121EVM%20available%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-329111%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20Larry%2C%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3EYes%2C%20you%20can%20restore%20the%20original%20application%20using%20the%20KITMPR121EVM_Bootloader.s19%20file%20that%20is%20located%20in%20the%20Bootloaders%20folder%20(C%3A%5CProgram%20Files%5CFreescale%5CSensor%20Toolbox%5CBootloaders).%20%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3ERegards%2C%3C%2FP%3E%3CP%3ETomas%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-329110%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Is%20the%20source%20code%20used%20for%20the%20MPR121EVM%20available%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-329110%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20Tomas%2C%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3EThanks%20for%20the%20reply.%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3EIs%20there%20some%20way%20to%20restore%20the%20included%20application%20if%20I%20erase%20the%20one%20that%20ships%20in%20the%20device%3F%20%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3ERegards%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3ELarry%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-329109%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Is%20the%20source%20code%20used%20for%20the%20MPR121EVM%20available%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-329109%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20Larry%2C%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%20style%3D%22background%3A%20white%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2010pt%3B%20font-family%3A%20Arial%2C%20sans-serif%3B%20color%3A%20%233d3d3d%3B%20background-position%3A%20initial%3B%22%3EUnfortunately%20I%20do%20not%20have%20the%20source%20code%20that%20is%20embedded%20in%20the%20MC9S08QG8%20that%20controls%20the%20MPR121%20on%20the%20%3CA%20href%3D%22http%3A%2F%2Fwww.freescale.com%2Fwebapp%2Fsps%2Fsite%2Fprod_summary.jsp%3Fcode%3DKITMPR121EVM%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%20target%3D%22_blank%22%3EKITMPR121EVM%3C%2FA%3E.%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22background%3A%20white%3B%22%3E%3C%2FP%3E%3CP%20style%3D%22background%3A%20white%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2010pt%3B%20font-family%3A%20Arial%2C%20sans-serif%3B%20color%3A%20%233d3d3d%3B%20background-position%3A%20initial%3B%22%3EI%20can%20only%20share%20the%20source%20code%20that%20is%20available%20for%20the%20TWRPI-MPR121%20(%3C%2FSPAN%3E%3CSPAN%20style%3D%22font-size%3A%2010pt%3B%20font-family%3A%20Arial%2C%20sans-serif%3B%20color%3A%20%233d3d3d%3B%20background-position%3A%20initial%3B%22%3E%3CA%20href%3D%22http%3A%2F%2Fwww.freescale.com%2Fwebapp%2Fsps%2Fsite%2Fprod_summary.jsp%3Fcode%3DTWR-SENSOR-PAK%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%20target%3D%22_blank%22%3ETWR-SENSOR-PAK%3C%2FA%3E%20MPR121%20plug-in%20module)%20or%20for%20the%20%3CA%20href%3D%22https%3A%2F%2Fwww.sparkfun.com%2Fproducts%2F9695%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%20target%3D%22_blank%22%3EMPR121%20breakout%20board%3C%2FA%3E.%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22background%3A%20white%3B%22%3E%3C%2FP%3E%3CP%20style%3D%22background%3A%20white%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2010pt%3B%20font-family%3A%20Arial%2C%20sans-serif%3B%20color%3A%20%233d3d3d%3B%20background-position%3A%20initial%3B%22%3EI%20hope%20you%20will%20find%20it%20useful.%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22background%3A%20white%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2010pt%3B%20font-family%3A%20Arial%2C%20sans-serif%3B%20color%3A%20%233d3d3d%3B%20background-position%3A%20initial%3B%22%3E%3CBR%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22background%3A%20white%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2010pt%3B%20font-family%3A%20Arial%2C%20sans-serif%3B%20color%3A%20%233d3d3d%3B%20background-position%3A%20initial%3B%22%3ERegards%2C%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22background%3A%20white%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2010pt%3B%20font-family%3A%20Arial%2C%20sans-serif%3B%20color%3A%20%233d3d3d%3B%20background-position%3A%20initial%3B%22%3ETomas%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22background%3A%20white%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2010pt%3B%20font-family%3A%20Arial%2C%20sans-serif%3B%20color%3A%20%233d3d3d%3B%20background-position%3A%20initial%3B%22%3E%3CBR%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22background%3A%20white%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2010pt%3B%20font-family%3A%20Arial%2C%20sans-serif%3B%20color%3A%20%233d3d3d%3B%20background-position%3A%20initial%3B%22%3E%3CEM%20style%3D%22font-family%3A%20Arial%2C%20sans-serif%3B%20color%3A%20%23333333%3B%22%3E%3CSPAN%20style%3D%22font-weight%3A%20inherit%3B%20font-style%3A%20inherit%3B%20font-size%3A%2011px%3B%20font-family%3A%20inherit%3B%20color%3A%20%233d3d3d%3B%22%3E%3CEM%20style%3D%22font-weight%3A%20inherit%3B%20font-family%3A%20inherit%3B%22%3EPS%3A%3CSPAN%20class%3D%22Apple-converted-space%22%20style%3D%22font-weight%3A%20inherit%3B%20font-style%3A%20inherit%3B%20font-family%3A%20inherit%3B%22%3E%3CSPAN%20class%3D%22Apple-converted-space%22%3E%20%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FEM%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22font-weight%3A%20inherit%3B%20font-style%3A%20inherit%3B%20font-size%3A%2011px%3B%20font-family%3A%20inherit%3B%20color%3A%20%233d3d3d%3B%22%3EIf%20my%20answer%20helps%20to%20solve%20your%20question%2C%20please%20mark%20it%20as%20%22Correct%22%20or%20%E2%80%9CHelpful%E2%80%9D.%20Thank%20you.%3C%2FSPAN%3E%3C%2FEM%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E