Search found 4 matches

by lau
Wed Jun 19, 2019 12:54 am
Forum: Bug Reports
Topic: I2C4 undefined stm_rxxh for STM32L4xx
Replies: 3
Views: 5755

Re: I2C4 undefined stm_rxxh for STM32L4xx

Some update :

I added in the three line of macro in STM32/STM32L4xx/stm32_rcc.h files.
It work fine now. I read the datasheet , it mention that this feature is only availabe in STM32L496xx/4A6xx devices , this may explain why does not appear in the stm32_rcc.h file as it is suppose to be generic ...
by lau
Tue Jun 18, 2019 1:38 am
Forum: Bug Reports
Topic: I2C4 undefined stm_rxxh for STM32L4xx
Replies: 3
Views: 5755

I2C4 undefined stm_rxxh for STM32L4xx

hi Sir,

i am using I2C4 due to DMA clash of I2C2 with my SPI2.

When I switch to I2C4 , the compiler complain that the rccResetI2C4 and rccEnableI2C4 is missing.
I check the library file and found that only I2C1 to I2C3 are defined but not I2C4.

KIndly advise it is intentional of there is specific ...
by lau
Wed Sep 26, 2018 12:36 am
Forum: ChibiOS/HAL
Topic: Generating Pulse Frequency Modulation
Replies: 2
Views: 2909

Re: Generating Pulse Frequency Modulation

Thanks , I must be blind not to see that.... :oops:
by lau
Tue Sep 25, 2018 3:23 am
Forum: ChibiOS/HAL
Topic: Generating Pulse Frequency Modulation
Replies: 2
Views: 2909

Generating Pulse Frequency Modulation

hi all .

I am having dilemma over generating a PFM ( Pulse Frequency Modulation ) in which i will need to modified the "off" time of the pulse on the fly. The "On" time of the pulse will be change but less frequently . By changing the "off" time , effectively we are changing the frequency hence ...