The core for all PSoC4 is ARM Cortex M0, so the code will run on any family member. Just use PSoC Creator and set the device accordingly. When there is an incompatibility you will see it when you build the project. The .hex can not be swapped between the two PSoCs.
What has happened is that I didn't notice the change of the component and I programmed CY8C4247LQI-BL493 with the CY8C4247LQI-BL483 component in the PSoC Creator. The program doesn't give any problem (apparently). I realized the mistake when I tried to make a programming with the PSoC Programmer (it detects the mistake and doesn't allow to program).
Thank you very much.