I suspect that non-linearity comes from rise-time characteristics of the LED. To test, try reducing PrISM clock frequency; also try PWM instead of PrISM. The issue with PrISM is very high bandwidth, some devices with input threshold may not respond to short pulses correctly due to not fully opening. While using PrISM seems attractive, it's time profile shows occasional long peaks/valleys, changing unpredictably from one PrISM code to another. The LED responds mostly to long peaks/valleys, which becomes non-linear.
I'm using a PSoC 4200L CY8C4246AZI-L433
Le lun. 18 mars 2019 à 10:14, EktaN_26 <email@example.com> a
Cypress Developer Community
reply from EktaN_26
in PSoC Software - View the full discussion