Dawid Wojtas
54bf8311b0
[BH-1770][BH-1677] Update fsl drivers
...
Now the system uses 2.14.0 version.
Add only necessary drivers:
- pit
- pmu
- rtwdog
- snvs_hp
- snvs_lp
- src
- trng
- wdog
- gpio
- gpt
- lpi2c
- lpuart
- lpuart_edma
- common
- common_arm
- dmamux
- edma
- flexram
- flexram_allocate
- clock
- cache
- CMSIS
- dcp
- iomuxc
Changed speed of the USDHC clock from ~109MHz to ~81MHz.
Also changed bus timing from kMMC_HighSpeedTiming to
kMMC_HighSpeed200Timing for better efficiency.
2024-02-21 18:58:12 +01:00
Lefucjusz
8b3ae7b48c
[BH-1857] Fix improper PWM module clock frequency computation
...
* Fix of the issue that source clock for PWM
module was improperly assumed to be derived
from AHB_CLK, while in reality it is
derived from IPG_CLK, what resulted in
module generating signal with 4 times
lower frequency than the configured
one.
* Cleanups.
2024-01-16 13:58:26 +01:00
Lefucjusz
3cbbeff551
[MOS-1011] Fix frequency switching stability
...
Multiple fixes of clock switching related
stability issues:
* added RC oscillator hysteresis as in NXP example;
* changed DCDC converter config;
* configure PLL2 to be able to run on any CPU
frequency level;
* added switching to 1.275V (overdrive) voltage
when applying any clock change above 12MHz as
well as LDO or bandgap switching, as done in
Mbed OS' lpm.c for RT1050;
* changed BMCR AXI queues weighs for SDRAM
in JLink scripts to disable operations
reordering, as it is known to cause data
integrity issues;
* extracted some code to separate files;
* smaller or bigger code cleanups.
2023-09-07 17:19:15 +02:00
Przemyslaw Brudny
21a5a23282
[EGD-8079] CPU frequency conversion PWM fix
...
Fixed CPU frequency conversion.
2021-12-07 15:52:00 +01:00
Wojtek Rzepecki
a03817ab96
[EGD-7766] Vibration level PWM addition
...
PWM channels separate control added.
2021-10-20 14:06:39 +03:00
Marcin Smoczyński
bd90e57516
[BH-907] Split utils module into components
...
Split module-utils into smaller components for better dependency
management. Fix many dependencies throughout the project.
Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com >
2021-09-23 15:14:40 +02:00
Lukasz Skrzypczak
2911b6b4a1
[BH-378] PR changes
...
PR changes - mainly includes
2021-06-08 12:24:29 +02:00
Lukasz Skrzypczak
7fee0d9cfb
[BH-378] Utils move log to library
...
Moved log to separate library
2021-06-08 12:24:29 +02:00
Pawel.Paprocki
4c694e5251
[EGD-6678] Fix Display backlight turns on when is set off
...
Duty cycle update performed only on enabled pwm
2021-05-06 11:40:57 +02:00
Pawel.Paprocki
c3e84f8c65
[EGD-6619] Fix Display backlight switches periodically
...
Reload pwm duty cycle value after CPU frequency change
2021-04-28 11:38:31 +02:00
Wojtek Rzepecki
0c098808e8
[EGD-5660] Add PWM Cpu sentinel
...
Change of PWM frequency due
to main clock change in low
power operation.
2021-02-25 17:09:05 +01:00
Lucjan Bryndza
9f10b446cb
[EGD-5102] Fix warning errors in the BSP
...
Fix warning errors in the BSP module
2021-02-17 17:02:15 +01:00
wojtekrzepecki
be057d28d4
[EGD 4449] display backlight ( #1120 )
...
* [EGD-4449] Added fsl drivers for pwm
* [EGD-4449] Added sketch of cpp wrapper for PWM driver
* [EGD-4449] First configuration of pwm
* [EGD-4449] Pin Mux config added
* [EGD-4449] Finalized basic configuration
* [EGD-4449] Added layer of eink frontlight control
* [EGD-4449] Added to worker event
* [EGD-4449] Added getter for brightness level
* [EGD-4449] Added mutex and clamp
* [EGD-4449] First working PWM driver configuration
* [EGD-4449] More minimalistic interface
* [EGD-4449] Cleaning and refactoring
* [EGD-4449] Connected to message system
* [EGD-4449] Added gamma correction
* [EGD-4449] PWM Start/Stop logic configuration
* [EGD-4449] Linux target file added
* [EGD-4449] Minor refactorings
* [EGD-4449] Branch style fix
* [EGD-4449] PR comments pt 1
* [EGD-4449] PR comments pt 2
* [EGD-4449] branch style fix
* [EGD-4449] PR pt3 - messages change
* [EGD-4449] Minor change
* [EGD-4449] BrightnessLevel type added
* [EGD-4449] Moved processing to EventManager
* [EGD-4449] 1-5 levels to percentage
* [EGD-4449] Fix style
Co-authored-by: Wojtek Rzepecki <wojtek.rzepecki@mudita.com >
2020-12-02 16:29:03 +01:00