I'm working on an embedded mcu that has two cores which can both see an area of memory beginning at 0x80000000.
The ADC is connected to one core and a radio is connected to another. I want to write the data value received by the ADC to this memory address so that the other core can read it.
Would somebody be able to help me figure out how to do this? The is no micro OS, it is bare metal.
Would I create a pointer to struct at a specific address?
I have two values in an array, how would I get them into the struct?
#define NUM_SAMPLES_POLLED (2) uint16_t samples_polled[NUM_SAMPLES_POLLED]