STM32G071R8 & M95160-WMN6TP EEPROMWe have the DMA SPI TX direction working but are having issues with the data that is being returned. Technically this is a read from the EEPROM but the command and read address are sent first. The EEPROM responds wit...
- STM32G071R8T6, DMA chan 1 ADC's, DMA chan 2 SPI TX, DMA chan 3 SPI RX and DMA chan 4 DAC- Tested the SPI configuration without the DMA to a SPI EEPROM and it works. Once the DMA configuration was used, we do not see any data being transmitted. ...
- STM32G0B0RE Our controller was running fairly well but on occasion we were seeing the windowed watchdog trip(The IWDDGRSTF flag set on reboot.) We were not sure whether this was a too short or too long trip so decided to extend the window wider...
Windows 11, STM32CubeProgrammer v2.15 and ST LinkIn the past we have used the older STLink software for programming ST micro's on our test stations and have moved to the STM32CubeProgrammer. Running the command from a standard command line window(bas...
We are using Timer3 to increment a uint64_t counter for serial port operation and need to be able to grab the counter value in the main loop. //----------------------------------------------------------------
// -------------- Timer 3 -------------...
ST has found our issue. We simply missed the pin assignment. When we read Table 12 of the data sheet, PA4's DAC_OUT1 is listed under the "Additional functions" column right next to the "Alternate functions" column. We configured it as a alternate pin...
UpdateWe decided to move the DAC output from channel 2 to channel 1. This move involved changing the GPIO pin from PA5(pin 22) to PA4(pin 21) and configuring DAC channel 1 to receive the DMA data instead of DAC channel 2. We used a O'scope to insure ...
Couple updates:- Turned Timer 2 back on to drive the DAC and slowed to SPI bus from 4Mhz(16 Prescale) to 500Khz(128 Prescale). This had little measurable effect for test runs of ten.- Began increasing the Timer 2 reload value to slow down the DMA tra...
Finally making some progress but this does not look good. Currently there are four DMA channels running: ADC, DAC, SPI RX and SPI TX. The ADC is taking 4 different channels worth of data and the DAC is sending out a 10khz wave. The first test was to ...
Some updates- When on the rare occasion that all the data is received, the transmit complete interrupt will fire.- There is a little ringing on the signals(as measured from the ST micro input pin), but is this enough to radically effect large portion...