AnsweredAssumed Answered

KW40Z FRDM board - BLE not works after enabling PWM

Question asked by Ashok Ra on Sep 16, 2018
Latest reply on Sep 17, 2018 by Ashok Ra

Hi All,

Im using KW40Z freedom  board , i m using KW40Z_Connectivity_Software_1.0.1 with SDK 1.3.0

I cloned the project of Bluetooth wireless uart demo. It works fine im able to send and receive data via "IoT Toolbox " android app. 

Later , i added new PWM module to the code.

 

configure_tpm_pins(TPM0_IDX);

TPM_DRV_Init(TPM0_IDX,&pwm_gconfig);

TPM_DRV_SetClock(TPM0_IDX, kTpmClockSourceModuleClk, kTpmDividedBy2);

TPM_DRV_PwmStart(TPM0_IDX,&param1,1);

 

PWM is using LED4 (PTC0) so i removed LED4 GPIO init from LED module.

 

I tested PWM alone and works fine. after integrating to the "Bluetooth wireless uart demo"   BLE stoped working not advertising.

 

Any idea ? please help on this asap.

 

Thanks,

Ashok r

Outcomes