Search found 8 matches

by maisoft
Mon Oct 15, 2018 1:38 pm
Forum: General
Topic: EEPROM exceeding 512Kbits
Replies: 5
Views: 5953

Re: EEPROM exceeding 512Kbits

Thanks for the quick and positive answers to my questions, I'm glad you gave me a solution with the readbyte module modified in SPI bus. In the case of the M24M02, I think I use E2-pin chip enable as chip select. The E2 pin of the selected device is brought down when selected. Then the logical state...
by maisoft
Thu Oct 11, 2018 3:34 pm
Forum: General
Topic: EEPROM exceeding 512Kbits
Replies: 5
Views: 5953

Re: EEPROM exceeding 512Kbits

I need to use four Eprom M24M02 or AT25M03 or equivalent. For the AT25M03 eeprom (SPI bus) I have no problem managing the Chip Select from the hardware, but I do not understand if the Swordfish SPI module manages the 24bit addresses, I searched in the documentation but I can not find useful referenc...
by maisoft
Wed Oct 10, 2018 7:33 pm
Forum: General
Topic: EEPROM exceeding 512Kbits
Replies: 5
Views: 5953

EEPROM exceeding 512Kbits

I need to use the number 4 eeprom I2C external bus from 2Mbis each of the type AT25M02 (262.144 x 8) which is very complex, or M24M02 which is very simple. In these devices the address MSB occupies two bits of the first selection byte (device selection) because it requires an amplitude of 18 bits (2...
by maisoft
Tue Sep 05, 2017 8:15 pm
Forum: Compiler
Topic: RAM size problems
Replies: 5
Views: 4013

Re: RAM size problems

Thanks for the link " ... FrameRecycling" So, if I understand, inserting instructions with many variables within sub routines or functions, ram request is optimized, ie the ram request does not increase in proportion to the number of hungry instructions. This modality of structure could solve my pro...
by maisoft
Mon Sep 04, 2017 8:33 pm
Forum: Compiler
Topic: RAM size problems
Replies: 5
Views: 4013

Re: RAM size problems

Thank you very much for the quick response. I make a premise: I started using Swordfish for six months, I'm not expert, I still have to learn a lot about using Swordfish. The programs I must develop contain few mathematical and trigonometric operations, in floating point. It's been three months that...
by maisoft
Sun Sep 03, 2017 6:58 pm
Forum: Compiler
Topic: RAM size problems
Replies: 5
Views: 4013

RAM size problems

I wrote a small program and the RAM memory was unexpected full, so I tried the causes. :?: I did some simple tests, insert or remove instances and check the size of the compiled program. This helps me understand how the functions I want to use lie in the memory space of the CPU. The processor I use ...
by maisoft
Mon Apr 24, 2017 9:21 pm
Forum: Compiler
Topic: I2C from PBP3 to Swordfish (no EEprom)
Replies: 2
Views: 3008

Re: I2C from PBP3 to Swordfish (no EEprom)

:D Thank you very much
by maisoft
Mon Apr 24, 2017 11:59 am
Forum: Compiler
Topic: I2C from PBP3 to Swordfish (no EEprom)
Replies: 2
Views: 3008

I2C from PBP3 to Swordfish (no EEprom)

For many years (2001) I used PicBasicPro and until yesterday I used PBP3 which was perfect for my projects. Now I've been to Swordfish and I'm converting PBP3 programs into Swordfish Swordfish is more powerful and more suitable for my new exegesis, in mariculture math is very interesting. Unfortunat...