Flowcode IntOsc Componet not working on Attiny84

For general Flowcode discussion that does not belong in the other sections.
Post Reply
Matrixv8
Posts: 10
http://meble-kuchenne.info.pl
Joined: Mon Jun 03, 2024 2:51 am
Been thanked: 3 times

Flowcode IntOsc Componet not working on Attiny84

Post by Matrixv8 »

Hi everyone, I would like to know why the IntOsc helper does not work with Attiny 84. I am trying to set the internal clock to 8MHZ but with no success. I am trying to not use and other programming software to do it. Can someone help?

Regards,

Pierre

medelec35
Matrix Staff
Posts: 1966
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 629 times
Been thanked: 659 times

Re: Flowcode IntOsc Componet not working on Attiny84

Post by medelec35 »

Hello.
Its not meant to work on your device.
That is because the Attiny devices have fuses that are either set via configuration settings or via the programmer.
There is no c code block to set the osc frequency
I have not used an Attiny target, but I believe you set the clock source to internal 8MHz.
Try the setting that shows default value.
Leave the clock divide by 8 to disabled, otherwise the clock will run at 1MHz instead of 8MHz
Martin

Matrixv8
Posts: 10
Joined: Mon Jun 03, 2024 2:51 am
Been thanked: 3 times

Re: Flowcode IntOsc Componet not working on Attiny84

Post by Matrixv8 »

Thank you Medelec for your help, unfortunately the clock speed in Other Option cannot be disabled in Flowcode 10. Also the default value of 8MHZ in the Write Configuration Download section does not work. It returns a message saying that, Fuses: memory type not detected. But that is okay, I will use the Arduino IDE to set the fuses. I which I could have done it with Flowcode.

Regards,
Pierre

Post Reply