Good DayI am having some issues with the software EEPROM Emulation Library for the STM32L433. Every couple of minutes I save a few system parameters to the virtual EEPROM. Many times this operations fails, and EE_ERROR_NOACTIVE_PAGE is returned. I do...
Good DayI am having an issue with I2C and hope someone can point me in the right direction.I have an I2C master and two I2C slaves on a bus. The master sends a message to the slave and then reads back the response from the slave, which works.If I add...
How can I detect (from a master device) when a slave Acknowledges its address on the I2C bus? I can see on my oscilloscope that the slave Acks its address, but I can't figure out how to detect that Ack from the I2C registers on the master. I'm using ...
Posted on February 01, 2018 at 09:07
Good Day
If I call:
HAL_ADC_Start_DMA(&hadc1, (uint32_t*)getADCBuffer, adcBufferLength); //uint16_t getADCBuffer[adcBufferLength] and adcBufferLenght is defined as 1000�?
and then call:
HAL_ADC_Sto...
Posted on January 31, 2018 at 06:57
Good Day
I have an ADC Configured for Continous conversion with DMA. I Periodically stop it and quickly process the data before starting it again.
I would like to know how to process the data if I enable ...
I have figured out that the root cause of the failure is due to "HAL_Error" being returned from withing "Flash_WaitForLastOperation" which is called twice within HAL_Flash_Program. After the HAL_Error if I call HAL_Flash_GetError I get error number 1...
I have resolved the issue, I have changed the second slaves' Address to something different (0x28<<1 = 0x50) and also changed to a Start - Restart rather than Start-Stop-Start sequence for reading.
Posted on June 04, 2018 at 13:32Take a look at ST Application Note AN4312. I have done a simple touch sensor without a driven shield, making use of a simple 'grounded shield' as they call it in the Application Note.
Posted on February 01, 2018 at 11:40Hi TJThat is unfortunately a little interrupt heavy for my implementation, which only has 5 active channels. I have ended up doing a DMA Memory to Memory Transfer, I will post my solution to the problem if no-one ...
Posted on September 28, 2017 at 11:24Hi JanI have linked them externally for now, but would really like to know how to do this internally. As you know reading the timer section from the reference manual is no trivial task, but I have tried to no ava...