PSoC 4 BLE causes TCPWM output to be inconsistent | Cypress Semiconductor
PSoC 4 BLE causes TCPWM output to be inconsistent
I'm using the CY8CKIT-042-BLE pioneer kit with the PSoC 4 CY8C4247LQI-BL483 module. I'd like to use a bluetooth app to drive a PWM signal, so I'm using the Android example code "Find Me" service with the "Find Me" target as the PSoC 4 BLE. The app connects to and can send the various alerts to the PSoC 4 BLE with no problem. However, if I add a TCPWM block to the project with an input clock signal at 480kHz, the TCPWM configured with a period of 50Hz (value of 4800), and a compare value of 4400 (approximately 1.5ms), the PWM output to pin 3.4 is completely inconsistent with the TCPWM configuration. The period is around 300ms with a duty cycle of about 16%, instead of a period of 20ms and a duty cycle of 7.5%. If I create a project with only the TCPWM (and no BLE module), the TCPWM behaves exactly as expected. Are there any known issues between the BLE module and TCPWM module? I'm attaching my two projects for reference. Any help would be greatly appreciated.