ILI9341_SPI
Moderator: Benj
ILI9341_SPI
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
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: ILI9341_SPI
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.
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.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Re: ILI9341_SPI
check again. connected to hardware SS. it doesn't work!!!
- Attachments
-
- Безымянный.jpg (132.89 KiB) Viewed 3127 times