FRDM-MCXN947 : smartdma_camera_flexio_mculcd demo example issue : only one line on LCD

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

FRDM-MCXN947 : smartdma_camera_flexio_mculcd demo example issue : only one line on LCD

Jump to solution
1,119 Views
tgrandpi
Contributor II

Hello,

I successfully solder and connect my FRDM-MCXN947 to OV7670 camera and LCD PAR-LCD-S035 since I am able to run the demo "Multiple face detection on MCXN947" provided using MCUXpresso Projects from Application Code Hub. 

My problem is that I encounter the following issue executing the "frdmmcxn947_smartdma_camera_flexio_mculcd example" : only one line of the camera is displayed on the top of the LCD display.

I am running the latest MCUXpresso version (24.12)

I get the "frdmmcxn947_smartdma_camera_flexio_mculcd example" directly from MCUXpresso using "Welcome"->Import SDK Examples ->Go straight to the Wizard" then frdmmcxn947 board (SDK 2.x_MCXN947/version 2.16.100/Manifest 3.14.00), then "display_examples" then "smartdma_camera_flexio_mculcd". 

This project compiles, download and executes correctly but I get a black lcd screen with only one line updated by the camera.

I read the doc given on AN14191.pdf ( on https://docs.nxp.com/bundle/AN14191/page/topics/software.html#topic_30f829c2-0650-45e1-ab55-32097902... ) but that doesn't help much to understand the poorly commented code of the example.

Many thanks for your help,

Thierry

Labels (1)
0 Kudos
Reply
1 Solution
1,071 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello @tgrandpi 

Please rework your board according to the following picture:

Alice_Yang_0-1745204301883.png

BR

Alice

 

 

View solution in original post

0 Kudos
Reply
4 Replies
888 Views
tgrandpi
Contributor II

Dear Alice,

Thank you so much, it works now : the problem was the source code example :

I used the one provided from the MCUxpresso interface (Import SDK Examples ->Go straight to the Wizard" then frdmmcxn947 board (SDK 2.x_MCXN947/version 2.16.100/Manifest 3.14.00), then "display_examples" then "smartdma_camera_flexio_mculcd")

which is faulty.

The AN14191SW.zip  is perfect ! (and totaly different).

Have a nice day !

 

0 Kudos
Reply
1,051 Views
tgrandpi
Contributor II

Thank you Alice, but I already did that 3 modifications in order to run successfully the "Multiple face detection"  demo.

So this is not a hardware problem since that demo work.

 

Thank you for your help.

0 Kudos
Reply
992 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello @tgrandpi 

 

Please download the code from the AN14191 resource https://www.nxp.com/docs/en/application-note-software/AN14191SW.zip

I've tested it on my end, it works well.

Thank you.

 

BR

Alice

 

0 Kudos
Reply
1,072 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello @tgrandpi 

Please rework your board according to the following picture:

Alice_Yang_0-1745204301883.png

BR

Alice

 

 

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2081678%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EFRDM-MCXN947%20%3A%20smartdma_camera_flexio_mculcd%20%20demo%20example%20issue%20%3A%20only%20one%20line%20on%20LCD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2081678%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%3C%2FP%3E%3CP%3EI%20successfully%20solder%20and%20connect%20my%20FRDM-MCXN947%20to%20OV7670%20camera%20and%20LCD%26nbsp%3B%3CSPAN%3EPAR-LCD-S035%20since%20I%20am%20able%20to%20run%20the%20demo%20%22Multiple%20face%20detection%20on%20MCXN947%22%20provided%20using%20MCUXpresso%20Projects%20from%20Application%20Code%20Hub.%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EMy%20problem%20is%20that%20I%20encounter%20the%20following%20issue%20executing%20the%20%22frdmmcxn947_smartdma_camera_flexio_mculcd%20example%22%20%3A%20only%20one%20line%20of%20the%20camera%20is%20displayed%20on%20the%20top%20of%20the%20LCD%20display.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EI%20am%20running%20the%20latest%20MCUXpresso%20version%20(24.12)%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EI%20get%26nbsp%3Bthe%20%22frdmmcxn947_smartdma_camera_flexio_mculcd%20example%22%20directly%20from%20MCUXpresso%20using%20%22Welcome%22-%26gt%3BImport%20SDK%20Examples%20-%26gt%3BGo%20straight%20to%20the%20Wizard%22%20then%20frdmmcxn947%20board%20(SDK%202.x_MCXN947%2Fversion%202.16.100%2FManifest%203.14.00)%2C%20then%20%22display_examples%22%20then%20%22smartdma_camera_flexio_mculcd%22.%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EThis%20project%20compiles%2C%20download%20and%20executes%20correctly%20but%20I%20get%20a%20black%20lcd%20screen%20with%20only%20one%20line%20updated%20by%20the%20camera.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EI%20read%20the%20doc%20given%20on%20AN14191.pdf%20(%20on%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.nxp.com%2Fbundle%2FAN14191%2Fpage%2Ftopics%2Fsoftware.html%23topic_30f829c2-0650-45e1-ab55-320979025292__fig_xmg_lpv_c1c%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.nxp.com%2Fbundle%2FAN14191%2Fpage%2Ftopics%2Fsoftware.html%23topic_30f829c2-0650-45e1-ab55-320979025292__fig_xmg_lpv_c1c%22%3C%2FA%3E%26nbsp%3B)%20but%20that%20doesn't%20help%20much%20to%20understand%20the%20poorly%20commented%20code%20of%20the%20example.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EMany%20thanks%20for%20your%20help%2C%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EThierry%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2081678%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3EMCXN%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2088165%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20FRDM-MCXN947%20%3A%20smartdma_camera_flexio_mculcd%20%20demo%20example%20issue%20%3A%20only%20one%20line%20on%20LCD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2088165%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EDear%20Alice%2C%3C%2FP%3E%3CP%3EThank%20you%20so%20much%2C%20it%20works%20now%20%3A%20the%20problem%20was%20the%20source%20code%20example%20%3A%3C%2FP%3E%3CP%3EI%20used%20the%20one%20provided%20from%20the%20MCUxpresso%20interface%20(%3CSPAN%3EImport%20SDK%20Examples%20-%26gt%3BGo%20straight%20to%20the%20Wizard%22%20then%20frdmmcxn947%20board%20(SDK%202.x_MCXN947%2Fversion%202.16.100%2FManifest%203.14.00)%2C%20then%20%22display_examples%22%20then%20%22smartdma_camera_flexio_mculcd%22)%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3Ewhich%20is%20faulty.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EThe%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fwww.nxp.com%2Fdocs%2Fen%2Fapplication-note-software%2FAN14191SW.zip%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3EAN14191SW.zip%3C%2FA%3E%26nbsp%3B%20is%20perfect%20!%20(and%20totaly%20different).%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EHave%20a%20nice%20day%20!%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2086196%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20FRDM-MCXN947%20%3A%20smartdma_camera_flexio_mculcd%20%20demo%20example%20issue%20%3A%20only%20one%20line%20on%20LCD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2086196%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F248093%22%20target%3D%22_blank%22%3E%40tgrandpi%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3E%3CSPAN%3EPlease%20download%20the%20code%20from%20the%20AN14191%20resource%20%3CA%20href%3D%22https%3A%2F%2Fwww.nxp.com%2Fdocs%2Fen%2Fapplication-note-software%2FAN14191SW.zip%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.nxp.com%2Fdocs%2Fen%2Fapplication-note-software%2FAN14191SW.zip%3C%2FA%3E%20.%26nbsp%3B%20%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EI've%20tested%20it%20on%20my%20end%2C%20it%20works%20well.%20%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EThank%20you.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3E%3CSPAN%3EBR%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EAlice%3C%2FSPAN%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2083642%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20FRDM-MCXN947%20%3A%20smartdma_camera_flexio_mculcd%20%20demo%20example%20issue%20%3A%20only%20one%20line%20on%20LCD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2083642%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EThank%20you%20Alice%2C%20but%20I%20already%20did%20that%203%20modifications%20in%20order%20to%20run%20successfully%20the%20%22%3CSPAN%3EMultiple%20face%20detection%22%26nbsp%3B%20demo.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3ESo%20this%20is%20not%20a%20hardware%20problem%20since%20that%20demo%20work.%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EThank%20you%20for%20your%20help.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2083574%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20FRDM-MCXN947%20%3A%20smartdma_camera_flexio_mculcd%20%20demo%20example%20issue%20%3A%20only%20one%20line%20on%20LCD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2083574%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F248093%22%20target%3D%22_blank%22%3E%40tgrandpi%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EPlease%20rework%20your%20board%20according%20to%20the%20following%20picture%3A%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Alice_Yang_0-1745204301883.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Alice_Yang_0-1745204301883.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F333991i316196FEB99111B3%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Alice_Yang_0-1745204301883.png%22%20alt%3D%22Alice_Yang_0-1745204301883.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EBR%3C%2FP%3E%0A%3CP%3EAlice%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E