Search found 3 matches

by derfleznew
Sat Aug 26, 2017 1:48 am
Forum: AVR & Arduino
Topic: 16Mhz on atmegs238p
Replies: 7
Views: 4267

Re: 16Mhz on atmegs238p

We had this same issue. We used the ATMEGA328P on our board design, and use a 16 MHz clock (common). So, by trial and error, we figured out that you can manually enter 16000000. While this seems to be OK, we are having major fits with addressing a Microchip MCP9600 I2C thermocouple chip, where the c...
by derfleznew
Sat Aug 26, 2017 1:37 am
Forum: Flowcode V7
Topic: Modbus Slave Register Mapping??
Replies: 1
Views: 1049

Modbus Slave Register Mapping??

I have created a program for an ATMEGA328P, with an RS485 transciever chip tied to UART1, and need to be able to assign Modbus holding registers to Global variables, specifically for 40001+ registers that can be polled from an external Modbus Master. There is nothing anywhere I can find in FlowCode7...
by derfleznew
Sat Aug 26, 2017 12:25 am
Forum: Programming Tips & Tricks
Topic: Simple i2C - Single Byte read and Write
Replies: 2
Views: 4657

Re: Simple i2C - Single Byte read and Write

Thanks for the I2C example code. We have been having fits reliably reading I2C data from an MicroChip MCP9600 thermocouple chip. What we get is around 9 to 10 returns with missing bit 3, then a couple of good readings. Scoping this out shows strange behavior and we think the issue is with the FlowCo...