Issue with Genfsk_EventCallback Not Being Called in genfsk_connectivity_test_bm

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

Issue with Genfsk_EventCallback Not Being Called in genfsk_connectivity_test_bm

1,046 Views
Brainiac
Contributor II

Hello NXP Community,

I have created a main.c file in the project genfsk_connectivity_test_bm  for FRDM-MCXW72 #, and I'm facing an issue when sending a radio message. Specifically, the Genfsk_EventCallback events are not being triggered when I send a message

Attached is my code for reference.

 

I have confirmed that callbacks are registered successfully. However, when I send a message using the GENFSK_StartTx() function, I do not see any output from the Genfsk_EventCallback. I have also conducted debugging tests using breakpoints and found that I never enter the callback function.

Does anyone have suggestions on what could be causing this issue? Are there specific configurations or considerations that I might have overlooked?

Thank you for your help!

Labels (1)
Tags (1)
0 Kudos
Reply
5 Replies

1,018 Views
sofiaurueta
NXP Employee
NXP Employee

Hello,

Hope you are doing well.

 

Could you confirm if you are using MCXW72, not MCXW71?

 

If you are using MCXW72, I apologize for the inconveniences, but this device has not been officially released.

 

I recommend you contacting one of our distributors available in the Distributor Network|NXP. Or if you have a direct contact who helped you with information about this product or getting the IC in a first place, please communicate directly with him/her.

 

Best Regards,

Ana Sofia.

0 Kudos
Reply

1,002 Views
Brainiac
Contributor II

Hello,

Thank you for your message.

We are indeed using the FRDM-MCXW71 and not the MCXW72. The tool for linking to the products no longer shows the MCXW71.

If you have any idea that could help me with the callback issue, I would be very grateful.

Tags (1)
0 Kudos
Reply

957 Views
sofiaurueta
NXP Employee
NXP Employee

Hello,

Could you please help me understand better your application, what are you looking to achieve?

 

Also, what SDK version are you using? And is there a reason why you wish to use your own main.c instead of the project main (connectivity_test.c)?

 

The project main file implements the functions to trigger this callback function, I would recommend implementing your custom code within the main file included in the SDK example.

 

Regards,
Ana Sofia.

0 Kudos
Reply

892 Views
Brainiac
Contributor II

Thank you for your response @sofiaurueta 

The application is designed to send and receive packet radio using the GENFSK protocol without OSA.

I want to create a board based on the MCXW716C that allows two MCXW716C microcontrollers to exchange custom data at a speed of 2 Mbps, all utilizing the GENFSK protocol. Additionally, I need to create another application for custom processing with radio usage.

 

However, I'm encountering issues with using the GENFSK APIs as demonstrated in the minimal program "main.c," which is supposed to send data, even if it is null, via radio. This does not work, and I do not understand why. I am following the same approach as in the "connectivity_test_bm" program.

I utilized SDK version 25.06 for the MCXW716CxxxA.

0 Kudos
Reply

859 Views
sofiaurueta
NXP Employee
NXP Employee

Hello,

 

One important remark, when working with wireless applications, the best would be to take a wireless example as a base and modify/integrate your application on this base application. This would help you to avoid issues while integrating a wireless stack to a project.

 

Additionally, the GENFSK functions/APIs used are tightly integrated with the SDK and rely on the OSA implementation. We do not recommend making modifications to the SDK functions since it may affect other APIs, and it might be hard to maintain.

 

If a customer wishes to implement such functionality, this is something each customer would need to implement on their own. I apologize for the inconveniences.

 

Best regards,

