View previous topic :: View next topic |
Author |
Message |
Darkcoder
Joined: 06 Dec 2005 Posts: 3
|
Posted: Wed Oct 31, 2018 10:28 am Post subject: Extended SPI |
|
|
Hello everyone!
Does anyone manage to make the SPI extended mode work under 2.0.8.1 version?
I'm trying to config the SPI but it doesn't recognize it.
I'm using hard SPI and avr328 controller
Thank you
(BASCOM-AVR version : 2.0.8.1 , Latest : 2.0.8.1 ) |
|
Back to top |
|
|
albertsm
Joined: 09 Apr 2004 Posts: 5913 Location: Holland
|
Posted: Wed Oct 31, 2018 10:38 am Post subject: |
|
|
i can not find any info in the data sheet about extended mode. so it is not really clear what you refer to.
exactly where is this mode documented? _________________ Mark |
|
Back to top |
|
|
Darkcoder
Joined: 06 Dec 2005 Posts: 3
|
|
Back to top |
|
|
albertsm
Joined: 09 Apr 2004 Posts: 5913 Location: Holland
|
Posted: Wed Oct 31, 2018 10:51 am Post subject: |
|
|
ok, so this is not a real SPI option but a bascom option. it should work while compiling. but the dat files seems to be missing this option. i will have it checked. _________________ Mark |
|
Back to top |
|
|
albertsm
Joined: 09 Apr 2004 Posts: 5913 Location: Holland
|
Posted: Wed Oct 31, 2018 10:59 am Post subject: |
|
|
i had another look. the dat file is ok. but this option seems to be implemented for soft spi only. it could be the help file is wrong, or that the config option is missing for hardware. i will sort it out and let you know. _________________ Mark |
|
Back to top |
|
|
albertsm
Joined: 09 Apr 2004 Posts: 5913 Location: Holland
|
Posted: Wed Oct 31, 2018 11:07 am Post subject: |
|
|
this is a bug : both software and HW SPI (first channel) should support this mode. but the code for supporting this was put at the wrong place with the effect that only SOFT SPI (and xmega) support it. I have changed it for 2082. _________________ Mark |
|
Back to top |
|
|
Darkcoder
Joined: 06 Dec 2005 Posts: 3
|
Posted: Wed Oct 31, 2018 11:30 am Post subject: |
|
|
Thank you very much! So if i want to use extended mode at the moment it works only at softspi?
Do you have any plan about the release of next update? |
|
Back to top |
|
|
albertsm
Joined: 09 Apr 2004 Posts: 5913 Location: Holland
|
Posted: Wed Oct 31, 2018 11:37 am Post subject: |
|
|
you need to use either software spi or xmega in the current release.
we do not give release dates. _________________ Mark |
|
Back to top |
|
|
|