Page 1 of 1
ILI9341_SPI
Posted: Thu Aug 20, 2020 5:38 pm
by ko062vvs
Hi. flowcode 8.2.2.15 there is a bug with ILI9341_spi. In channel 1 mode, the display does not start. with software everything is OK. the ili9341 software macro is also OK. Help me run ili9341 on the SPI interface. PS dividers used all possible ones. AVR frequency 16Mhz
Re: ILI9341_SPI
Posted: Fri Aug 21, 2020 9:41 am
by Benj
Hello,
With the AVR and SPI in hardware mode, ensure you are either driving the hardware SS pin as the CS pin for the display or using the SS pin as an output. If the SS pin is left as an input it can cause the SPI module to go into slave mode and lock up the device. A raster nasty feature of AVR SPI hardware.
If you don't know which pin is your SS pin then let us know which AVR you're using and I'll look it up for you.
Re: ILI9341_SPI
Posted: Fri Aug 21, 2020 10:47 am
by ko062vvs
check again. connected to hardware SS. it doesn't work!!!
Re: ILI9341_SPI
Posted: Fri Aug 21, 2020 11:40 am
by LeighM
Try setting "Toggle CS" to "Yes"
Re: ILI9341_SPI
Posted: Fri Aug 21, 2020 11:52 am
by ko062vvs
direct CS installed on GND and VCC
does not work(
Re: ILI9341_SPI
Posted: Fri Aug 21, 2020 1:30 pm
by LeighM
Have you set the AVR SS pin as an output?
Re: ILI9341_SPI
Posted: Fri Aug 21, 2020 1:47 pm
by ko062vvs
Все спасибо))) заработал)))