Ana Sofia.

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2187391%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EIssue%20with%20Genfsk_EventCallback%20Not%20Being%20Called%20in%20genfsk_connectivity_test_bm%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2187391%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%20NXP%20Community%2C%3C%2FP%3E%3CP%3EI%20have%20created%20a%20main.c%20file%20in%20the%20project%20genfsk_connectivity_test_bm%26nbsp%3B%20for%20%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fc-pwmxy87654%2FFRDM-MCXW72%2Fpd-p%2FFRDM-MCXW72%22%20class%3D%22lia-product-mention%22%20data-product%3D%223723-1%22%20target%3D%22_blank%22%3EFRDM-MCXW72%3C%2FA%3E%26nbsp%3B%23%2C%20and%20I'm%20facing%20an%20issue%20when%20sending%20a%20radio%20message.%20Specifically%2C%20the%20Genfsk_EventCallback%20events%20are%20not%20being%20triggered%20when%20I%20send%20a%20message%3C%2FP%3E%3CP%3EAttached%20is%20my%20code%20for%20reference.%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EI%20have%20confirmed%20that%20callbacks%20are%20registered%20successfully.%20However%2C%20when%20I%20send%20a%20message%20using%20the%20GENFSK_StartTx()%20function%2C%20I%20do%20not%20see%20any%20output%20from%20the%20Genfsk_EventCallback.%20I%20have%20also%20conducted%20debugging%20tests%20using%20breakpoints%20and%20found%20that%20I%20never%20enter%20the%20callback%20function.%3C%2FP%3E%3CP%3EDoes%20anyone%20have%20suggestions%20on%20what%20could%20be%20causing%20this%20issue%3F%20Are%20there%20specific%20configurations%20or%20considerations%20that%20I%20might%20have%20overlooked%3F%3C%2FP%3E%3CP%3E%3CSPAN%3EThank%20you%20for%20your%20help!%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2187391%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3EDevelopment%20Board%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2191960%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Issue%20with%20Genfsk_EventCallback%20Not%20Being%20Called%20in%20genfsk_connectivity_test_bm%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2191960%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EOne%20important%20remark%2C%20when%20working%20with%20wireless%20applications%2C%20the%20best%20would%20be%20to%20take%20a%20wireless%20example%20as%20a%20base%20and%20modify%2Fintegrate%20your%20application%20on%20this%20base%20application.%20This%20would%20help%20you%20to%20avoid%20issues%20while%20integrating%20a%20wireless%20stack%20to%20a%20project.%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EAdditionally%2C%20the%20GENFSK%20functions%2FAPIs%20used%20are%20tightly%20integrated%20with%20the%20SDK%20and%20rely%20on%20the%20OSA%20implementation.%20We%20do%20not%20recommend%20making%20modifications%20to%20the%20SDK%20functions%20since%20it%20may%20affect%20other%20APIs%2C%20and%20it%20might%20be%20hard%20to%20maintain.%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EIf%20a%20customer%20wishes%20to%20implement%20such%20functionality%2C%20this%20is%20something%20each%20customer%20would%20need%20to%20implement%20on%20their%20own.%20I%20apologize%20for%20the%20inconveniences.%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EBest%20regards%2C%3C%2FP%3E%0A%3CP%3EAna%20Sofia.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2189935%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Issue%20with%20Genfsk_EventCallback%20Not%20Being%20Called%20in%20genfsk_connectivity_test_bm%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2189935%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EThank%20you%20for%20your%20response%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F242964%22%20target%3D%22_blank%22%3E%40sofiaurueta%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20application%20is%20designed%20to%20send%20and%20receive%20packet%20radio%20using%20the%20GENFSK%20protocol%20without%20OSA.%3C%2FP%3E%3CP%3EI%20want%20to%20create%20a%20board%20based%20on%20the%20MCXW716C%20that%20allows%20two%20MCXW716C%20microcontrollers%20to%20exchange%20custom%20data%20at%20a%20speed%20of%202%20Mbps%2C%20all%20utilizing%20the%20GENFSK%20protocol.%20Additionally%2C%20I%20need%20to%20create%20another%20application%20for%20custom%20processing%20with%20radio%20usage.%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EHowever%2C%20I'm%20encountering%20issues%20with%20using%20the%20GENFSK%20APIs%20as%20demonstrated%20in%20the%20minimal%20program%20%22main.c%2C%22%20which%20is%20supposed%20to%20send%20data%2C%20even%20if%20it%20is%20null%2C%20via%20radio.%20This%20does%20not%20work%2C%20and%20I%20do%20not%20understand%20why.%20I%20am%20following%20the%20same%20approach%20as%20in%20the%20%22connectivity_test_bm%22%20program.%3C%2FP%3E%3CP%3EI%20utilized%20SDK%20version%2025.06%20for%20the%20MCXW716CxxxA.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2189427%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Issue%20with%20Genfsk_EventCallback%20Not%20Being%20Called%20in%20genfsk_connectivity_test_bm%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2189427%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%3C%2FP%3E%0A%3CP%3ECould%20you%20please%20help%20me%20understand%20better%20your%20application%2C%20what%20are%20you%20looking%20to%20achieve%3F%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EAlso%2C%20what%20SDK%20version%20are%20you%20using%3F%20And%20is%20there%20a%20reason%20why%20you%20wish%20to%20use%20your%20own%20main.c%20instead%20of%20the%20project%20main%20(connectivity_test.c)%3F%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EThe%20project%20main%20file%20implements%20the%20functions%20to%20trigger%20this%20callback%20function%2C%20I%20would%20recommend%20implementing%20your%20custom%20code%20within%20the%20main%20file%20included%20in%20the%20SDK%20example.%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3ERegards%2C%3CBR%20%2F%3EAna%20Sofia.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2188306%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Issue%20with%20Genfsk_EventCallback%20Not%20Being%20Called%20in%20genfsk_connectivity_test_bm%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2188306%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%3C%2FP%3E%3CP%3EThank%20you%20for%20your%20message.%3C%2FP%3E%3CP%3EWe%20are%20indeed%20using%20the%20%3CSTRONG%3EFRDM-MCXW71%3C%2FSTRONG%3E%20and%20not%20the%20MCXW72.%20The%20tool%20for%20linking%20to%20the%20products%20no%20longer%20shows%20the%20MCXW71.%3C%2FP%3E%3CP%3EIf%20you%20have%20any%20idea%20that%20could%20help%20me%20with%20the%20callback%20issue%2C%20I%20would%20be%20very%20grateful.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2187785%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Issue%20with%20Genfsk_EventCallback%20Not%20Being%20Called%20in%20genfsk_connectivity_test_bm%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2187785%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%3C%2FP%3E%0A%3CP%3EHope%20you%20are%20doing%20well.%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3ECould%20you%20confirm%20if%20you%20are%20using%20MCXW72%2C%20not%20MCXW71%3F%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EIf%20you%20are%20using%20MCXW72%2C%20I%20apologize%20for%20the%20inconveniences%2C%20but%20this%20device%20has%20not%20been%20officially%20released.%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EI%20recommend%20you%20contacting%20one%20of%20our%20distributors%20available%20in%20the%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fwww.nxp.com%2Fsupport%2Fsample-buy%2Fdistributor-network%3ADISTRIBUTORS%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3EDistributor%20Network%7CNXP%3C%2FA%3E.%20Or%20if%20you%20have%20a%20direct%20contact%20who%20helped%20you%20with%20information%20about%20this%20product%20or%20getting%20the%20IC%20in%20a%20first%20place%2C%20please%20communicate%20directly%20with%20him%2Fher.%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EBest%20Regards%2C%3C%2FP%3E%0A%3CP%3EAna%20Sofia.%3C%2FP%3E%3C%2FLINGO-BODY%3E