Atxmega - ILI9341
Moderator: Benj
Atxmega - ILI9341
Hello
the problem is the slow download of ili9341 25-30 seconds.
atmega - fast
stm - fast
atxmega - slowly.
Is it a feature of atxmega?
What can I do?
Checked in the 'iron', the simulation is all right.
the problem is the slow download of ili9341 25-30 seconds.
atmega - fast
stm - fast
atxmega - slowly.
Is it a feature of atxmega?
What can I do?
Checked in the 'iron', the simulation is all right.
- Attachments
-
- ILI9341_ATXmega.fcfx
- (8.61 KiB) Downloaded 172 times
- 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: Atxmega - ILI9341
Hello,
Have you tried the 1 second flasher test on the ATXMEGA to confirm it is running at the speed you think it is.
https://www.matrixtsl.com/wiki/index.ph ... ED_flasher
Have you tried the 1 second flasher test on the ATXMEGA to confirm it is running at the speed you think it is.
https://www.matrixtsl.com/wiki/index.ph ... ED_flasher
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: Atxmega - ILI9341
Checked
changed the frequency in general options, led flashes on
Different. 1mhz faster than 20mhz slowly
included as in the project, the blinking of the led depends on
ili9341. Turned off the ili9341 componet, led flashes depending on the frequency exhibited.
The ili9341 component delays execution,
as if the delay is set.
changed the frequency in general options, led flashes on
Different. 1mhz faster than 20mhz slowly
included as in the project, the blinking of the led depends on
ili9341. Turned off the ili9341 componet, led flashes depending on the frequency exhibited.
The ili9341 component delays execution,
as if the delay is set.
- Attachments
-
- ILI9341_ATXmega.fcfx
- (10.02 KiB) Downloaded 153 times
- 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: Atxmega - ILI9341
Hello,
It sounds like the micro is running a lot slower then you think it is. Are you using a crystal or are you using the internal oscillator. How are you setting the config bits of the device, maybe these need changing?
It sounds like the micro is running a lot slower then you think it is. Are you using a crystal or are you using the internal oscillator. How are you setting the config bits of the device, maybe these need changing?
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: Atxmega - ILI9341
There is no external quartz
I thought the internal RC generator is enabled software.
Insert on C? what would include an internal RC?
In project options, the configuration is empty.
I thought the internal RC generator is enabled software.
Insert on C? what would include an internal RC?
In project options, the configuration is empty.
- 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: Atxmega - ILI9341
Hello,
It looks like the default internal oscillator is set to 2MHz. It also looks lik eyou can change to a 32MHz clock but it looks like it's more then a single line of code.
Refer to section 7 in the datasheet here for more information.
http://ww1.microchip.com/downloads/en/D ... oc8077.pdf
Let us know how you're getting on.
It looks like the default internal oscillator is set to 2MHz. It also looks lik eyou can change to a 32MHz clock but it looks like it's more then a single line of code.
Refer to section 7 in the datasheet here for more information.
http://ww1.microchip.com/downloads/en/D ... oc8077.pdf
Let us know how you're getting on.
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: Atxmega - ILI9341
Benj
Hello,
Found the code to turn on the internal generator
I ask you to look and listen to the advice.
It works fast.
I found another site where the inclusion of external quartz is described, I will study, I will write a check.
Hello,
Found the code to turn on the internal generator
I ask you to look and listen to the advice.
It works fast.
I found another site where the inclusion of external quartz is described, I will study, I will write a check.
- Attachments
-
- ILI9341_ATXmega.fcfx
- (10.61 KiB) Downloaded 173 times
Re: Atxmega - ILI9341
Hello,
Please let us know what you think about Box C. Your advice is needed.
In a project, two timers in one cycle slow down
Program execution. As if insert C is not working.
Sorry for the translation.
Please let us know what you think about Box C. Your advice is needed.
In a project, two timers in one cycle slow down
Program execution. As if insert C is not working.
Sorry for the translation.
Re: Atxmega - ILI9341
Another C code.
Works.
Works.
- Attachments
-
- ILI9341_ATXmega.fcfx
- (11.35 KiB) Downloaded 168 times