AV32 write to user page: user_page_buffer Quote://get the address of page buffer
uint32_t page_buffer_address = AVR32_FLASHC_USER_PAGE_ADDRESS;
// write the data to the upage buffer (Writing to the page buffer can only...
Wednesday, 29 June 2022 - 02:13
1x4 membrane keypad causing high current draw The pin-mapping depends on the processor,
ie, Digital-pin-1 is PD1 on the mega8/168/328, but is PE1 on the mega2560.
Have you 'told' the Arduino framework that you are using a...
Monday, 13 June 2022 - 02:22
Logic to find the exact position of the object. As has been previously stated, this is a problem with a 'state machine' solution.
The complication will be 'reality', ie. what to do when ;
- a truck is correctly positioned but...
Friday, 3 June 2022 - 23:38
Logic to find the exact position of the object. How do you get the weight ?
Is the weight-information a continuous stream from the weighbridge, or do you need to 'ask' for the current weght ?
Is there a 'weight is stable'...
Tuesday, 31 May 2022 - 23:38
[324a] Simple Serial C code, clarification needed Where do you set the mode of the pins on PORTA ?
DDRA = 0bxxxxxxxx; ?
A reset will set I/O pins to be inputs, so your PORTA = 0b11111111; will enable the internal pullup resistors...
Reading values from internal SRAM of AT32UC3B0512 Why do you need to know what the initial SRAM values are ???. The values will probably change with temperature, age, voltage, ...
Which part of the SRAM address-space do you want...
ATUC256L4U: PDCA to TWIM The Clock & Data appear to be inverted, because they should idle at close to the supply voltage.
Is the oscilloscope ground connected to the I/O ground ?
What voltage is the...
Saturday, 2 April 2022 - 05:18
Hardware Adoption Layer Isn't a HAL just a collection of 'device-drivers' with a relatively-unchanging API ?
(I always though of a HAL as a Hardware Abstraction Layer).
Quote://get the address of page buffer uint32_t page_buffer_address = AVR32_FLASHC_USER_PAGE_ADDRESS; // write the data to the upage buffer (Writing to the page buffer can only...
The pin-mapping depends on the processor, ie, Digital-pin-1 is PD1 on the mega8/168/328, but is PE1 on the mega2560. Have you 'told' the Arduino framework that you are using a...
As has been previously stated, this is a problem with a 'state machine' solution. The complication will be 'reality', ie. what to do when ; - a truck is correctly positioned but...
How do you get the weight ? Is the weight-information a continuous stream from the weighbridge, or do you need to 'ask' for the current weght ? Is there a 'weight is stable'...
Where do you set the mode of the pins on PORTA ? DDRA = 0bxxxxxxxx; ? A reset will set I/O pins to be inputs, so your PORTA = 0b11111111; will enable the internal pullup resistors...
The INTC_init_interrupts() in your portTASK_FUNCTION(,) strikes me as 'odd'. A brief look at the UC3 port of FreeRTOS shows ; - _init_startup() calls INTC_init_interrupts() and -...
Why do you need to know what the initial SRAM values are ???. The values will probably change with temperature, age, voltage, ... Which part of the SRAM address-space do you want...
I'm not certain what the compiler will do with floating-point and integer constants in uint16_t ocr1a_max = 16000000 / (64 * (1000 / 8.33)); but try a 16000000L to explicitly...
The while((SYS_I2C.sr & AVR32_TWIM_SR_TXRDY_MASK) != 1); is a problem because TXRDY is bit 1 (decimal 2) in the SR. When testing bits, test to the bit mask or to zero. eg,...
The Clock & Data appear to be inverted, because they should idle at close to the supply voltage. Is the oscilloscope ground connected to the I/O ground ? What voltage is the...
Isn't a HAL just a collection of 'device-drivers' with a relatively-unchanging API ? (I always though of a HAL as a Hardware Abstraction Layer).
.
Pages