VG Lite integration

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

VG Lite integration

1,215 Views
Thanushiyah
Contributor I

I’m using iMXRT1173 for our freeRTOS project. The existing project using PXP graphic engine with embedded wizard GUI. Now I’m integrating VG Lite graphic engine. I’ve integrated the source file which I got from embedded wizard platform package purchase. When I flash the code to the board I’m getting following error in the terminal.

Thanushiyah_0-1763625625055.png

 

I would like to know what all configurations I’ve to do to run VG Lite . Could you please support me on this?

Tags (2)
0 Kudos
Reply
1 Reply

1,175 Views
EdwinHz
NXP TechSupport
NXP TechSupport

Hi @Thanushiyah,

The assert(freq != 0UL) line is either from the CLOCK_GetFreq() function, or the CLOCK_GetPllFreq() function.

These functions return the operation frequency of one of several clocks, depending on the argument that is passed onto them. If the frequency of the desired clock is not correctly set up, the function will return that assert error. 

I would recommend debugging the application step by step to locate what argument are being passed to the function, and therefore better pinpoint what clock is not being enabled properly. From there, it's a simple matter of making sure the erroneous clock gets set properly.

BR,
Edwin.

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2218037%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EVG%20Lite%20integration%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2218037%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EI%E2%80%99m%20using%20iMXRT1173%20for%20our%20freeRTOS%20project.%20The%20existing%20project%20using%20PXP%20graphic%20engine%20with%20embedded%20wizard%20GUI.%20Now%20I%E2%80%99m%20integrating%20VG%20Lite%20graphic%20engine.%20I%E2%80%99ve%20integrated%20the%20source%20file%20which%20I%20got%20from%20embedded%20wizard%20platform%20package%20purchase.%20When%20I%20flash%20the%20code%20to%20the%20board%20I%E2%80%99m%20getting%20following%20error%20in%20the%20terminal.%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Thanushiyah_0-1763625625055.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Thanushiyah_0-1763625625055.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F366627i33E12712EB991BF2%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Thanushiyah_0-1763625625055.png%22%20alt%3D%22Thanushiyah_0-1763625625055.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EI%20would%20like%20to%20know%20what%20all%20configurations%20I%E2%80%99ve%20to%20do%20to%20run%20VG%20Lite%20.%20Could%20you%20please%20support%20me%20on%20this%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2228325%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20VG%20Lite%20integration%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2228325%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F257124%22%20target%3D%22_blank%22%3E%40Thanushiyah%3C%2FA%3E%2C%3C%2FP%3E%0A%3CP%3EThe%26nbsp%3B%3CFONT%20face%3D%22courier%20new%2Ccourier%22%3E%3CSTRONG%3E%3CSPAN%3Eassert(freq%20!%3D%200UL)%3C%2FSPAN%3E%3C%2FSTRONG%3E%3C%2FFONT%3E%20line%20is%20either%20from%20the%26nbsp%3B%3CSPAN%3ECLOCK_GetFreq()%20function%2C%20or%20the%26nbsp%3BCLOCK_GetPllFreq()%20function.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EThese%20functions%20return%20the%20operation%20frequency%20of%20one%20of%20several%20clocks%2C%20depending%20on%20the%20argument%20that%20is%20passed%20onto%20them.%20If%20the%20frequency%20of%20the%20desired%20clock%20is%20not%20correctly%20set%20up%2C%20the%20function%20will%20return%20that%20assert%20error.%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EI%20would%20recommend%20debugging%20the%20application%20step%20by%20step%20to%20locate%20what%20argument%20are%20being%20passed%20to%20the%20function%2C%20and%20therefore%20better%20pinpoint%20what%20clock%20is%20not%20being%20enabled%20properly.%20From%20there%2C%20it's%20a%20simple%20matter%20of%20making%20sure%20the%20erroneous%20clock%20gets%20set%20properly.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EBR%2C%3CBR%20%2F%3EEdwin.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E