BASCOM-AVR : (Need Help) : How to configure DS3231 RTC with AVR8535? : REPLY
Hi Haris, Can you explain a bit further, you say [quote:ddedc95fb1]"uC haven't work correctly yet"[/quote:ddedc95fb1] Is the Micro not working, or is there no display or the I2C RTC no communicating....
View ArticleBASCOM-AVR Old versions : (Need Help) : How to configure DS3231 RTC with...
Also check the battery !!
View ArticleBASCOM-AVR : I2C Problem with ATMega 168pa : NEWTOPIC
Dear all, I try to drive a MIDAS-Display (ST7032 Controller) with a ATMega 168pa. I have also two port expander and some other I2C connected with the bus. After a long sequence of trying to initialize...
View ArticleBASCOM-AVR : I2C Problem with ATMega 168pa : REPLY
the register is 0 by default/reset so TWI is enabled. do you use TWI mode (lib included???) or soft mode twi? Better to show some code!
View ArticleBASCOM-AVR : I2C Problem with ATMega 168pa : REPLY
Here is one sample. The base of this sample is from one post. I modified a little bit. So that I failed to initialize the Display, I tried to access a PCA9554 expander. I also failed and then I found...
View ArticleBASCOM-AVR : I2C Problem with ATMega 168pa : REPLY
you can simply print the value just like any other register. i advise to first run the i2cscanner from the samples . it will show all i2c devices on the bus.
View ArticleBASCOM-AVR : I2C slave and master in same chip..? : REPLY
I've tried this in all possible combinations, with or without twen, twie and twint twie 0/1 for master and so on. sub SetToSlave() twcr.twen = 0 twcr.twie = 0 twcr.twint = 1 Gosub _twi_init isMaster =...
View ArticleBASCOM-AVR : Problem with serial data transfer : REPLY
Hi Mark Alberts , many thanks for your answer , I change my code like the first post . Your second post I do not understand , I change the code in the receiving MC but I don't know the change in the...
View ArticleBASCOM-AVR : Problem with serial data transfer : REPLY
hi, i do not give complete samples, i just try to get you on your way. the Y i was missing. my point : when you start sending data like 123------456 123----456 ,how can you be sure that the receiver...
View ArticleBASCOM-AVR : I2C slave and master in same chip..? : REPLY
ahem, my comment was confusing. sub SetToMaster() twcr.0 = 0 'disable end sub sub SetToSlave() twcr.0=1 'enable end sub That way it should work. But you must switch when the bus is free. Do you use...
View ArticleBASCOM-AVR : printbin array length of a variable? : REPLY
Does Peersize really have to be a variable in your application ? Whie I can imagine cases where that might be useful, my impression is that for the very few times you might want to control the number...
View ArticleKokkeKat FAT-free SD card lib : Compatibility : NEWTOPIC
Hi Niclas, Is this FAT32 library compatible with a PC so thet the card can be read / /modified on a PC and then reinserted into the micro and used with the modified data. Regards Deanus
View ArticleBASCOM-AVR : I2C Problem with ATMega 168pa : REPLY
Dear Mark, thanks for information. The program is now working. The last days I used AVRStudio 5 with the known results. Finally I tried the same code without any changings with AVRStudio 6 and the...
View ArticleBASCOM-AVR : I2C Problem with ATMega 168pa : REPLY
maybe studio 5 programmer did not work? I have no idea. maybe a wire or setting in studio options?
View ArticleBASCOM-AVR : I2C slave and master in same chip..? : REPLY
Thanks Mark Reloading TWCR is a brilliant idea :-) How do you suggest I make sure the bus is free? Will it work by checking twcr.twint = 1 or do I also need to check the pin states of SCL SDA?
View ArticleBASCOM-AVR : I2C slave and master in same chip..? : REPLY
i think that you can simply use i2cstop for both master/slave
View ArticleBASCOM-AVR : LS7366r : NEWTOPIC
Hi I use a LS7366 encoder counter chip in non-quadrature count mode, - so no crystal. The spi data from the chip seems to be fine - hardware wise . My hardware spi setup is : cpu clock = 16 MHz Config...
View ArticleBASCOM-AVR : ATXMega128D4U : NEWTOPIC
I have not been able to find a .dat file for this chip. Can anyone help? I suspect I have to use one for another chip and modify but how and what? Peter [b:71f5be4d1e][color=red:71f5be4d1e](BASCOM-AVR...
View ArticleBASCOM-AVR : Error - Control 'dxDockErrorPanel' has no parent window : NEWTOPIC
Hello, I don't know what happens but now i can't start correctly Bascom, it show always Control 'dxDockErrorPanel' has no parent window. What can i do to fix that? Best regards toto...
View Article